首页 > 学院 > 网络通信 > 正文

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

2019-11-04 20:34:31
字体:
来源:转载
供稿:网友

  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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表