本配置的服务端与客户端均基于eNSP中的AR3260

首先是PPPoE的Server端

ip pool test
gateway-list 110.1.1.254
network 110.1.1.0 mask 24
quit
int virtual-Template 1
ppp authentication-mode chap
remote address pool test
ip address 110.1.1.254 24
quit

int g0/0/1
pppoe-server bind virtual-template 1
quit

aaa
local user rohdea password cipher rohdea123
local user rohdea service-type ppp
quit

然后是PPPoE的Client端

dialer-rule
dialer-rule 1 ip permit
quit

int Dialer 1
link-protocol ppp
ppp chap user rohdea
ppp chap password cipher rohdea123
ip address ppp-negotiate
dialer user user1
dialer bundle 1
dialer-group 1
quit

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