Demonstrates a sample configuration for a PPPoE server, offering practical examples to assist in implementing and verifying server setup.
PPPoE server on IPv4 interfaces
This example shows configuring PPPoE server on IPv4 interfaces:
!
interface Dialer100
mtu 1492
ip address negotiated
encapsulation ppp
ip tcp adjust-mss 1460
dialer pool 100
dialer down-with-vInterface
ppp authentication chap callin
ppp chap hostname cisco
ppp chap password 7 1511021F07257A767B
ppp ipcp route default
To replace a template configured with PPPoE as WAN interface with a regular interface in Dialer100, remove the IP address assigned to the dialer interface using the no ip address command, and then add a new IP address for the dialer interface.
PPPoE over ATM interfaces
This example shows configuring PPPoE over ATM interfaces.
Device(config)# interface ATM0/1/0
Device(config)# no ip address
Device(config)# no atm enable-ilmi-trap
!
Device(config)# interface ATM0/1/0.10 point-to-point
Device(config)# no atm enable-ilmi-trap
Device(config)# cdp enable
Device(config)# pvc 22/62
Device(config)# ubr 1045
Device(config-if)# encapsulation aal5mux pppoe-client
Device(config)# pppoe-client dial-pool-number 120
!
!
Device(config)# interface Dialer 120
Device(config)# mtu 1492
Device(config)# ip address negotiated
Device(config)# ip nat outside
Device(config-if)# encapsulation ppp
Device(config)# load-interval 30
Device(config)# dialer pool 120
Device(config)# dialer-group 1
Device(config)# ppp mtu adaptive
Device(config)# ppp chap hostname test@cisco.com
Device(config)# ppp chap password 0 cisco
Device(config)# ppp ipcp address required
Device(config)# ppp link reorders
!