09-11-2006 11:32 AM - edited 03-03-2019 01:57 PM
I'm looking for a solution.
I have two static routes,
ip route 192.168.0.0 255.255.255.0 10.10.30.254
and
ip route 192.168.0.0 255.255.255.0 1.1.1.254 200
My issue is this, if the primary WAN interface fails my static route with admin of 1 will stay in place and never dial the backup connection thru the ISDN dialer inteface.
What can I do so that if the primary WAN route of ip route 192.168.0.0 255.255.255.0 10.10.30.254 fails, and I want the second route to kick in for backup connectivity?
I'm limited on IOS unfortunately, IOS is c2600-i-mz_121-6.BIN
Solved! Go to Solution.
09-11-2006 11:46 AM
Try using
ip route 192.168.0.0 255.255.255.0 [interface name]
The route will only be installed if the interface is up/up.
09-11-2006 11:55 AM
Hi
when you use IP address as default gateway it will take default metric 1 , but when you use serial indiface ( metrix 0 )as gateway it will flow the traffic when interface is up and opernational
i hope this will solve your problem , please rate this post.
-Minu
09-11-2006 11:46 AM
Try using
ip route 192.168.0.0 255.255.255.0 [interface name]
The route will only be installed if the interface is up/up.
09-11-2006 11:55 AM
Hi
when you use IP address as default gateway it will take default metric 1 , but when you use serial indiface ( metrix 0 )as gateway it will flow the traffic when interface is up and opernational
i hope this will solve your problem , please rate this post.
-Minu
09-11-2006 04:52 PM
Minu
I believe that you are suggesting that a static route using a next hop will have an Administrative Distance of 1 but a static route using a serial interface will have Administrative Distance of 0. This is commonly believed but it is not true. Both static routes will have Administrative Distance of 1.
I suspect that the issue is that in the original post that the static route is pointing to a next hop address reachable over a LAN interface. In this case there are many situations where the address becomes unreachable but the outbound interface is still up up and therefore the static route remains in the routing table and the floating static route is never activated.
Cisco has supplied a solution for this issue with a feature called Reliable Static Routes with Obect Tracking. Unfortunately that is available in recent versions of IOS but the original post indicates that they are limited to an older version of IOS. I am not aware of a solution to this in the older IOS.
HTH
Rick
09-11-2006 06:36 PM
Could you advise what WAN interface are you using ? If it is not a LAN interface then there should no issue to let the interfac down.
If the interface will not down even the link down and you cannot use object tracking feature. You may enable dynamic routing protocol in the WAN link only. If the WAN down, the routing table of the 192.168.0.0/24 will disappear and the floating static route appear in the routing table.
Hope this helps.
09-11-2006 08:52 PM
Please check the routing table to see
if there is a route entry for 10.10.30.254(next-hop).
eg, if 10.10.0.0/16 exists in the routing table, the first static route will never go down.
HGL
09-11-2006 09:39 PM
If 10.10.30.254 is not the remote host IP. Please configure the static route to point to the remote next-hop IP.
Hope this helps.
09-12-2006 08:47 AM
More details,
The WAN interface is frame relay with point to point subinterface. I did as the first post suggested to route out the interface vs the next hop. I shut down the subinterface and the routing table in fact had removed the static route and ISDN backup router with admin of 254 kicked in and worked. So I see this as a valid solution unless some other solution exists that I am not aware of. Thanks for all your posts.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide