Skip to content
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

OSPF: Router id sometimes is not selected correctly #807

Closed
mattiaswal opened this issue Nov 6, 2024 · 2 comments
Closed

OSPF: Router id sometimes is not selected correctly #807

mattiaswal opened this issue Nov 6, 2024 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@mattiaswal
Copy link
Contributor

mattiaswal commented Nov 6, 2024

Current Behavior

When apply a whole configuration, the router id (sometimes) gets selected before all interfaces/address is created. Have not seen it on reboot only running tests.

admin@R1:/> show ospf neighbor 

Neighbor ID     Pri State           Up Time         Dead Time Address         Interface                        RXmtL RqstL DBsmL
192.168.4.1       1 Full/-          22m17s             3.866s 10.0.41.1       e5:10.0.41.2                         0     0     0
192.168.3.1       1 Full/DR         22m14s             3.479s 10.0.13.2       e6:10.0.13.1                         0     0     0
1.1.1.1           1 Full/Backup     22m10s             3.200s 10.0.12.2       e7:10.0.12.1                         0     0     0

Expected Behavior

admin@R1:/> show ospf neighbor 

Neighbor ID     Pri State           Up Time         Dead Time Address         Interface                        RXmtL RqstL DBsmL
10.0.0.4         1 Full/-          22m17s             3.866s 10.0.41.1       e5:10.0.41.2                         0     0     0
10.0.0.3         1 Full/DR         22m14s             3.479s 10.0.13.2       e6:10.0.13.1                         0     0     0
1.1.1.1          1 Full/Backup     22m10s             3.200s 10.0.12.2       e7:10.0.12.1                         0     0     0

Steps To Reproduce

Run ietf_routing/ospf_multiarea@50796912, it sets a lot of IP addresses, and use automatic router id selection on
R3, but it selects the wrong IP. Restarting ospfd changes the router id to the correct one.

@mattiaswal mattiaswal added bug Something isn't working triage Pending investigation & classification (CCB) labels Nov 6, 2024
mattiaswal added a commit that referenced this issue Nov 6, 2024
This is to workaround #807. To test automatic router id selection
a new test is required, which sets interfaces and activate ospf in
separete NETCONF/RESTCONF query.
@troglobit
Copy link
Contributor

CCB (core team meeting): should be more stable from a reboot since interfaces are created and set up at boot, in runlevel S, and ospfd is started in runlevel 2. Decision, target: future.

@troglobit troglobit removed the triage Pending investigation & classification (CCB) label Nov 12, 2024
@troglobit troglobit added this to the FUTURE milestone Nov 12, 2024
@mattiaswal
Copy link
Contributor Author

Fixed in #820

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants