Wednesday 5 August 2009

PPPoE

Well having already done PPP Over ISDN here and PPP Over Frame Relay here

I thought it was about time I did PPP Over Ethernet.

So here we go...

This is a picture of the lab:




As you can see from the picture the link between R1 and R5 is a PPPoE connection.

This is how I did it:
R5 (PPPoE Client)

interface Ethernet0
no ip address
pppoe enable
pppoe-client dial-pool-number 1
!


Then on the dialer:

interface Dialer0
mtu 1492
ip address negotiated
encapsulation ppp
dialer pool 1
!


R1
PPPoE Server

1) Define a BBA group and link it to a virtual template:

bba-group pppoe R5
virtual-template 1
sessions per-mac limit 2
!


Setup the Virtual Template:

interface Virtual-Template1
ip address 10.0.15.1 255.255.255.0
peer default ip address pool R5POOL
!


Define the above pool:

ip local pool R5POOL 10.0.15.5


Only need one IP so its a shallow pool :)

Link it all back to the interface facing R5:

interface Ethernet1/0
no ip address
half-duplex
pppoe enable group R5
!


Done!

No comments: