经过上一篇关于PPPoE工作过程的了解,大致对PPPoE有了一定的了解,今天通过华为路由器配置PPPoE Server和PPPoE Clinet的案例,一方面来掌握PPPoE的具体配置,同时,通过抓包来验证之前关于PPPoE的工作流程。
拓扑图
配置步骤
在华为路由器上PPPOE服务器的配置
1、地址池配置[PPPOE Server]ip pool pppoe
[PPPOE Server-ip-pool-pppoe]network 123.1.1.0 mask 24
[PPPOE Server-ip-pool-pppoe]dns-list 114.114.114.114
[PPPOE Server-ip-pool-pppoe]gateway-list 123.1.1.1
2、配置虚拟模板[PPPOE Server]interface Virtual-Template 1
[PPPOE Server-Virtual-Template1]ppp authentication-mode chap
[PPPOE Server-Virtual-Template1]ip address 123.1.1.1 24
[PPPOE Server-Virtual-Template1]remote address pool pppoe
3、接口调用[PPPOE Server]interface GigabitEthernet 0/0/0
[PPPOE Server-GigabitEthernet0/0/0]pp