e0 ip : 192.168.30.3/24
bri0 ip :unnumbered e0
拨号分配ip:192.168.30.2
Now create configuration...
Current configuration
!
version 1.5.6
user xiaojiao service-type ppp passWord 0 xiaojiao
user test service-type ppp password 0 test
dialer-list 1 protocol ip permit
hostname hzfy
!
interface Aux0
async mode interactive
encapsulation ppp
!
interface Ethernet0
speed auto
duplex auto
no loopback
ip address 192.168.30.3 255.255.255.0
!
interface Ethernet1
speed auto
duplex auto
no loopback
!
interface Bri0
encapsulation ppp
ppp authenticationpap
ppp multilink
peer default ip address 192.168.30.2
ip unnumberedEthernet0
dialer in-band
dialer-group 1
!
interface Bri1
encapsulation ppp
dialer in-band
!
interface Bri2
encapsulation ppp
dialer in-band
!
interface Bri3
encapsulation ppp
dialer in-band
!
end
问题:拨号成功后,拨号的pc能ping通3680e上的e0(192.168.30.3)
但ping不通与e0口连接的LAN其他机器.
解决办法:因为在bri上借用了e0的ip地址,因此要在e0口上配置ip proxy-arp,同时加一条静态路由:ip route 192.168.30.2 255.255.255.255 bri 0