Junos
Highlighted
Junos

Native IPv6 iBGP Peering and Route Reflection Issue

3 weeks ago

Hello J-NET Community,

I am trying to configure IPv6 iBGP Peering to the Route-Reflectors from a PE router. I have two VRF's that I would like to be reflected in the iBGP network. iBGP for IPv4 is working fine. Since I have IPv6 running natively using LDP as an IGP, I dont want/have to do 6PE/6VPE or IPv6 over IPv4 Tunnelling.
I am configuring a separate BGP group for IPv6-Only neighbors. group qc_i is the IPv6 iBGP peering group.

When configuring one of the PE routers to setup iBGP Peering to the Route Reflector, I run into an error

Here's my config:

[edit protocols bgp]

group qc_i { ... }

+    group qc_v6_i {

+        type internal;
+        local-address 2620:xxx:xxxx:x::a;

+        family inet6-vpn {

+            any;

+        }

+        multipath {

+            multiple-as;

+        }

+        neighbor 2620:xxx:xxxx:x::1 {

+            description "Route Reflector";

+        }

+    }


Error:

[edit protocols]

  'bgp'

    Error in neighbor 2620:xxx:xxxx:x::1 of group qc_v6_i:

Local IPv4 address must be configured under non-IPv6 NLRI with an IPv6 n

error: configuration check-out failed


I also tried specifically assigning the address-family at the neighbor level but I still get the same error.

[edit protocols bgp]

group qc_i { ... }

+    group qc_v6_i {

+        type internal;

+        local-address 2620:xxx:xxxx:x::a;

+        family inet6 {

+            any;

+        }

+        multipath {

+            multiple-as;

+        }

+        neighbor 2620:xxx:xxxx:x::1 {

+            description "Route Reflector";

+            family inet6-vpn {

+                any;

+            }

+        }

+    }

What am I missing?

Thanks in advance. 

4 REPLIES 4
Highlighted
Junos

Re: Native IPv6 iBGP Peering and Route Reflection Issue

3 weeks ago

After configuring a Local IPv4 address as instructed by the error, I still get an error where it asks that both the local and peer addresses must be from the same address-family.
Should I have to enable address-family inet6-vpn on my lo0 interface?

+    group qc_v6_i {

+        type internal;

+        local-address 2620:xxx:xxxx:x::a;

+        family inet6-vpn {

+            any;

+        }

+        multipath {

+            multiple-as;

+        }

+        neighbor 2620:xxx:xxxx:x::1 {

+            description "Route Reflector";

+            local-address 10.255.4.9;

+        }

+    }

Error:

[edit protocols]

  'bgp'

    Error in neighbor 2620:xxx:xxxx:x::1 of group qc_v6_i:

local and peer addresses must be from the same family

error: configuration check-out failed

 

Highlighted
Junos

Re: Native IPv6 iBGP Peering and Route Reflection Issue

[ Edited ]
3 weeks ago

I tried this, and it seems to work, but I dont think this neighborship will advertise ipv6-vpn routes

 

+    group qc_v6_i {

+        type internal;

+        local-address 2620:xxx:xxxx:x::a;

+        family inet6-vpn {

+            any;

+        }

+        multipath {

+            multiple-as;

+        }

+        neighbor 2620:xxx:xxxx:x::1 {

+            description "Route Reflector";

+            family inet6 {

+                unicast;

+            }

+        }

+    }

Highlighted
Junos
Solution
Accepted by topic author hjhaveri
2 weeks ago

Re: Native IPv6 iBGP Peering and Route Reflection Issue

[ Edited ]
3 weeks ago

Hello,

Here is the working Route Reflector configuration for You:

 

 

[edit protocols bgp]
+    group MPBGP6 {
+        type internal;
+        local-address fd::5;
+        family inet6-vpn {
+            unicast {
+                local-ipv4-address 198.51.100.5;
+            }
+        }
+        cluster 0.0.0.5;
+        neighbor fd::1;
+        neighbor fd::3;
+    }
[edit protocols mpls]
+   ipv6-tunneling;

 

The working configuration for RR client:

 

[edit protocols mpls]
+   ipv6-tunneling;
[edit protocols bgp]
+    group RRC6 {
+        type internal;
+        local-address fd::1;
+        family inet6-vpn {
+            unicast {
+                local-ipv4-address 198.51.100.1;
+            }
+        }
+        neighbor fd::5;
+    }

 

 

BUT - You also have to have a working MPLS transport layer between all Your clients for this configurations to pass traffic. 

The working MPLS transport layer between clients and Route Reflector is also advised but not strictly necessary for BGP NH resolution on RR - You can use the below static ::/0 route trick on RR to achieve it:

 

set routing-options rib inet6.3 static route ::/0 discard

 

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 !
Highlighted
Junos

Re: Native IPv6 iBGP Peering and Route Reflection Issue

2 weeks ago

Thank you @aarseniev
I was able to deploy the code with the changes you suggested.
Appreciate your help!

Feedback