-
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
RFC5549 ipv6 next hop reachability with dynamic neighbors broken in 10.1 #16572
Comments
use next hop self on peer router |
Seeing the same thing here. 9.1.1-01.el7 from https://rpm.frrouting.org/ works, while 10.1-01.el7 is broken. This breaks BGP Unnumbered interop with Cumulus Linux at least. My config is as follows:
This results in the following working route seen on the Cumulus switch:
If I upgrade to frr-10, then this changes as follows:
Wondering if this could be the same or related to #15610 somehow. |
FRR 10.0.1-01 works fine. So this bug must have been introduced in the 10.1 minor release. |
@louis-6wind isn't this related to 0325116? |
@toreanderson would you be able to test a custom rpm/deb? Especially with this fix: #16439. Taking rpm/deb from the artifacts here: https://ci1.netdef.org/browse/FRR-PULLREQ3-4302/artifact. |
@ton31337 Tried |
Regarding mapped IPv4... Could you check this also? https://ci1.netdef.org/browse/FRR-PULLREQ3-4501/artifact (Once the packages are built, now building...) |
I can confirm that |
@ton31337 is it planned to backport a bugfix into 10.1 stable release? |
@toreanderson could you test from these artifacts? https://ci1.netdef.org/browse/FRR-PULLREQ3-4527/artifact |
LGTM 👍 |
This has already backed out from 10.1, but we are still waiting for the release of 10.1.1. Hence closing. |
Description
All IP Addresses are RFC1918 space or ipv6 link-local addresses, there is no sensitive data.
I have an arista switch doing bgp peering with a VM running frr over ipv6 link-local neighbors. Prior to frr 10.1 The ipv4 address of the loopback would be learned by the arista switch and advertised out to the rest of the network.
The arista would see it like this:
sh ip bgp 10.162.43.183/32
BGP routing table information for VRF default
Router identifier 10.160.0.7, local AS number 4260167780
BGP routing table entry for 10.162.43.183/32
Paths: 1 available
65333
fe80::250:56ff:febf:a800%Vl2222 from fe80::250:56ff:febf:a800%Vl2222 (10.162.43.183)
Origin INCOMPLETE, metric 0, localpref 100, IGP metric 1, weight 0, tag 0
Received 00:13:55 ago, valid, external, best
Rx SAFI: Unicast
An excerpt of the FRR show ip bgp neighbors
External BGP neighbor may be up to 1 hops away.
Local host: fe80::250:56ff:febf:a800, Local port: 179
Foreign host: fe80::febd:67ff:fe30:71c7, Foreign port: 43351
Nexthop: 10.162.43.183
Nexthop global: fe80::250:56ff:febf:a800 <--- Global address doesn't exist, so it is assigned to the link-local
Nexthop local: fe80::250:56ff:febf:a800
This ran fine and the image would be upgraded sequentially to the latest release with no problems.
Once frr 10.1 was installed, peering establishes, however the next hop is no-long a (valid) Link-Local address. It's an invalid Global Address.
Arista Switches sees this.
sh ip bgp 10.162.43.182/32
BGP routing table information for VRF default
Router identifier 10.160.0.8, local AS number 4260167780
BGP routing table entry for 10.162.43.182/32
Paths: 1 available
65333
::ffff:10.162.43.182 from fe80::250:56ff:febf:c5a2%Vl2222 (10.162.43.182)
Origin INCOMPLETE, metric 0, localpref 100, IGP metric -, weight 0, tag 0
Received 7d16h ago, invalid, external
Rx SAFI: Unicast
FRR Neighbor sees this:
sh bgp neighbor
External BGP neighbor may be up to 1 hops away.
Local host: fe80::250:56ff:febf:c5a2, Local port: 36972
Foreign host: fe80::febd:67ff:fe30:4ca5, Foreign port: 179
Nexthop: 10.162.43.182
Nexthop global: ::ffff:aa2:2bb6 <--- This is an invalid next-hop with the neighbor-id converted to hex.
Nexthop local: fe80::250:56ff:febf:c5a2
Version
How to reproduce
Attempt to establish RFC5549 dynamic peering with a non-frr peer while running frr version 10.1
Here is the FRR config i'm using, I've used this to peer with both Arista and Cisco.
Here is the arista configuration that hasn't been changed.
The text was updated successfully, but these errors were encountered: