cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
772
Views
0
Helpful
4
Replies

track non reachability

jrlaroche
Level 1
Level 1

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

4 Replies 4

s-doyle
Level 3
Level 3

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.

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: