-
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
A restart of FRR does not configure the loopback class E address if it already exists #16326
Comments
I don't see how this worked prior to restart - the class E address is not accepted on the interface. acee-ubuntu(config)# interface lo invalid address 240.1.1.215/32 |
Please include on devuan-host1 before and after restart: show ip ospf interface |
That's a good point, thanks for the input. We are using the documented option "allow-reserved-ranges" which actually allows the use of class E. |
The output of the requested commands: Command 1 BEFORE and AFTER restart: command-1.txt Here just the diff:
Command 2:
|
Why are you only posting diffs? If this is truly only the differences, this would imply that the interface still is announced and the problem is something else (possibly the Class E is not accepted by ospf-peer2. |
I have intentionally written only the diff as text because I want to show that there is no difference. The output of the command of course would be attached in the links I shared. I realised that attaching files as link is suboptimal. I apologise for this. Here is the output as text. Command 1:
And command 2:
|
Maybe you are interested in this output?
The address itself is configured. Let me find some debug lines. I guess to reproduce you only succeed when using the mentioned option "allow-reserved-ranges" to allow the class E configuration on that interface. |
I found something interesting:
Now restarting the daemon, it tries to re-create it? For whatever reason, it is not configured anymore on the interface:
Although the "running config" would say it so:
Now trying to "reconfigure" it via vtysh doesn't help, it is just not "configured" anymore on the interface To be added: yes, it behaves different, when using the ip I keep digging, still don't see it. |
I think you have found the root cause of the problem. If the interface address is not in FRR. It will not be advertised in OSPF. |
With having enabled dplane and kernel msgdump debug informations, the log is this:
This netlink message is only sent with this 240-address. It is not sent, when using the 200-address. I then went again through all the code and still could't pinpoint the line that is triggering the re-add of the address in case it's this class E address. Do you have me a hint, where else I should look into then in the dplane? |
I changed the title, it's not OSPF related. |
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. |
Please do not close. I have a vague suspicion: Not sure, if the following check inside
Could it be, that the |
This issue will no longer be automatically closed. |
Indeed. I added a log line instead of the true/false:
Though I have in my config file the
|
I have only now realized that the issue #17942 got linked. My bad. |
Description
In our LAB we observe the following: We configure a loopback address via
frr.conf
that is to be announced. When we "start" the system (after a reboot, or just start the first time the FRR), the announcing works fine and we see on a peer the ip address.With a restart of FRR this announcing fails and is to be reset manually, either by removing the IP via vty or via
ip
command, followed by re-applying the configuration.Example configuration:
With a fresh start of the routing suite, the configuration is good:
... and also learned by a peer:
After a restart of our routing suite, the route for
240.xxx.xxx.215/32
is missing, though still configured:Version
The text was updated successfully, but these errors were encountered: