Tuesday, May 18, 2021

VPNv4 over IPv6

I'm trying to see if I can run a native IPv6 MPLS core, but support IPv4 and IPv6 within the L3VPNs.

I'm able to exchange VPNv4 NLRIs between my IPv6 peers, but the routes are never installed in the RIB of the VRF. I see it in the BGP database but it bounces back and forth between valid and RIB-failure. Even when it shows up as valid it doesn't show in the RIB.

Valid:

PE1: RP/0/RP0/CPU0:R1#show bgp vpnv4 unicast Status codes: s suppressed, d damped, h history, * valid, > best i - internal, r RIB-failure, S stale, N Nexthop-discard Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1.1.1.1:1 (default for vrf A) *> 1.1.1.1/32 0.0.0.0 0 32768 ? *>i3.3.3.3/32 2001::3:3:3:3 0 100 0 ? Route Distinguisher: 3.3.3.3:1 *>i3.3.3.3/32 2001::3:3:3:3 0 100 0 ? 

RIB-failure:

RP/0/RP0/CPU0:R1#show bgp vpnv4 unicast <...> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1.1.1.1:1 (default for vrf A) *> 1.1.1.1/32 0.0.0.0 0 32768 ? r>i3.3.3.3/32 2001::3:3:3:3 0 100 0 ? Route Distinguisher: 3.3.3.3:1 *>i3.3.3.3/32 2001::3:3:3:3 0 100 0 ? 

Valid with details:

RP/0/RP0/CPU0:R1#show bgp vpnv4 unicast vrf A 3.3.3.3 Wed May 19 00:03:00.527 UTC BGP routing table entry for 3.3.3.3/32, Route Distinguisher: 1.1.1.1:1 Versions: Process bRIB/RIB SendTblVer Speaker 98 98 Last Modified: May 19 00:02:20.523 for 00:00:40 Paths: (1 available, best #1) Not advertised to any peer Path #1: Received by speaker 0 Not advertised to any peer Local 2001::3:3:3:3 (metric 20) from 2001::3:3:3:3 (3.3.3.3) Received Label 24005 Origin incomplete, metric 0, localpref 100, valid, internal, best, group-best, import-candidate, imported Received Path ID 0, Local Path ID 1, version 98 Extended community: RT:65000:1 Source AFI: VPNv4 Unicast, Source VRF: default, Source Route Distinguisher: 3.3.3.3:1 

RIB:

RP/0/RP0/CPU0:R1#show route vrf A <...> L 1.1.1.1/32 is directly connected, 03:26:43, Loopback1 

Other outputs that might be useful:

RP/0/RP0/CPU0:R1#show bgp vpnv4 unicast nexthops <...> Gateway Address Family: IPv6 Unicast Table ID: 0xe0800000 Gateway Reference Count: 2 Gateway AF Bits : 0x110 Nexthop Count: 1 Critical Trigger Delay: 0msec Non-critical Trigger Delay: 10000msec Nexthop Version: 2, RIB version: 1 EPE Table Version: 1, EPE Label version: 1 EPE Downloaded Version: 1, EPE Standby Version: 0 Status codes: R/UR Reachable/Unreachable C/NC Connected/Not-connected L/NL Local/Non-local PR Pending Registration I Invalid (Policy drop) Next Hop Status Metric Tbl-ID Notf LastRIBEvent RefCount 2001::3:3:3:3 [R][NC][NL] 20e0800000 9/0 00:37:32 (Cri) 2/9 RP/0/RP0/CPU0:R1#show bgp vpnv4 unicast neighbors BGP neighbor is 2001::3:3:3:3 Remote AS 65000, local AS 65000, internal link Remote router ID 3.3.3.3 BGP state = Established, up for 00:56:42 <...> For Address Family: VPNv4 Unicast BGP neighbor version 101 Update group: 0.2 Filter-group: 0.1 No Refresh request being processed Extended Nexthop Encoding: advertised and received Route refresh request: received 1, sent 0 1 accepted prefixes, 1 are bestpaths <...> 


No comments:

Post a Comment