Routing
Highlighted
Routing

Static route with multiple next-hops

‎04-30-2020 03:41 AM

Hello

 

I need to deploy a basic type of redundancy for a system I have via static route using lowest preference:

next-hop Node1 = 10.0.0.1 = preferred = preference 2

next-hop Node2 = 10.0.0.2 = not preferred = default preference 5

 

 

mkh@lab> show configuration routing-options static
route 192.127.10.0/24 {
            next-hop 10.0.0.2;
            qualified-next-hop 10.0.0.1 {
             preference 2;
            }
}

======================

 

mkh@lab> show route 192.127.10.0/24

192.127.10.0/24   *[Static/2] 00:01:09
                                    > to 10.0.0.1 via ae2.114
                                   [Static/5] 00:00:14
                                    > to 10.0.0.2 via ae2.114

 

In theory, 10.0.0.1 will stay the active route till it isn't REACHABLE 

 

But what does it mean by reachable here?

- Having ARP entry for?

- pingable?

- there is an active route to reach next-hop?

 

In my case 10.0.0.0/24 is configured directly to ae2.114, so there is always an active route to reach both next-hops. 

 

When I test that in the lab, 10.0.0.1 is always active even if it is down, and no ARP for.

 

So in a few words, I need to achieve similarity to use "track" in Cisco

 

Is the only solution to use BFD then?

 

BR,

Mou

 

 

 

1 REPLY 1
Highlighted
Routing
Solution
Accepted by topic author mkhachfeh
‎05-04-2020 06:36 AM

Re: Static route with multiple next-hops

‎04-30-2020 04:44 AM

Hello,

 


@mkhachfeh wrote:

 

Is the only solution to use BFD then?

 

 

 

What is the platform?

In SRX, You have IP monitoring

https://www.juniper.net/documentation/en_US/junos/topics/example/ip-monitoring-security-configuring....

In MX, You have RPM tracking 

https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/routing-o...

HTH

Thx

Alex

_____________________________________________________________________

Please ask Your Juniper account team about Juniper Professional Services offerings.
Juniper PS can design, test & build the network/part of the network as per Your requirements

+++++++++++++++++++++++++++++++++++++++++++++

Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Feedback