地址借用的小问题(老命令行)

王朝other·作者佚名  2008-05-19
宽屏版  字体: |||超大  

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 authentication

pap

ppp multilink

peer default ip address 192.168.30.2

ip unnumbered

Ethernet0

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有