思科路由PPPOE基本配置
生活随笔
收集整理的这篇文章主要介绍了
思科路由PPPOE基本配置
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
思科PPPOE基本配置 用思科路由怎样配置PPPOE,自动拨号上网 1、第一步:首先要配置VPDN组 R1(config)#vpdn enable R1(config)#vpdn-group 1 R1(config-vpdn)#request-dialin R1(config-vpdn-req-in)#protocol pppoe 2、第二步:配置路由器连接ADSL MODEM的接口 R1(config)#int f0/0在这里我以F0/0端口为例,是从这个端口和MODEM连接 R1(config-if)#no ip address无IP地址 R1(config-if)#pppoe enable允许以太接口运行PPPOE R1(config-if)#pppoe-client dial-pool-number 1将以太接口的PPPOE客户端加入拨号池1 3、第三步:配置逻辑接口 R1(config)#int dialer 1进入逻辑接口,以1为例(接口范围0~255之间) R1(config-if)#ip address negotiated 从ADSL服务商动态协商得到IP地址 R1(config-if)#ip mtu 1492 设置IP数据包的MTU值,这里很重要,默最小为128,1429为最大的 R1(config-if)#ip tcp adjust-mss 1450 R1(config-if)#ip nat outside为接口启用NAT R1(config-if)#encapsulation ppp为该接口封装PPP协议 R1(config-if)#dialer pool 1接口使用1号池拨号 R1(config-if)# ppp authentication pap callin启用PPP PAP验证 R1(config-if)#ppp pap sent-username xxxx password xxxx使用你申请到的用户 和密码 4、第四步:配置内部网络接口 R1(config-if)#int f0/1 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#ip nat inside
转载于:https://blog.51cto.com/3502539/966577
总结
以上是生活随笔为你收集整理的思科路由PPPOE基本配置的全部内容,希望文章能够帮你解决所遇到的问题。