• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

新版CCNP新增热点配置大放送之一(ADSL PPPoE配置案例)

mysql 搞代码 4年前 (2022-01-09) 29次浏览 已收录 0个评论

2514#sh run Building configuration… Current configuration : 982 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname p2r3 ! ! ip subnet-zero ! vpdn enable(开启vpdn

  2514#sh run
  Building configuration…
  
  Current configuration : 982 bytes
  !
  version 12.2
  service timestamps debug uptime
  service timestamps log uptime
  no ser本文来源gaodai#ma#com搞@@代~&码网vice password-encryption
  !
  hostname p2r3
  !
  !
  ip subnet-zero
  !
  vpdn enable(开启vpdn)
  !
  vpdn-group tyl
  request-dialin
   protocol pppoe(启用pppoe协议)
  !
  !
  !
  !
  interface Ethernet0
  no ip address
  pppoe enable
  pppoe-client dial-pool-number 1(将物理端口和虚拟拨号端口绑定)
  !
  interface Ethernet1
  ip address 192.168.1.254 255.255.255.0
  ip nat inside
  !
  interface Dialer1
  ip address negotiated
  ip mtu 1492   (将原来的mtu1500变为1492,因pppoe 的包头是8个字节)
  ip nat outside
  encapsulation ppp
  dialer pool 1 (通过拨号池,将物理端口和虚拟拨号端口绑定)
  ppp pap sent-username ******@163.gd password 0 ******(ppp pap的单向验证)
  
  !
  ip nat inside source list 1 interface Dialer1 overload(NAT转换)
  ip classless
  ip route 0.0.0.0 0.0.0.0 Dialer1(设置静态路由)
  ip http server
  ip pim bidir-enable
  !
  !
  access-list 1 permit 192.168.1.0 0.0.0.255
  
  !
  !
  line con 0
  exec-timeout 0 0
  logging synchronous
  line aux 0
  line vty 0 4
  !
  end
  
  
  


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:新版CCNP新增热点配置大放送之一(ADSL PPPoE配置案例)
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址