frr
frr copied to clipboard
Problems with BGP routes on FRR 10.0-01
Description
After upgrading FRR from version 9.1 to version 10.0-01, we have problems with routes not being installed correctly on the server. As soon as we downgrade the FRR version everything start working again. We have multiple interfaces on the server (eth0,eth1,eth2), the BGP peers is on eth1 and eth2, and it is receiving the same routes on the two interfaces, but the routes is being installed as if they were received on eth0:
Routing entry for 100.64.1.68/32
Known via "bgp", distance 200, metric 0, best
Last update 00:12:29 ago
100.64.1.248 (recursive), weight 1
* 10.0.9.193, via eth0, weight 1
100.64.1.250 (recursive), weight 1
10.0.9.193, via eth0 (duplicate nexthop removed), weight 1
BGP routing table entry for 100.64.1.68/32, version 33
Paths: (2 available, best #2, table default)
Not advertised to any peer
Local
100.64.1.250 (metric 100) from 100.64.1.250 (195.191.143.22)
Origin IGP, localpref 100, valid, internal, multipath
Originator: 195.191.143.22, Cluster list: 195.191.143.10
Last update: Wed May 29 10:19:09 2024
Local
100.64.1.248 (metric 100) from 100.64.1.248 (195.191.143.22)
Origin IGP, localpref 100, valid, internal, multipath, best (Neighbor IP)
Originator: 195.191.143.22, Cluster list: 195.191.143.10
Last update: Wed May 29 10:18:46 2024
eth1 up default 100.64.1.251/31
eth2 up default 100.64.1.249/31
With ipv6 the routes is just marked as invalid because of the ip being inaccessible even when the peer ip is a direct neighbor.
Version
FRRouting 10.0 (#serverName) on Linux(5.14.0-427.18.1.el9_4.x86_64).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
'--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sbindir=/usr/lib/frr' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-static' '--disable-werror' '--enable-multipath=256' '--enable-vtysh' '--enable-ospfclient' '--enable-ospfapi' '--enable-rtadv' '--enable-ldpd' '--enable-pimd' '--enable-pim6d' '--enable-pbrd' '--enable-nhrpd' '--enable-eigrpd' '--enable-babeld' '--enable-vrrpd' '--enable-user=frr' '--enable-group=frr' '--enable-vty-group=frrvty' '--enable-fpm' '--enable-watchfrr' '--disable-bgp-vnc' '--enable-isisd' '--enable-rpki' '--enable-bfdd' '--enable-pathd' '--enable-snmp' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' 'CC=gcc' 'CXX=g++' 'LT_SYS_LIBRARY_PATH=/usr/lib64:'
How to reproduce
Have multiple interfaces on the server and then have BGP peers on eth1 and eth2.
Expected behavior
Routes being installed on the interfaces it is received
Actual behavior
routes is installed as received on eth0
Additional context
No response
Checklist
- [X] I have searched the open issues for this bug.
- [X] I have not included sensitive information in this report.