SUMMARY: Dialing into an isp with a cisco router... (fwd)

From: Rich Sena (ras@poppa.thick.net)
Date: Tue May 01 2001 - 10:08:56 EDT


Here is a repost - of a recipe for just that...

-- 
Rich Sena - ras@thick.net
ThickNET Consulting
"On the way to understanding; you understand, and forget."

---------- Forwarded message ---------- Date: Thu, 1 Mar 2001 13:11:40 -0500 (EST) From: Rich Sena <ras@poppa.thick.net> To: cisco-nsp@puck.nether.net Subject: SUMMARY: Dialing into an isp with a cisco router...

This is a template for anyone who wants to dial into an ISP with a cisco router - this assumes that you have a static IP address...

'debug chat', 'debug confmodem' and 'debug ppp negotiation' (and others) are your friend...

! these scripts are very specific to your modem and the login ! sequence and the response that you ISP's NAS requires mine are here ! as examples only... chat-script dial-out "" "AT&F1" "OK" "ATDT\T" TIMEOUT 45 CONNECT chat-script login ABORT invalid TIMEOUT 15 ogin: <login> word: <password>

! this corresponds to the line number that your modem is connected to ! usually 'line aux 0' do a 'show line' to see what line 'aux 0' is ! represented by (NOTE: I'm not using 'line aux 0' in my example) interface Async8 ! point this to what ever interface the static ip address provided ! by your ISP resides on ip unnumbered Ethernet0 encapsulation ppp no ip route-cache no ip mroute-cache load-interval 30 dialer in-band dialer pool-member 1 async default routing async dynamic address async dynamic routing async mode dedicated no peer default ip address no cdp enable

interface Dialer1 ! point this to what ever interface the static ip address provided ! by your ISP resides on ip unnumbered Ethernet0 ip access-group incoming in encapsulation ppp no ip route-cache no ip mroute-cache load-interval 30 dialer pool 1 dialer idle-timeout 86400 ! in the 'dialer string' specify the number you are calling as the first ! argument dialer string 5551212 modem-script dial-out system-script login dialer-group 1 ! set a peer default ip adress to the gateway address of the NAS you are ! connecting to peer default ip address 10.1.1.1 no cdp enable

! set an ip route to the gateway address of the NAS you are connecting to ip route 0.0.0.0 0.0.0.0 10.1.1.1 ip route 10.1.1.1 255.255.255.255 Dialer1

! line number that modem is attatched to 'line aux 0' in most cases line 8 exec-timeout 0 0 modem InOut ! this is dependant on modem type you can autoconfigure your modem ! with 'modem autoconfigure discovery' ! you can do a 'show modemcap' for other types if you are not using a ! usr courier modem autoconfigure type usr_courier transport input all stopbits 1 ! if you are using 'line aux 0' this can be no higher that 38400 speed 115200 flowcontrol hardware

-- Rich Sena - ras@thick.net ThickNET Consulting "On the way to understanding; you understand, and forget."



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:36 EDT