Junos OS

 View Only
last person joined: 4 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Native IPv6 iBGP Peering and Route Reflection Issue

    Posted 07-27-2020 15:41

    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. 



  • 2.  RE: Native IPv6 iBGP Peering and Route Reflection Issue

    Posted 07-27-2020 16:11

    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

     



  • 3.  RE: Native IPv6 iBGP Peering and Route Reflection Issue

    Posted 07-27-2020 16:20

    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;

    +            }

    +        }

    +    }



  • 4.  RE: Native IPv6 iBGP Peering and Route Reflection Issue
    Best Answer

    Posted 07-27-2020 20:09

    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

     

     

     

     


    #T


  • 5.  RE: Native IPv6 iBGP Peering and Route Reflection Issue

    Posted 07-30-2020 09:56

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