-
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
routes from iBGP not resolving next-hop using non-BGP #18188
Comments
Smallest config I could use to reproduce. gns3 here has a very old frr version, but the same problem is seen on 10.0.
And the "downstream" peer to which I want both 10.0.0.1/32 and 10.0.0.2/32 advertised.
If I peer directly on 192.168.1.{1,2} then everything works. This leads me to believe that because the prefix and next-hop is the same there is some weirdness going on. On r1:
In comparison, after shutting the 10.0.0.X peers and peering directly between 192.168.1.X
|
Please enable "debug bgp updates" and "debug bgp neighbor" and show the logs. |
Description
Hi,
All info trimmed, and IP addresses obfuscated where needed.
On router A:
As a result of a.b.c.2 being inaccessible, this prefix is not being advertised where it should be:
a.b.c.137 is an eBGP "downstream" peer.
Version
How to reproduce
Peer two iBGP routers via loopbacks, connected to the same subnet. Have both also advertise their loopback via iBGP so that when they're up these loopbacks can (if route maps permit) be advertised to over eBGP peerings.
Expected behavior
Since the remote loopback is reachable in the FIB, I expect the network originated loopbacks to be forward advertised on eBGP peers as determined by route-maps. For that to happen, the route has to be marked as valid and not inaccessible.
Actual behavior
Valid routes are marked inaccessible, preventing them from being forward advertised.
This works if the routers peer using their ethernet interface addresses rather than their loopback addresses. Since there are a number of fail-over paths available all our iBGP peerings uses loopbacks.
Additional context
a.b.c.1 and a.b.c.2 peers via loopbacks, which is exchanged using OSPF.
disable-connected-check seems like a sensible candidate for the problem, but the route here is received on iBGP not eBGP, and as such it does not seem to relate.
Checklist
The text was updated successfully, but these errors were encountered: