Routing

last person joined: 3 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  Static route with multiple next-hops

    Posted 04-30-2020 03:41

    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

     

     

     


    #static
    #routing
    #JUNOS


  • 2.  RE: Static route with multiple next-hops
    Best Answer

    Posted 04-30-2020 04:45

    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.html

    In MX, You have RPM tracking 

    https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/routing-options-rpm-tracking.html

    HTH

    Thx

    Alex