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
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。