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,转载请附上原文出处链接
发表评论