The objective of this lab exercise is for you to learn how to configure PPP over an Ethernet link.
PPP over Ethernet (PPPoE) emulates a point-to-point link across a shared medium such as DSL, but in this case, we will run it over Ethernet. This is normally used in connections from SoHo network to the ISP. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to implement PPPoE functionality.
This lab is suitable for ICND2 and CCNA certification exam preparation.
This lab has a difficulty rating of 8/10.
When you are ready for your certification exam, you should complete this lab in no more than 20 minutes.
Please use the following topology to complete this lab exercise:
Configure hostnames on R1 and R2 as illustrated in the topology.
Configure R1 as a PPPoE server with the following settings:
- The broadband aggregation group will be named MyPPPoEGroup;
- A virtual-template interface number 1 must be created and assigned with an IP address of 192.168.10.1/24;
- Create an IP pool named PPPoE for the same 192.168.10.0/24 subnet; and
- Assign the interface Gig0/0 to this PPPoE group.
Configure R2 as a PPPoE client with the following settings:
- Create a dialer interface numbered 1;
- The encapsulation protocol must be PPP;
- It should obtain an IP address dynamically; and
- The MTU of the interface must be 1492 to avoid unneeded fragmentation.
Issue the appropriate show commands to check that the interface is up. Ping across the link and issue appropriate PPPoE show commands.
Configuration and Verification
For reference information on configuring hostnames, please refer to earlier labs.
R1#conf t Enter configuration commands, one per line. End with CTRL/Z. R1(config)#bba-group pppoe MyPPPoEGroup R1(config-bba-group)#virtual-template 1 R1(config-bba-group)#exit R1(config)#int virtual-template 1 R1(config-if)#ip address 192.168.10.1 255.255.255.0 R1(config-if)#peer default ip address pool PPPoE R1(config)#ip local pool PPPoE 192.168.10.2 192.168.10.254 R1(config)#int g0/0 R1(config-if)#no ip address R1(config-if)#pppoe enable group MyPPPoEGroup R1(config-if)#no shut
R2#config t Enter configuration commands, one per line. End with CTRL/Z. R2(config)#interface dialer 1 R2(config-if)#dialer pool 1 R2(config-if)#encapsulation ppp R2(config-if)#ip address negotiated R2(config-if)#mtu 1492 R2(config-if)#interface g0/0 R2(config-if)#pppoe-client dial-pool-number 1 R2(config-if)#no shut
R2#sh ip int brief | exclude unassigned Interface IP-Address OK? Method Status Protocol Dialer1 192.168.10.2 YES IPCP up up R2# R2#ping 192.168.10.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 40/56/68 ms