PPPOE配置
2023-06-20 09:11:19 阅读次数:74
简单拓扑
客户端配置
[R1]dialer-rule
[R1-dialer-rule]dia
[R1-dialer-rule]dialer-r
[R1-dialer-rule]dialer-rule ?
INTEGER<1-128> Dialer-rule number
[R1-dialer-rule]dialer-rule 10 ip per
[R1]interface Dialer 1
[R1-Dialer1]link-protocol ppp
[R1-Dialer1]ip address ppp-negotiate
[R1-Dialer1]ppp pap local-user hcip password cipher 123
[R1-Dialer1]dialer user hcip
[R1-Dialer1]dialer-group 10
[R1-Dialer1]dialer bundle 2
[R1-GigabitEthernet0/0/0]pppoe-client dial-bundle-number 2
[R1]ip route-static 0.0.0.0 0 Dialer 1
服务端配置
[R2]aaa
[R2-aaa]local-user hcip password cipher 123
[R2-aaa]local-user hcip service-type ppp
[R2]ip pool 1
[R2-ip-pool-1]network 201.1.1.0 mask 255.255.255.0
[R2-ip-pool-1]gateway-list 201.1.1.1
[R2-ip-pool-1]dns-list 114.114.114.114 8.8.8.8
[R2]int Virtual-Template 1
[R2-Virtual-Template1]ppp authentication-mode pap
[R2-Virtual-Template1]remote address pool 1
[R2-Virtual-Template1]ip address 201.1.1.2 255.255.255.0
[R2-GigabitEthernet0/0/0]pppoe-server bind virtual-template 1
参考拓扑
链接: https://pan.baidu.com/s/1-8qOrcIX1BsO4V3nyxQtHA 提取码: hcip
版权声明:本文内容来自第三方投稿或授权转载,原文地址:https://blog.51cto.com/u_11726705/6143323,作者:You0tech,版权归原作者所有。本网站转在其作品的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如因作品内容、版权等问题需要同本网站联系,请发邮件至ctyunbbs@chinatelecom.cn沟通。
上一篇:基于MUI+Flask+MongoDB+HBuilderX的APP登录系统以及个人中心变量显示
下一篇:303_Spark Core:Apache日志分析