From Internetworkpro
[edit] Configuring the PPPoE Client
[edit] Ethernet
!
interface Ethernet0/1 (The L3 (Router) WAN Interface)
no ip address
pppoe enable
pppoe-client dial-pool-number 1
ip tcp adjust-mss 1452
!
[edit] ATM Interfaces
!
interface ATM0/0
no ip address
dsl operating-mode auto
pvc 8/35
pppoe-client dial-pool-number 1
!
[edit] Configuring the Dialer Interface
!
interface Dialer0
encapsulation ppp
ip address negotiated
ip mtu 1492
dialer pool 1
// Authentication as required by ISP
ppp authentication pap chap callin
ppp pap sent-username XYZ@cisco.com password DeltaForce
ppp chap hostname XYZ@cisco.com
ppp chap password DeltaForce
// Natting as required
ip nat outside
!
[edit] NAT configuration
!
ip nat inside source list 100 interface dialer0 overload
access-list 100 permit ip 172.16.0.0 0.0.255.255 any
!
[edit] Static Default Route Configuration
!
ip route 0.0.0.0 0.0.0.0 interface dialer0