Quantcast
Channel: Chris – Wendell's CCNA Skills Blog
Viewing all articles
Browse latest Browse all 91

PPP over Ethernet 2

$
0
0

Configuring PPPoE may seem scary, but it is not too hard from a practical sense. The complex part is understanding each command, and the even more complex part is connecting the configuration to the underlying ideas shown in the related show commands. But the first step is mastering the configuration, and this lab helps with that first step. This lab lets you choose the client-side PPPoE configuration, and gives you another rep on getting good at that config.

Requirements

This lab assumes that you might want to try this lab exercise on your own gear, VIRL, or on a simulator. To that end, the lab can use a crossover cable between the router acting as the PPPoE client router and the ISP router. These two routers would normally sit in different buildings, one owned by the customer and one owned by the ISP, with DSL or some other technology for an Internet access link between the routers. In a lab, to test the PPPoE configuration, the two routers just use an Ethernet link.

For this lab, build a client-side PPPoE configuration to match the following requirements. You do not need to worry about the ISP configuration at all, but it is listed in Example 1 for reference. The specific rules for this lab – all for the client router – are as follows:

  • Use the Dialer 20 interface
  • Use the Dialer Pool number 10
  • Configure the client to dynamically learn it’s IPv4 address on the PPPoE link using PPP protocols (it should learn 198.51.100.101 if you try this in lab, per the ISP router’s initial configuration)
  • Configure the MTU to a value that considers the extra PPPoE headers
  • Use the ‘Cert’ Authentication hostname and ‘Skills’ Authentication password. (The username/password combination is pre-configured; see Example 2 in this post.)
  • Configure a default route using the Dialer 20 interface as the outgoing interface
  • Assume all device interfaces shown in the lab are up, working and with correct IP addresses assigned (except for the Client interface connecting to the ISP).

Figure 1: Typical Lab Network for Testing PPPoE Configurations

 

Initial Configuration

Examples 1 and 2 show the beginning configuration state of ISP and Client devices.

Example 1: ISP Config

hostname ISP
!
username Cert password Skills
!
bba-group pppoe PPPoE_Group
 virtual-template 1
!
interface GigabitEthernet0/1
 pppoe enable group PPPoE_Group
 no shutdown
!
interface Virtual-Template1
 ip address 198.51.100.1 255.255.255.0
 peer default ip address pool PPPoETest
 ppp authentication chap callin
!
ip local pool PPPoETest 198.51.100.101 198.51.100.105

Example 2: Client Config

hostname Client
!
interface GigabitEthernet0/1
 no shutdown
!
interface GigabitEthernet0/2
 ip address 10.10.10.1 255.255.255.0
 no shutdown

 

Answer on Paper, or Maybe Test in Lab

Next, write your answer on paper. Or if you have some real gear, or other tools, configure the lab with those tools.

To test your solution, if you happen to try it with VIRL or real gear, you can verify the configuration and operation of the dialer interface by issuing the show interfaces dialer 10 command, you can verify the connectivity to the ISP by using the ping 192.0.2.1 command. Also, on the client, try: show interfaces virtual-access 10, show interfaces virtual-access 10 configuration, and show pppoe session.

 

Do this Lab with Cisco’s VIRL

You can do these labs on paper and still get a lot out of the lab. As an extra help, we have added files for the Virtual Internet Routing Lab (VIRL) software as well. The .VIRL file found here is a file that when used with VIRL will load a lab topology similar to this lab’s topology, with the initial configuration shown in the lab as well. This section lists any differences between the lab exercise and the .VIRL file’s topology and configuration.

Download this lab’s VIRL file!

The VIRL topology matches this lab topology exactly.


Viewing all articles
Browse latest Browse all 91

Trending Articles