Bug #16120
openZebra RIB doesn't reflect the removal of the static routes until the restart of service
0%
Description
Test environment:
BGP connection with peer 172.32.0.3
Peer advertises the route 172.21.100.0/24
Static route for 172.21.100.0/24 via 192.168.20.1
Zebra has 2 entries for route 1 BGP and one kernel
K>* 172.21.100.0/24 [0/0] via 192.168.20.1, ix3, 00:00:10
B 172.21.100.0/24 [20/1] via 172.32.0.3, ipsec1, weight 1, 01:29:50
As expected, the kernel route via 192.168.20.1 will be installed to the FIB
However, if you delete the static route, Zebras RIB remains the same, and as a result BGP route will not be installed into FIB.
Tested on
25.03-BETA (amd64)
built on Thu Mar 27 4:56:00 MSK 2025
FreeBSD 15.0-CURRENT
Files
Updated by Danilo Zrenjanin about 21 hours ago
- Status changed from New to Confirmed
Tested against the latest development pfSense Plus release.
I can confirm this behavior.
In reverse order, it functions as expected. If the Zebra contains only the entry from the BGP peer and you define the same static route, the Zebra will update its RIB accordingly.
FRR version frr9-9.1.3_1