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

26xxpppoeclient&nat

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

  version 12.2
  
  hostname 26xx
  !
  !
  vpdn enable
  !
  vpdn-group PPPoE
  request-dialin
  PRotocol pppoe
  !
  
  interface FastEthernet0/0
  ip address 10.1.1.1 255.255.255.0
  ip nat inside
  duplex auto
  speed auto
  
  !
  
  interface FastEthernet0/1
  no ip address
  speed 10
  half-duplex
  pppoe enable
  pppoe-client dial-pool-number 1
  
  !
  
  interface Dialer1
  mtu 1492
  ip address negotiated
  ip nat outside
  encapsulation ppp
  no ip mroute-cache
  dialer pool 1
  dialer-group 1
  no cdp enable
  ppp authentication pap callin
  ppp pap sent-username xxxxx
  
  !
  
  ip nat inside source list 1 interface Dialer1 overload
  ip classless
  ip route 0.0.0.0 0.0.0.0 Dialer1 permanent
  no ip http server
  ip pim bidir-enable
  !
  access-list 1 permit any
  dialer-list 1 protocol ip permit
  !
  line con 0
  line aux 0
  line vty 0 4
  passWord xxxxxxx
  login
  !
  end

上一篇:接口速率标准

下一篇:ppp学习笔记

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