Replace the angled bracket stuff with your own and this should be enough to get it connected and online.
Note this is using a Virtual-Template instead of a Dialer (as is in many online examples). A Virtual-Template will connect far faster due to the way they work in IOS. 'ppp lcp predictived' and 'ppp ipcp predictive' are both there also to speed up the connection process. With this lot retrains are in the order of 20-30 seconds normally vs. over a minute when using a Dialer withouth the predictive config lines.
'ppp ipcp route default' is a neat command that causes the default route to be dynamically added when it's received via IPCP. It saves you having to hard code the next hop or having a static default route pointing at the virtual-template. Sadly you need 12.3(11)T or newer for it to be there.
I've not shown other parts of my config that do things like QoS (inc. NBAR for protocol discovery), static DHCP mappings, general housekeeping stuff (controlling VTY access, configuring logging etc.) and NetFlow configuration (gives analysis on traffic flow patterns). If you're interested in that sort of stuff then let me know.
!
ip cef
!
ip dhcp excluded-address 10.0.0.200 10.0.0.254
!
ip dhcp pool <pool-name>
network 10.0.0.0 255.255.255.0
default-router 10.0.0.254
dns-server <DNS1> <DNS2>
!
!
interface ATM0/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
pvc 0/38
encapsulation aal5mux ppp Virtual-Template1
!
!
interface FastEthernet0/0
ip address 10.0.0.254 255.255.255.0
ip nat inside
duplex auto
speed auto
!
!
interface Virtual-Template1
ip address negotiated
ip nat outside
ppp lcp predictived
ppp chap hostname <username>
ppp chap password <password>
ppp ipcp dns request
ppp ipcp route default
ppp ipcp predictive
!
ip nat inside source list 7 interface Virtual-Template1 overload
!
!
access-list 7 permit 10.0.0.0 0.0.0.255
!
Let me know if this is useful.
Cheers,
Chris.



Print Thread
DogToy