ADSL
From FrogspawnWiki
Firstly configure the ATM interface
interface ATM1/0 no ip address no ip mroute-cache no atm ilmi-keepalive dsl operating-mode auto pvc 0/38 encapsulation aal5mux ppp dialer dialer pool-member 1 ! !
pvc 0/38 is appropriate for the UK (where I live), you may need different. That PVC is being made a member of dialer pool 1.
Next configure the dialer interface
interface Dialer1 ip address negotiated encapsulation ppp dialer pool 1 dialer-group 1 no cdp enable ppp authentication chap pap callin ppp chap hostname ADSL_USERNAME ppp chap password ADSL_PASSWORD ppp pap sent-username ADSL_USERNAME password ADSL_PASSWORD ppp ipcp dns request ppp ipcp wins request !
Obviously replace ADSL_USERNAME and ADSL_PASSWORD with the username and password respectively that you receive from the ISP.
CDP will be disabled on this interface because it's an external interface and we don't want no CDP on it.
This dialer interface is being placed into dialer pool 1. This associates it with the PVC that we configured under the ATM interface above. To bring the PVC up the router will use this dialer.
Any config that you'd normally apply to an external interface, NAT etc., needs to be applied to this dialer interface.
Finally add a default route, and set up so that any IP traffic is deemed interesting to the dialer.
ip route 0.0.0.0 0.0.0.0 Dialer1 dialer-list 1 protocol ip permit