09-07-2012 04:31 AM - edited 03-04-2019 05:30 PM
Hi Guys,
I have v4 mpls working fine but v6 refuses to work correctly.
Looking at the ipv6 routing table for the VRF we can see prefix's coming from the remote PE's
BGP is up in vpnv6 and ipv6 unicast.
Everything seems fine but I just cant seem to ping between the sites.
as mentioned, ipv4 works fine for the same vrf.
Any ideas on where I can start troubleshooting.
Thanks
G
-Graham
Please note: My comments are simply suggestions. I cannot be held liable for any loss of data, life or marbles due to following my instructions.
Got a website? Need some live chat software?
Solved! Go to Solution.
09-15-2012 07:40 AM
Hello Mohamed,
Thank you for your response!
You mentioned in the main thread , a label is not needed for a directly IPv6 neighbor, I am not entirely agree. a Label would always be needed, but the point is that the PHP router performs POP operation and forward the Packets to the egress PE.
I believe this is where we diverge in our understanding. I do not believe that the label would always be needed. It is true that a directly connected neighbor would probably advertise an implicit-null label for a directly connected network, resulting in a POP operation. However, that only means that on the wire, the packet will have no topmost MPLS label. For the data plane, it is irrelevant whether the topmost label was not pushed onto the packet at all or whether the previous topmost label was POPped. In the end, the packet will simply not be equipped with the topmost label.
From my opinion as I illustarted earlier, the reason of this behaviour even for an IPv6 CEF not creating the right adjacency, is because there is NO Valid Label Binding in the LFIB table.
[ ... cut ... ]
In an IPv4, this is different. If you examine the Local Label bindings (LIB Table) for router 3 and router 2, you should find valid Label bindings for each directly connected Prefix,
This does not appear to be the case, Mohamed - I have recreated the exact setup as described before. Have a look:
R2#show mpls ip binding
LIB not enabled
R2#show mpls forwarding-table
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
16 Pop Label 2000::2/128[V] 500 aggregate/V1
R2#show mpls forwarding-table detail
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
16 Pop Label 2000::2/128[V] 500 aggregate/V1
MAC/Encaps=0/0, MRU=0, Label Stack{}
VPN route: V1
No output feature configured
R2#show ipv6 route vrf V1
IPv6 Routing Table - V1 - 3 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
D - EIGRP, EX - EIGRP external, ND - Neighbor Discovery, l - LISP
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
LC 2000::2/128 [0/0]
via Loopback0, receive
B 2000::3/128 [200/0]
via 10.0.23.3%default, indirectly connected
L FF00::/8 [0/0]
via Null0, receive
R2#show ipv6 cef vrf V1 2000::3 detail
2000::3/128, epoch 0, flags rib defined all labels
recursive via 10.0.23.3 label 16
recursive via 10.0.23.0/24
attached to Serial0/0/1
R2#show ip bgp vpnv6 unicast vrf V1 label
Network Next Hop In label/Out label
Route Distinguisher: 1:1 (V1)
2000::2/128 :: 16/nolabel(V1)
2000::3/128 ::FFFF:10.0.23.3
nolabel/16
R2#ping vrf V1 2000::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2000::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/2/4 ms
You may see here that because I am not running LDP between my R2 and R3 (no mpls ip is configured between these two routers and I am not exchanging any IPv4 routes via BGP), there is no LIB present and no label mappings are created for any IPv4 prefixes, including the IPv4 prefixes I am using as next hop towards the 6VPE networks. In the IPv6 CEF, the 2000::3/128 prefix clearly has only a single label 16 (learned via BGP) associated, and there is no transport label identified - because it does not exist at all. Yet, the pings are successful - despite the obvious fact that there are no label mappings for IPv4 prefixes. If I use your own words, "there is NO Valid Label Binding in the LFIB table" - and yet the connectivity is established!
This seems to confirm my original opinion - that the IPv6 CEF is currently intentionally implemented to create adjacencies to Null0 if the next hop towards a 6VPE prefix in a VRF is an IPv6 address itself - knowing that IPv6 LDP is not implemented yet so using a single label (the VRF label) would not work in general (having two PEs in a back-to-back configuration like this is rare).
Looking forward to reading your thoughts on this.
Best regards,
Peter
09-16-2012 03:58 AM
Peter,
I agree I was mistaken in my previous statement. In the Last post , I combined between the requirement of the TOP Label between directly connected and in-directly connected PEs for this type of scenario. Apologize , it was misleading. You are correct.
In the Data Plane, the TOP-Label would be needed if its not directly connected PEs or ASBRs (ie: peering with Loopbacks), However, your example mostly used when connecting two different ASBRs, where the command (mpls bgp forwarding) is required to reveal the VPNv6 Label and no requirement for TOP Label. Just to add, this type of test is normally not used between PEs within the Same AS for the sake of the original poster query , and with most type of SP implementations, there is no directly connected PEs with such (6VPE) implementation.
Regards,
Mohamed
04-04-2014 11:46 PM
Hi Peter,
Hope you are well. I have same problem. I' m unable to ping VPVN6 neighbors. I have set 9.9.0.2 as RR for VPNv6 for two routers R 3( 9.9.0.3) and R6 ( 9.9.0.6) but unfortunately I'm unable to ping them though I'm getting the routes, Please have a look at below output.
R3#sh bgp vpnv6 uni all
BGP table version is 15, local router ID is 9.9.0.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 9:9 (default for vrf ABC)
*>i2002:172:9::2/128
::FFFF:9.9.0.2 0 100 0 i
*> 2002:172:9::3/128
:: 0 32768 i
*>i2002:172:9::6/128
::FFFF:9.9.0.6 0 100 0 i
*>i2002:172:9::13/128
::FFFF:9.9.0.6 1 100 0 109 ?
*>i2002:172:9::14/128
::FFFF:9.9.0.6 0 100 0 109 i
*>i2002:172:9:134::/64
::FFFF:9.9.0.6 0 100 0 109 ?
*>i2002:172:9:146::/64
::FFFF:9.9.0.6 0 100 0 ?
03-26-2014 01:54 AM
Hi Peter,
Hope you're doung well!
Just a quick question, is Cisco still does not support LDP for IPV6 setup?
Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide