Who doesn’t need a little PPPoE love in their day

Who doesn’t need a little PPPoE love in their day

Sharing is caring!

In the following blog I will be configuring PPPoE with the constraints in the drawing.  Included are the initial requirements and a drawing.  I have also done some packet captures utilizing wireshark in order to demonstrate some of the more significant packets such as PADI and PADO.

 

R1 Configuration

R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip local pool TEMP 10.1.1.10 10.1.1.254
R1(config)#interface virtual-template 2
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#peer default ip address pool TEMP
R1(config-if)#exit
R1(config)#bba-group pppoe GROUP1
R1(config-bba-group)#
*Oct 29 20:23:55.893: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to up
R1(config-bba-group)#
*Oct 29 20:23:55.893: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to up
R1(config-bba-group)#virtual-template 2
R1(config-bba-group)#exit
R1(config)#interface ethernet 0/0
R1(config-if)#pppoe enable group GROUP1
R1(config-if)#mac-address 0000.1111.1111
R1(config-if)#no shutdown
R1(config-if)#end

 

R2 Configuration

R2#config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#interface dialer 5
R2(config-if)#encapsulation ppp
R2(config-if)#ip address negotiated
R2(config-if)#dial pool 5
R2(config-if)#interface ethernet 0/0
R2(config-if)#pppoe-client dial-pool-number 5
R2(config-if)#mac-address 0000.2222.2222
R2(config-if)#no shut

Router outputs after interfaces were brought up

R1#
*Oct 29 20:26:44.603: %SYS-5-CONFIG_I: Configured from console by console
R1#
*Oct 29 20:26:44.639: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Oct 29 20:26:45.648: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
R1#
% 10.1.1.0 overlaps with Virtual-Template2
% 10.1.1.0 overlaps with Virtual-Template2

R2(config-if)#
*Oct 29 20:26:44.069: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Oct 29 20:26:45.077: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
R2(config-if)#end

Verification

R2#show ip interface brief
Interface              IP-Address      OK?             Method            Status                Protocol
Ethernet0/0        unassigned       YES             NVRAM          up                        up
***output omitted*****
Dialer5                   10.1.1.10         YES              IPCP                up                       up
Virtual-Access1    unassigned      YES              unset               up                       up

R2#ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/4/5 ms
R2#

SHOW PPPOE SESSION OUTPUTS

 

I also did a wireshark capture and you can see the process of PPPoE packets.  I marked in Red the different message types.   I used the Mac-Addresses of 0000.1111.1111 and 0000.2222.2222 in order to make it easy to see who the sender and receiver is.  1111 is the Server and 2222 is the Receiver.

Here is the PPPoE Request Packet.  Notice it is under IP Control Protocol Portion

 

Which is followed by an ACK.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *