hostname pppoesv
!
bba-group pppoe PPPOE-GROUP1
 virtual-template 1
!
bba-group pppoe PPPOE-GROUP2
 virtual-template 2
!
!
interface Loopback1
 ip address 40.40.40.1 255.255.255.255
!
interface Ethernet0/0
 no ip address
 pppoe enable group PPPOE-GROUP1
!
interface Ethernet0/1
 ip address 192.168.100.2 255.255.255.0
 pppoe enable group PPPOE-GROUP2
!
interface Ethernet0/2!
interface Virtual-Template1
 mtu 1454
 ip unnumbered Loopback1
 peer default ip address pool POOL1
 ppp authentication chap
!
interface Virtual-Template2
 mtu 1454
 ip unnumbered Loopback1
 peer default ip address pool POOL2
 ppp authentication chap
!
ip local pool POOL1 30.30.30.1
ip local pool POOL2 30.30.30.2
ip forward-protocol nd
!
!
 no ip address
 shutdown
!
!
username test1@example.com password 0 Cisco
username test2@example.com password 0 Cisco
!