====== PPPoE ======
===== PPPoE Server =====
ip local pool WOPool 10.1.3.2 10.1.3.254
bba-group pppoe WOGroup
virtual-template 1
!
username Fred password Barney
!
interface virtual-template 1
ip address 10.1.3.1 255.255.255.0
peer default ip address pool WOPool
ppp authentication chap callin
!
interface GigabitEthernet0/2
no ip address
pppoe enable group WOGroup
no shutdown
mac-address 0200.0000.0022
===== PPPoE Client =====
interface dialer 2
! Layer 3 details next
ip address negotiated
mtu 1492
! Layer 2 details next
encapsulation ppp
ppp chap hostname Fred
ppp chap password Barney
! Layer 1 details next
dialer pool 1
! Physical interface – the one connected towards the ISP
interface G0/1
no ip address
! Physical link has no layer 3 address
pppoe-client dial-pool-number 1
pppoe enable ! auto-generated by previous command
mac-address 0200.0000.0011 ! Not required; personal choice
no shutdown