Routing

 View Only
last person joined: yesterday 

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.  LDP via v6. v4 routes are not learned. Juniper/Nokia

    Posted 07-01-2024 16:08
    Edited by Jodi Meier 07-01-2024 16:16

    Hello Community,

    I try at the moment so switch some of our backbone to LDP/MPLS.  The problem that I have at the moment is that only the routes of the same IP version as the LDP transport protocol a learned. So if I am using v4 as transport the v4 LDP routes are learned and vice versa.

    The LDP session is created between a Juniper and Nokia router. On the Nokia router it does not matter if I use v4 or v6, I have the LDP routes for both continuously.

    Has anyone seen anything like this or has a tip?

    transport-preference ipv6:

    tobsa@mpls-test> show ldp database          
    
    Input label database, 198.51.100.203:0--203.0.113.210:0
    Labels received: 3
      Label     Prefix
          3      192.0.2.248/32
    1048560      198.51.100.202/32
    1048563      2001:DB8:0:e0c0::b11b/128
          3      2001:DB8:0:e0c0::b12c/128
    
    Output label database, 198.51.100.203:0--203.0.113.210:0
    Labels advertised: 3
      Label     Prefix
          3      198.51.100.203/32
          3      2001:DB8:0:e0c0::b11a/128
         55      2001:DB8:0:e0c0::b11b/128
         56      2001:DB8:0:e0c0::b12c/128
    
    {master:0}
    tobsa@mpls-test> show route protocol ldp    
    
    inet.0: 738 destinations, 739 routes (738 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    224.0.0.2/32       *[LDP/9] 05:27:39, metric 1
                           MultiRecv
    
    inet.2: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden)
    
    inet.3: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden)
    
    mpls.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    55                 *[LDP/9] 02:07:19, metric 1
                        >  to fe80::9ee0:41ff:fe5c:a169 via ae0.10, Swap 1048563
    56                 *[LDP/9] 02:07:19, metric 1
                        >  to fe80::9ee0:41ff:fe5c:a169 via ae0.10, Pop      
    56(S=0)            *[LDP/9] 02:07:19, metric 1
                        >  to fe80::9ee0:41ff:fe5c:a169 via ae0.10, Pop      
    
    inet6.0: 403 destinations, 405 routes (403 active, 0 holddown, 0 hidden)    
    + = Active Route, - = Last Active, * = Both
    
    ff02::2/128         [LDP/9] 05:27:39, metric 1
                           MultiRecv
    
    inet6.2: 17 destinations, 17 routes (17 active, 0 holddown, 0 hidden)
    
    inet6.3: 19 destinations, 19 routes (19 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    2001:DB8:0:e0c0::b11b/128
                       *[LDP/9] 02:07:19, metric 16
                        >  to fe80::9ee0:41ff:fe5c:a169 via ae0.10, Push 1048563
    2001:DB8:0:e0c0::b12c/128
                       *[LDP/9] 02:07:19, metric 1
                        >  to fe80::9ee0:41ff:fe5c:a169 via ae0.10
              
    {master:0}[edit]
    tobsa@mpls-test# show | compare 
    [edit protocols ldp]
    -   transport-preference ipv6;
    +   transport-preference ipv4;

    transport-preference ipv4:

    tobsa@mpls-test> show ldp database 
    
    Input label database, 198.51.100.203:0--192.0.2.248:0
    Labels received: 3
      Label     Prefix
          3      192.0.2.248/32
    1048560      198.51.100.202/32
    1048563      2001:DB8:0:e0c0::b11b/128
          3      2001:DB8:0:e0c0::b12c/128
    
    Output label database, 198.51.100.203:0--192.0.2.248:0
    Labels advertised: 3
      Label     Prefix
         61      192.0.2.248/32
         62      198.51.100.202/32
          3      198.51.100.203/32
          3      2001:DB8:0:e0c0::b11a/128
    
    {master:0}
    tobsa@mpls-test> show route protocol ldp
    
    
    inet.0: 738 destinations, 739 routes (738 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    224.0.0.2/32       *[LDP/9] 05:30:37, metric 1
                           MultiRecv
    
    inet.2: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden)
    
    inet.3: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    192.0.2.248/32   *[LDP/9] 00:02:00, metric 1
                        >  to 203.0.113.210 via ae0.10
    198.51.100.202/32   *[LDP/9] 00:02:00, metric 16
                        >  to 203.0.113.210 via ae0.10, Push 1048560
    
    mpls.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    61                 *[LDP/9] 00:02:00, metric 1
                        >  to 203.0.113.210 via ae0.10, Pop      
    61(S=0)            *[LDP/9] 00:02:00, metric 1
                        >  to 203.0.113.210 via ae0.10, Pop      
    62                 *[LDP/9] 00:02:00, metric 1
                        >  to 203.0.113.210 via ae0.10, Swap 1048560
    
    inet6.0: 403 destinations, 405 routes (403 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    ff02::2/128         [LDP/9] 05:30:37, metric 1
                           MultiRecv
    
    inet6.2: 17 destinations, 17 routes (17 active, 0 holddown, 0 hidden)
    
    inet6.3: 19 destinations, 19 routes (19 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    ::ffff:192.0.2.248/128
                       *[LDP/9] 00:02:00, metric 1
                        >  to 203.0.113.210 via ae0.10
    ::ffff:198.51.100.202/128
                       *[LDP/9] 00:02:00, metric 16
                        >  to 203.0.113.210 via ae0.10, Push 1048560
    



    ------------------------------
    TobsA
    ------------------------------



  • 2.  RE: LDP via v6. v4 routes are not learned. Juniper/Nokia

    Posted 07-05-2024 05:54

    Hi,

    Did you see this documents

    • https://www.juniper.net/documentation/us/en/software/junos/mpls/topics/topic-map/ldp-overview.html#id-ldp-native-ipv6-support-overview

    You can configure the address family as inet for IPv4 or inet6 for IPv6, or both. If the family address is not configured, then the default address of family inet is enabled. When both IPv4 and IPv6 are configured, you can use the transport-preference statement to configure the prefered transport to be either IPv4 or IPv6. Based on the preference, LDP attempts to establish a TCP connection using IPv4 or IPv6. By default, IPv6 is selected. The dual-transport statement allows Junos OS LDP to establish the TCP connection over IPv4 with IPv4 neighbors, and over IPv6 with IPv6 neighbors as a single-stack LSR. The inet-lsr-id and inet6-lsr-id IDs are the two LSR IDs that have to be configured to establish an LDP session over IPv4 and IPv6 TCP transport. These two IDs should be non-zero and must be configured with different values.

    • https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/dual-transport-edit-protocols-ldp.html

    Configure to allow Junos LDP to establish the TCP connection over IPv4 with IPv4 neighbors, and over IPv6 with IPv6 neighbors as a single-stack LSR. inet-lsr-id and inet6-lsr-id are the two LSR IDs that have to be configured to establish an LDP session over IPv4 and IPv6 TCP transport. These two IDs should be non-zero and must be configured with different values.

    BR,

    Andrei



    ------------------------------
    Andrei Cebotareanu
    ------------------------------



  • 3.  RE: LDP via v6. v4 routes are not learned. Juniper/Nokia

    Posted 07-18-2024 15:01
    Edited by TobsA 07-18-2024 15:02

    Hi Andrei, thank you for the message.

    Yes, I know both links,

    We have configured both inet and inet6for LDP. And set the transport-preference to v6.

    The main issue here is the Juniper <> Nokia communication. Between Juniper <> Juniper I get LDP route for v4 and v6 via the v6 LDP connection.

    But when I use one Nokia router, I only the route for the transport protocol that I use. So if I use v4 for LDP I get v4 routes and when I use v6 for LDP I only get the v6 routes. If I use v4 and v6 for transport, I get v4 and v6 routes. But our goal would be to only use v6 for LDP transport.

    So my main question would be if someone has experienced something similar.

    ------------------------------
    Tobias Albert
    ------------------------------