03-30-2009 08:32 AM - edited 03-04-2019 04:09 AM
Hi,
I want an ip route to be active only when a reachability is down, the opposite of a regular track reachability
Is there a wait to do that?
Thanks for help
04-05-2009 05:32 PM
This config might give you a lead...
http://www.cisco.com/en/US/tech/tk364/technologies_configuration_example09186a0080211f5c.shtml
04-06-2009 06:30 AM
Thanks, I looked at that one already, it is pretty closed to what I want except that I want route 2 to be active only when route 1 is unavailable.
04-06-2009 06:46 AM
Hi,
It sounds like you just need to use a floating static. ie if you have two static routes
ip route 192.168.1.1 255.255.255.0 10.1.1.1
ip route 192.168.1.1 255.255.255.0 10.1.1.2 250
The second route will only install into the RIB if the first route is unavailable (due to the higher admin distance).
Regards
04-06-2009 07:09 AM
Thanks
I hade try that
ip route 192.168.1.1 255.255.255.0 10.1.1.1 track 123
ip route 192.168.1.1 255.255.255.0 10.1.1.2 250
Why I still want to track unreachability is because I have some traffic that can't go trough route 1 that activate route 2 (ISDN connection), but I want that traffic to pass only when route 1 is unreachable.
I know this is kind of special need but I'm surprise that there is now way to do the opposite of tracking the reachability.
Regards
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