×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

track non reachability

Unanswered Question
Mar 30th, 2009
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
jrlaroche Mon, 04/06/2009 - 06:30
User Badges:

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.

JamesLuther Mon, 04/06/2009 - 06:46
User Badges:
  • Silver, 250 points or more

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

jrlaroche Mon, 04/06/2009 - 07:09
User Badges:

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

Actions

This Discussion