Routing
Highlighted
Routing

Receiving both ipv4 and ipv6 NLRI updates over an IPV6 BGP peering

‎08-26-2010 07:28 PM

I have a peering relationship with a customer. This customer is peered to me over an IPV6 only connection. I would like to receive both ipv4 and ipv6 routes over this connection. However when I try to configure this. I get an error saying the following:

 

only IPv6 NLRI are allowed with an IPv6 neighbor

 

my configuration is as follows:

 

John@Sokar> show configuration protocols bgp 

group cus1 {

    type external;

    description " Peering for cus1";

    multihop {

        ttl 5;

    }

    local-address 2001:470:8:3ed::2;

    import cus1-routes-in;

    family inet {

        unicast;

    }

    family inet6 {

        unicast;

    }

    authentication-key "$9$eShMxd2gaDHmM8gaUjq.u0B"; ## SECRET-DATA

    export deny-all;

    peer-as 65332;

    neighbor 2620:0:xxxx::26E5:xxx {

        family inet6 {

            unicast;

        }

      family inet {

            unicast;

        }

 

    }

}

 

It does not let me add the section in red. When I do that i get the above stated error, the problem is that i need to receive both ipv4 and ipv6 routes over this connection. Any ideas. I have tried this connection on a cisco 3845 router lying around and it works fine. However I need to roll this into production on our j2320 router which is the router being used for this connection.

 

Is this a feature not implemented yet? I know I can do ipv6 routes over and ipv4 peering.

 

John Burns
2 REPLIES 2
Routing

Re: Receiving both ipv4 and ipv6 NLRI updates over an IPV6 BGP peering

‎08-30-2010 09:31 AM

Hello John,

 

I am not an expert, but currently I am estudying for the JNCIE.

From the JNCIE study guide:

"through native IPv6 peering, which supports IPv6 Network Layer Reachability Information (NLRI) only"

 

So, I guess it is not possible.

 

It is possible with cisco because you change the nex-hop to an IPv4 address, which is the key. You can advertives ipv6 NLRI over ipv4 peering because you use an IPv4 compatible IPV6 address.

 

Anyway, I think that the recommendation is to use dual-stack, so,  both IPv6 and IPv4 peering.

 

HTH.

Manuel.

 

Manuel
www.inetbrief.net
Highlighted
Routing

Re: Receiving both ipv4 and ipv6 NLRI updates over an IPV6 BGP peering

‎12-06-2016 11:35 AM

try adding a second bgp session over the same neighbor using ipv4 address:

 

set routing-options autonomous-system 632
set protocols bgp group bgpip4 type internal
set protocols bgp group bgpip4 family inet unicast
set protocols bgp group gpbip4 neighbor 63.2.0.2 peer-as 632
set protocols bgp group bgpip6 type internal
set protocols bgp group gpbip6 family inet6 unicast
set protocols bgp group bgpip6 neighbor a100:63:2::2 peer-as 632

 

now you have ipv4 neighbor receiving inet (ipv4) routes, and ipv6 neighbor receiving inet6 routes, on the same internal AS.

remember on both sides (don't know you customer is IOS or JUNOS or whatever, but you can always do two sessions over the same AS).

Feedback