-
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
Uninstall/Install routes after removing/adding latest IP address from/to the interface #11592
Comments
I wonder if this is related to the interface being a dummy ... does this happen with a "real" interface as well? |
Please try this on master it is probably fixed |
Sorry for the late response guys and thanks for the feedback. |
Then it's possible nexthop groups could have changed the way routes are removed ... I think we need to check on master, though ... :-( |
Sorry guys for this really late answer( I had a 2 week off because of a benign Covid infection and after returning, I totally forgot about this issue). I couldn't manage to test this issue with master, but since the future of FRRouting is based on Nexthop Groups and this problem does not occur with them, I suggest we can close this issue. P.S: It still exists in latest FRR 8.4 Release |
This issue is stale because it has been open 180 days with no activity. Comment or remove the |
This issue will be automatically closed in the specified period unless there is further activity. |
Describe the bug
the Linux kernel removes all routes when interface has no IP address. Normally zebra handles this situation for routes with provided NH, but routes for P2P interfaces that are directly connected are not handled correctly and are not removed upon deleting the last IP address set on the interface.
To Reproduce
create a dummy interface in linux:
setup inteface and route in vtysh:
remove ip address from
temp0
Checking Zebra's FIB indicates that the route is installed and is valid, but linux' FIB has no such entry.
Shutting down and waking up the interface installs the route in linux' FIB again.
Expected behavior
Remove all directly connected routes when the last IP address on the interface is gone and add them again when an IP address is set.
Versions
The text was updated successfully, but these errors were encountered: