华为路由器PPPoE配置
作者:互联网
拓扑:
PPPoE服务器端的配置:
1)设置全局的用户名和密码用于认证
aaa
local-user qytang password cipher Huawei
local-user qytang service-type ppp
2)配置地址池,用于分发地址
ip pool PPPoE1
network 202.100.1.0 mask 255.255.255.0
dns-list 114.114.114.114
3)配置虚拟模版和调用模版
interface Virtual-Template1
ppp authentication-mode chap
remote address pool PPPoE1
ip address 202.100.1.254 255.255.255.0
4)接口调用模版
interface GigabitEthernet0/0/0
pppoe-server bind Virtual-Template 1
客户端配置:
[RTA]dialer-rule
[RTA-dialer-rule]dialer-rule 1 ip permit—允许所有IP报文转发
[RTA-dialer-rule]quit
[RTA]interface dialer 1
[RTA-Dialer1]dialer user enterprise---该用户名不用于认证,是标识作用以及和dialer绑定
[RTA-Dialer1]dialer-group 1
[RTA-Dialer1]dialer bundle 1
[RTA-Dialer1]ppp chap user qytang
[RTA-Dialer1]ppp chap password cipher Huawei
[RTA-Dialer1]ip address ppp-negotiate
[RTA]interface GigabitEthernet 0/0/1
[RTA-GigabitEthernet0/0/1]pppoe-client dial-bundle-number 1
[RTA-GigabitEthernet0/0/1]quit
[RTA]ip route-static 0.0.0.0 0 dialer 1
验证:
标签:RTA,ip,dialer,华为,Dialer1,user,ppp,PPPoE,路由器 来源: https://blog.51cto.com/3965485/2366806