PPPoE constructs a virtual dialler interface to create a PPPoE session. This is similar to PPP over serial except that the frames are encapsulated in Ethernet frames.
When diagnosing problems with PPPoE keep in mind that the dialler interface and the physical interface are separate configuration.
See Chapter 15 in the CCNA R&S 200-105 Official Cert guide.
To configure PPPoE on the client:
! interface Ethernet0/0 mac-address 0200.0000.0011 no ip address pppoe enable group global pppoe-client dial-pool-number 1 ! interface Dialer2 mtu 1492 ip address negotiated encapsulation ppp dialer pool 1 ppp chap hostname clinetworking ppp chap password 0 cisco !
To configure a server (for lab work):
username clinetworking password 0 cisco ! bba-group pppoe WOGroup virtual-template 1 ! interface Ethernet0/0 mac-address 0200.0000.0022 no ip address pppoe enable group WOGroup ! interface Virtual-Template1 ip address 10.1.3.1 255.255.255.0 peer default ip address pool WOPool ppp authentication chap callin ! ip local pool WOPool 10.1.3.2 10.1.3.254 ip forward-protocol nd !
To troubleshoot PPPoE use the following commands:
Router#show pppoe session 1 client session Uniq ID PPPoE RemMAC Port VT VA StateSID LocMAC VA-st Type N/A 2 0200.0000.0022 Et0/0 Di2 Vi2 UP 0200.0000.0011 UP Router#show int dial Router#show int dialer 2 Dialer2 is up, line protocol is up (spoofing) Hardware is Unknown Internet address is 10.1.3.3/32 MTU 1492 bytes, BW 56 Kbit/sec, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation PPP, LCP Closed, loopback not set Keepalive set (10 sec) DTR is pulsed for 1 seconds on reset Interface is bound to Vi2 Last input never, output never, output hang never Last clearing of "show interface" counters 00:19:52 Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 37 packets input, 3150 bytes 199 packets output, 5430 bytes Bound to: Virtual-Access2 is up, line protocol is up Hardware is Virtual Access interface MTU 1492 bytes, BW 56 Kbit/sec, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation PPP, LCP Open Stopped: CDPCP Open: IPCP PPPoE vaccess, cloned from Dialer2 Vaccess status 0x44, loopback not set Keepalive set (10 sec) Interface is bound to Di2 (Encapsulation PPP) Last input 00:00:07, output never, output hang never Last clearing of "show interface" counters 00:13:51 Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 193 packets input, 4910 bytes, 0 no buffer Received 0 broadcasts (0 IP multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 188 packets output, 4653 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 unknown protocol drops 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions Router#show int e0/0 Ethernet0/0 is up, line protocol is up Hardware is AmdP2, address is 0200.0000.0011 (bia aabb.cc00.0100) MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:40, output 00:00:01, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 285 packets input, 28727 bytes, 0 no buffer Received 65 broadcasts (0 IP multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 402 packets output, 40605 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 13 unknown protocol drops 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out