Describe the bug
FRRouting ignore flag noprefixroute on the interface and use prefix as connected route. But there is no route in the kernel. This behavior causes routing loops when using dynamic routing.
To Reproduce
- Add an address in the interface:
ip add add 192.168.0.1/24 dev eth1 noprefixroute
- Check the route in the kernel:
ip ro list match 192.168.0.0 table all
The command output is empty
- Check the route in FRRouting:
>vtysh
host# show ip route 192.168.0.0
Routing entry for 192.168.0.0/24
Known via "connected", distance 0, metric 0, best
Last update 00:03:32 ago
* directly connected, eth1
Expected behavior
Zebra should not add connected routes if noprefixroute flag is set
Versions