Client:
interface Dialer1
ip address 192.168.0.10 255.255.255.0
encapsulation ppp
dialer pool 1
interface FastEthernet0/0
pppoe-client dial-pool-number 1
ip address 192.168.0.10 255.255.255.0
encapsulation ppp
dialer pool 1
interface FastEthernet0/0
pppoe-client dial-pool-number 1
Server:
interface Virtual-Template1
ip address 192.168.0.1 255.255.255.0
bba-group pppoe global
virtual-template 1
interface FastEthernet0/0
pppoe enable
ip address 192.168.0.1 255.255.255.0
bba-group pppoe global
virtual-template 1
interface FastEthernet0/0
pppoe enable
Or to use DHCP, the client would be:
interface Dialer1
ip address dhcp
encapsulation ppp
dialer pool 1
interface FastEthernet0/0
pppoe-client dial-pool-number 1
ip address dhcp
encapsulation ppp
dialer pool 1
interface FastEthernet0/0
pppoe-client dial-pool-number 1
And server config:
ip dhcp excluded-address 192.168.0.1
ip dhcp pool IP_POOL
network 192.168.0.0 255.255.255.0
interface Virtual-Template1
ip address 192.168.0.1 255.255.255.0
peer default ip address dhcp-pool IP_POOL
bba-group pppoe global
virtual-template 1
interface FastEthernet0/0
pppoe enable
ip dhcp pool IP_POOL
network 192.168.0.0 255.255.255.0
interface Virtual-Template1
ip address 192.168.0.1 255.255.255.0
peer default ip address dhcp-pool IP_POOL
bba-group pppoe global
virtual-template 1
interface FastEthernet0/0
pppoe enable
Read more...