PPPOE原理与配置
- 实验拓扑图
- 实现步骤
-
- 家庭网关 AR201
- PPPOE客户端( ISP光猫)
- PPPOE服务器(ISP路由器)
实验拓扑图

实现步骤
家庭网关 AR201
- E0/0/0-7为LAN口(二层接口)
- E0/0/8为WAN口(三层接口)
sysname GW
dhcp enable
acl number 2000
rule 5 permit
interface Vlanif1
ip address 192.168.110.1 255.255.255.0
dhcp select interface
interface Ethernet0/0/8
nat outbound 2000
ip address dhcp-alloc
PPPOE客户端( ISP光猫)
sysname ISPModem
dhcp enable
acl number 2000
rule 5 permit
interface Dialer1
link-protocol ppp
ppp chap user wml
ppp chap password cipher wml
ip address ppp-negotiate
dialer user wml
dialer bundle 100
nat outbound 2000
interface GigabitEthernet0/0/0
pppoe-client dial-bundle-number 100
interface GigabitEthernet0/0/1
ip address 192.168.0.1 255.255.255.0
dhcp select interface
ip route-static 0.0.0.0 0.0.0.0 Dialer1
查看有没有获取到正确的IP地址

PPPOE服务器(ISP路由器)
sysname ISP
ip pool PPPOE
gateway-list 100.1.1.1
network 100.1.1.0 mask 255.255.255.0
aaa
domain wml
local-user wml password cipher wml
local-user wml service-type ppp
interface Virtual-Template0
ppp authentication-mode chap
remote address pool PPPOE
ip address 100.1.1.1 255.255.255.0
interface GigabitEthernet0/0/0
pppoe-server bind Virtual-Template 0
interface LoopBack0
ip address 114.114.114.114 255.255.255.255