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.  RPMs, Event Managers and Routing Instances. HELP!

    Posted 09-08-2016 13:44

    Hello Team,

     

             I am completely new in the JunOS world and I am having a stroke understanding some stuff. maybe someone here could help. 

     

    I currently have a Cisco router running some Loopbacks which are being monitored by some IP SLAs. These IP SLAs trigger some Event managers that will perform some config changes automatically. 

     

    So in case the Loopbacks change their state, the IP SLA will trigger the Event manager and perform the config changes required. 

     

    Now the question. How do I do the same stuff in juniper? (Lol)

     

    I've been looking through official docs and books and noticed that several loopbacks cannot be set in the Router as with Cisco, I used the logical numbers. However. When attempting to assign an IP to the loopbacks. the system throws an error and doesnt allow me. 

     

    Ok. I set a routing instance and added the Lo0.0 with Ip 1.1.1.1/24 to it. However. When adding the second (Lo0.2 (IP 2.2.2.2)) to the configuration. I get this error:

     

    'unit 2'
    if_instance: Multiple loopback interfaces not permitted in master routing instance

     

     

    Due to design issues. I cannot set multiple IPs in the same Loopback. 

     

     

    Any help is appreciated.

     

    thanks



  • 2.  RE: RPMs, Event Managers and Routing Instances. HELP!

     
    Posted 09-08-2016 18:13

    Hi,

     

    You can add multiple IP addresses under single lo0.0 interface.  You can set one of them as Primary address.

     

    Please see below:

    http://www.juniper.net/documentation/en_US/junos12.3/topics/usage-guidelines/interfaces-configuring-the-loopback-interface.html

     

    Regards

    Surya



  • 3.  RE: RPMs, Event Managers and Routing Instances. HELP!
    Best Answer

     
    Posted 09-09-2016 00:57

    Hi,

     

    Since multiple loopback interfaces are not allowed in an RI, one possibility could be to have the logical lo0 units in different RIs and use rib-groups to import the interface routes in inet.0 for the IPSLA reachability. Example:

    root@mx# show routing-options 
    rib-groups {
        test {
            import-rib [ LO1.inet.0 inet.0 ];
        }
        test2 {
            import-rib [ LO2.inet.0 inet.0 ];
        }
    }
    
    [edit]
    root@mx# show routing-instances LO1 
    instance-type virtual-router;
    interface lo0.1;
    routing-options {
        interface-routes {
            rib-group inet test;
        }
    }
    
    [edit]
    root@mx# show routing-instances LO2    
    instance-type virtual-router;
    interface lo0.2;
    routing-options {
        interface-routes {
            rib-group inet test2;
        }
    }

    root@mx# run show route protocol direct

    inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    192.168.0.100/32 *[Direct/0] 00:12:00
    > via lo0.0
    192.168.1.100/32 *[Direct/0] 00:10:04
    > via lo0.1
    192.168.2.100/32 *[Direct/0] 00:09:00
    > via lo0.2

    Cheers,

    Ashvin



  • 4.  RE: RPMs, Event Managers and Routing Instances. HELP!

    Posted 09-09-2016 11:35

    AshvinO,

     

     

    Sounds like a good implementation. So. At the end. I will need to set an individual Routing-instance per Lo0. I will give it a try in my lab today and let you know how it goes. 

     

    Thanks for the help



  • 5.  RE: RPMs, Event Managers and Routing Instances. HELP!

    Posted 09-09-2016 14:25

     

     

     



  • 6.  RE: RPMs, Event Managers and Routing Instances. HELP!

    Posted 09-09-2016 15:28

    Please disregard the previous question. It was dumb i figured it out