-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPLS L3VPN no Route Install #13853
Comments
I wonder if this is related to disabling unicast ... can you try without that step? |
Apologies for not getting back to you sooner on this. I had to take down my lab machines and move them so I got disrupted a bit. I just removed the unicast disable command and then restarted the frr service. No change in behavior so far. Prefixes show up when entering |
this looks like a bug ... clearing myself off in case someone wants to work on a fix |
Can we see the following output from frr-boc please?
I have seen something similar to this and it was due to the RTs changing when BGP came up - we solved it by manually applying a unique router-id on the BGP vrf process (router bgp 394211 vrf inet). |
Sure thing! Here it is:
For some reason, I'm not seeing notifications from github or I would have responded sooner. I'll see if I can do something about that so I can respond a little quicker. |
@Per-Forma thanks, from frr-boc can we see out from the following also:
|
Here they are
|
@Per-Forma thanks for the output - i cant see anything obvious from it, the only thing I can think to try is manually setting the RID on the VRF AF itself using the following (write & restart FRR after):
|
Hey @beith12, I thanks for looking at this with me. I set the RID in the bgp vrf stanza as you indicated. It's now set to |
@Per-Forma OK - are any of the working devices with a VRF in this topology running 9.1-dev? If so it might be worth comparing everything side-by-side. I see that you mentioned you are trying to get IPv6 in an MPLS working - I assume (based on your configs) this over an IPv4 underlay? If so i have been testing earlier releases for this feature and have yet to achieve end-to-end. |
@Per-Forma Should also mention that 9.1 was released today so might be worth trying that rather than dev version. |
@beith12 - for reference. This environment is in a lab topology. I initially configured it to test a 6VPE (IPv6 VPN over IPv4 MPLS backbone). We have a version of this in out production environment, and the IPv4 vrf routes are working correctly there. Our production envronment is running the frr 8.1 package that is packaged by canonical. In that environment, I'm seeing an issue with the v6 routes in the VRF. My original intention here was to build frr from source, replicate the issue I'm seeing in production and then work on resolving it. However, I've been stuck on this IPv4 route problem, which is working fine in production. In this lab environment, I am running a 9.1 dev version. I linked the commit in the original issue, which is from June. I haven't changed that, as I know how frustrating it can be when things get changed during a troubleshooting exercise! I can work on building a new version and testing this on it if you think that would be the best use of time. |
@Per-Forma I would rebuild (the faulty node at least) with the 9.1 version that was released yesterday to compare. Thanks |
Hey @beith12, got this done, but I'm seeing much the same results. However, I did notice a couple of odd warnings in the status output for the frr.service. See below. I notice that there are two of these, which matches the number of routes in this test environment that I'm missing. Given that the message references the SRGB, I think this must be related. The part I don't understand is that the SID index numbers being given don't match up with a valid mpls label as they are out of range for a valid label.
|
@Per-Forma This may relate to the next hop of the BGP route (announced by OSPF). Have you set the following anywhere |
I am facing the similar issue for ipv6 route. here I have received the ipv6 route in bgp-update from peer , it shows up in the vpn-route listing "show bgp ipv6 vpn" o/p but it doesn't get added inside fib. frr-84895958c-m6cf6# show bgp ipv6 vpn rd 100:999 Network Next Hop Metric LocPrf Weight Path
frr-84895958c-m6cf6# show ipv6 route vrf VRF1 any idea ? |
Describe the bug
To Reproduce
Configure OSPF with segment routing for label distribution, and ibgp in the default VRF. Enable ipv4 VPN address family and disable unicast. Create VRF 'inet' on
frr-boc
and internal routers, placing an interface in the vrf on each router. Configure route-distinguisher and route-targe to import/export '394211:42' to the inet vrf. See network diagram in screenshots.When testing, the prefix (example: 147.0.0.0/30) (connected to
frr-boc
) is being advertised byfrr-boc
to hosts5171
and3928
with the 394211:42 route distinguisher and it is being installed to those hosts. A prefix originating on the5171
or3928
(example: 171.0.0.0/24) and being advertised tofrr-boc
is not getting installed to the routing table. When viewing the output ofshow bgp ipv4 vpn rd 394211:42
onfrr-boc
the prefixs appear and indicate valid and best. However, they do not appear to be getting installed into the forwarding table. See the screenshot for example.I've included the config of frr-boc below as a txt file. Of note, the 147.0.0.0/30 is being picked up by the
5171
and3928
and being installed into the correct vrf table. Additionally, the two prefixes being advertised by the5171
and3928
are being installed into one-another's inet vrf table.Expected behavior
Expected behavior would be that the route installs correctly or an error/reason is indicated for it not being installed.
Screenshots
Versions
Additional context
I'm building this in a lab environment with the original intention of using the current master branch to see if I can replicate an issue we are seeing in a production environment for ipv6 routes in the vrf being rejected. However, I'm stuck here, unable to see what I have done in this lab that's causing these ipv4 routes be unable to install into the VRF table. This issue is different from the v6 rejected issue as I'm not seeing the
rejected
message. I'm unsure if this is something I've done wrong or not!FRR-BOC lo: 192.168.62.41
5171 lb1: 192.168.62.1
3928 lb1: 192.168.62.2
frr-boc-config.txt
The text was updated successfully, but these errors were encountered: