hostname R1
!
no ip domain lookup
!
ip cef
vpdn enable
!
vpdn-group pppoetest
accept-dialin
protocol pppoe
virtual-template 1
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 10.10.10.1 255.255.255.0
pppoe enable
!
interface Virtual-Template1
mtu 1492
ip unnumbered FastEthernet0/0
peer default ip address pool pppoepool
!
ip local pool pppoepool 10.10.10.2 10.10.10.100
client:
hostname R2
!
no ip domain lookup
!
ip cef
!
interface FastEthernet0/0
no ip address
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
mtu 1492
ip address negotiated
encapsulation ppp
dialer pool 1
dialer-group 1
no peer neighbor-route
!
ip route 0.0.0.0 0.0.0.0 Dialer1
!
dialer-list 1 protocol ip permit