Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Static Route 1

Status
Not open for further replies.

limejudo

Technical User
Joined
Aug 4, 2004
Messages
110
Location
US
Look at my routes at the bottom. What route can I add to get my isdn to come up when the atm is down? I haven't added the backup int command on the atm int yet. The 207.191.4.100 is an int on my vpn router. 170.215.233.113 is the Gway.

interface ATM0/0
no ip address
no ip mroute-cache
no atm ilmi-keepalive
dsl operating-mode auto
crypto map USU
hold-queue 224 in
pvc 0/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface Ethernet0/0
ip address 10.192.2.129 255.255.255.128
ip access-group
no ip mroute-cache
full-duplex
no cdp enable
!
interface BRI0/0
no ip address
no ip proxy-arp
ip accounting output-packets
encapsulation ppp
no ip route-cache cef
no ip route-cache
no ip mroute-cache
dialer pool-member 2
no snmp trap link-status
isdn switch-type basic-dms100
isdn spid1 xxx
isdn spid2 xxx
no fair-queue
no cdp enable
ppp multilink
!
interface Dialer1
ip address 170.215.233.114 255.255.255.252
ip mtu 1492
encapsulation ppp
no ip mroute-cache
dialer pool 1
no fair-queue
no cdp enable

!
interface Dialer2
ip address negotiated
ip mtu 1492
encapsulation ppp
no ip mroute-cache
dialer pool 2
dialer idle-timeout 150
dialer string 7895421589 class 56
dialer load-threshold 255 either
dialer-group 2
no fair-queue
no cdp enable

!
no ip http server
no ip http secure-server
ip classless
ip route 0.0.0.0 0.0.0.0 207.191.4.100
ip route 207.191.3.0 255.255.255.0 170.215.233.113
ip route 207.191.4.0 255.255.255.0 170.215.233.113
!

Eric - A+, Net+, INet+ CCNA next week.
Network Admin/Helpdesk II
 
ip route 0.0.0.0 0.0.0.0 207.191.4.100
ip route 0.0.0.0 0.0.0.0 Dialer1 50

If you assign a higher metric to the backup route it will only become active if there is no other static for the same destination with a lower metric.

By default a static route has a metric of 1 and so if you don't assign a metric to your atm default route then it will default to 1 and so the second route with a metric of 50 won't be entered into the routing table.

If the atm goes down then this route will be removed from the routing table. If the dialer interface comes up then this route should then be added as the default route.

Chris.



**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
My dialer address is different from the one in the route table. What happens to the 170.215.233.113 route? Will it stay in the route table. 170.215.233.113 is the gateway the provider gave me. thx

Eric - A+, Net+, INet+ CCNA next week.
Network Admin/Helpdesk II
 
If a static route is in place and it has a lower metric that other routes for the same destination, AND that address is reachable, ie. the interface for that address is up/up then it will remain in the routing table. If that link goes down so the gateway is unreachable then the route is removed from the routing table.

Chris.


**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
hi limejudo,

I realise this posting has been quite awhile back but I'm now also having the same problem, did you managed to sort it out in the end?

Cheers!
 
I set up just like the way ChrisAC said. If you need more help let me know. Just point your backup routes out the right direction and use the right ADMIN Distances.

Eric - A+, Net+, INet+ CCNA next week.
Network Admin/Helpdesk II
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top