HCIP-PPPoE实验 文章目录一、拓扑图二、需求三、步骤1.配置IP2.PPPoE Server3.PPPoE Client四、测试一、拓扑图二、需求内网设备通过PPPoE可访问广域网三、步骤1.配置IPR1[R1-GigabitEthernet0/0/1]ip address 192.168.1.254 24R2[R2-LoopBack0]ip address 1.1.1.1 24PC1PC22.PPPoE Server配置AAA认证平台[R2]aaa [R2-aaa]local-user aa password cipher 123456 [R2-aaa]local-user aa service-type ppp配置地址池[R2]ip pool PPPoE_pool [R2-ip-pool-PPPoE_pool]network 12.0.0.0 mask 24 [R2-ip-pool-PPPoE_pool]gateway-list 12.0.0.2配置Virtual Template[R2]interface Virtual-Template 1 [R2-Virtual-Template1]ppp authentication-mode chap [R2-Virtual-Template1]ip address 12.0.0.2 24 [R2-Virtual-Template1]remote address pool PPPoE_pool在以太网口启动PPPoE Server[R2-GigabitEthernet0/0/0]pppoe-server bind virtual-template 13.PPPoE Client配置Dialer接口[R1]interface Dialer1[R1-Dialer1]dialer user aa[R1-Dialer1]dialer bundle1#配置ppp认证[R1-Dialer1]ppp chap user aa[R1-Dialer1]]ppp chap password cipher123456#配置IP地址由对端分配[R1-Dialer1]ip address ppp-negotiate建立PPP会话[R1]interface g0/0/0 [R1-GigabitEthernet0/0/0]pppoe-client dial-bundle-number 1配置NAT使内网用户可以上网Easy IP配置[R1]acl 2000 [R1-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255 [R1]interface Dialer 1 [R1-Dialer1]nat outbound 2000配置到PPPoE Server的静态路由[R1]ip route-static 0.0.0.0 0 Dialer 1四、测试