HCIP-6.7 PPPoE配置

数通

PPPoE客户端配置:

acl 2001
 rule permit source 192.168.0.0 0.0.255.255
 #
int Dialer 1
 link-protocol ppp
 ip address ppp-negotiate
 ppp pap local-user orcy password simple 123456
 dialer user orcy
 dialer bundle 2
 nat outbound 2001
 # 用户名 orcy 密码 123456
 #

int g0/0/2
 pppoe-client dial-bundle-number 2

缺省路由:

ip route-s 0.0.0.0 0 dialer 1 preference 85
                              # 备份线路,优先级默认60

PPPoE服务端配置:

电信R2:

# 1.IP地址
ip pool 1
 network 12.1.1.0 mask 24
 gateway-list 12.1.1.2
 #
aaa
 # 2.用户名密码
 local-user orcy password cipher 123456
 local-user orcy service-type ppp

# 3.虚拟拨入接口
int Virtual-template 1
 ppp authentication-mode pap
 remote address pool 1
 ip add 12.1.1.2 24
 #
int g0/0/0
 pppoe-server bind Virtual-template 1

PPPoE客户端优化:

int dialer 1
 mtu 1492
版权声明:本文为下一朵云发布文章,转载请附上原文出处链接和本声明。
本文链接:https://www.orcy.net.cn/3917.html

​ 广告:HCIE-Security认证课程辅导资料(付费)

暂无评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注