Routing

 View Only
last person joined: 2 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.  Is loopback interface lo0.0 needed under protocols mpls and rsvp/ldp stanza?

    Posted yesterday

    Hi guys, 

    I am studing deeply MPLS topic now after my course "MPLS Fundamentals" and I have a question regarding the loopback interface in MPLS matter.

    In case of RSVP/MPLS should I put and include loopback interface lo0.0 under protocols mpls and protocols rsvp stanza?

    For some unclear for me reason now I found that a loopback is included under protocols rsvp, but I didn't find no any rules for that in the study guide or somewhere else.

    https://www.juniper.net/documentation/us/en/software/junos/mpls/topics/topic-map/mpls-p-pe-configuration.html

    In case of LDP over RSVP (with ldp-tunnelling) with MPLS transport should I only point interface loopback lo0.0 under LDP?

    Thank you. 

    Best regards,
    Dmitry 



    ------------------------------
    Dmitry Maksimov
    ------------------------------



  • 2.  RE: Is loopback interface lo0.0 needed under protocols mpls and rsvp/ldp stanza?

    Posted yesterday

    Our configurations for LDP over RSVP all declare the lo0.0 interface under LDP stanza in addition to RSVP.  The configuration was in place prior to my arrival at the ISP so can't say for sure it is required but it is logical that it should be there for this application.



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: Is loopback interface lo0.0 needed under protocols mpls and rsvp/ldp stanza?
    Best Answer

    Posted 18 hours ago

    Well, technically, if you need to run only RSVP (or LDP), then no need to add loopback to protocols rsvp  or protocols ldp hierarchy, just add it under relevant IGP.

    However, if the task is to implement LDP tunneling (to tunnel LDP over RSVP LSP), then loopback should be added to protocols ldp only on MPLS routers, between which RSVP LSPs are built and used for tunneling.



    ------------------------------
    FARID AKHUNDOV
    ------------------------------



  • 4.  RE: Is loopback interface lo0.0 needed under protocols mpls and rsvp/ldp stanza?

    Posted 18 hours ago

    Thank you, Farid. I looked at other resources and was convinced once again of what you wrote. 

    Best regards, 
    Dmitry 



    ------------------------------
    Dmitry Maksimov
    ------------------------------



  • 5.  RE: Is loopback interface lo0.0 needed under protocols mpls and rsvp/ldp stanza?

    Posted 17 hours ago

    Just to update Farid's answer - if you are using transport-address router-id within the LDP configuration then you will probably need to include the interface where the router-id IP address is defined (most probably lo0.0) into LDP. So all in all, the best practice is to put it under [edit protocols ldp]. Same goes for RSVP - if the endpoints of your RSVP TE tunnel are router loopbacks, you need to insert interface lo0.0 under the [edit protocols rsvp] stanza.

    In either case - no need to put lo0.0 into [edit protocols mpls] stanza at all, although it doesn't harm, but it doesn't have any effect either.

    Also, no need to put family mpls in lo0.0 - same story - no harm, but no effect either.

    Beri



    ------------------------------
    Berislav Todorovic
    ------------------------------



  • 6.  RE: Is loopback interface lo0.0 needed under protocols mpls and rsvp/ldp stanza?

    Posted 11 hours ago

    Well, yes, but that seems to be corner-case IMHO.

    In nearly all cases you would include your lo0.0 into IGP, so that it is used to establish iBGP, RSVP, targeted LDP sessions. Unless special cases (like LDP tunneling when you 100% need to add lo0.0 to LDP), including lo0.0 under LDP might be over-configuration,  but for sure it won't kill.

    Interestingly, I've tried transport-address router-id under [edit protocols ldp] hierarchy, without adding lo0.0 to LDP, and didn't see the difference - 

    [edit protocols ldp]
    farid@R1# run show system connections | match 646 
    tcp4       0      0  192.168.1.1.646                               192.168.1.5.54554                             ESTABLISHED
    tcp4       0      0  192.168.1.1.646                               192.168.1.2.63483                             ESTABLISHED

    After config rolled back - 

    [edit]
    farid@R1# run show system connections | match 646    
    tcp4       0      0  192.168.1.1.646                               192.168.1.5.58113                             ESTABLISHED
    tcp4       0      0  192.168.1.1.646                               192.168.1.2.64152                             ESTABLISHED

    [edit]
    farid@R1# show protocols ldp    
    interface ge-0/0/0.0;
    interface ge-0/0/2.0;

    [edit]
    farid@R1# show|compare rollback 1 
    [edit protocols ldp]
    -    transport-address router-id;

    Note that I haven't configured router-id explicitly under routing-options.

    Here is the document about it - https://www.juniper.net/documentation/us/en/software/junos/mpls/topics/topic-map/ldp-configuration.html#id-specifying-the-transport-address-used-by-ldp



    ------------------------------
    FARID AKHUNDOV
    ------------------------------



  • 7.  RE: Is loopback interface lo0.0 needed under protocols mpls and rsvp/ldp stanza?

    Posted 12 hours ago

    Hi Dmitry,

    You are welcome.



    ------------------------------
    FARID AKHUNDOV
    ------------------------------