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

[BUG] SR Linux does not advertise loopback prefix into BGP #1069

Closed
ipspace opened this issue Apr 9, 2024 · 4 comments · Fixed by #1200
Closed

[BUG] SR Linux does not advertise loopback prefix into BGP #1069

ipspace opened this issue Apr 9, 2024 · 4 comments · Fixed by #1200
Assignees
Labels
bug Something isn't working

Comments

@ipspace
Copy link
Owner

ipspace commented Apr 9, 2024

Based on https://netlab-cicd.pages.dev/srlinux/clab/bgp/04-originate.yml-validate.log, it seems that SR Linux (under some circumstances?) does not add its loopback address into the BGP table even when the bgp.advertise_loopback is set to True.

The device that does not originate its loopback prefix in BGP is a standalone router with a single EBGP session, which makes it even more intriguing.

Topology @ https://github.com/ipspace/netlab/blob/dev/tests/integration/bgp/04-originate.yml

@ipspace ipspace added the bug Something isn't working label Apr 9, 2024
@jbemmel
Copy link
Collaborator

jbemmel commented Apr 9, 2024

I am able to run that test case and it validates eventually. I did notice a delay, not sure where that is coming from

@ipspace
Copy link
Owner Author

ipspace commented Apr 10, 2024

I had to tweak numerous BGP timers on Cisco IOS to get it to originate prefixes in reasonable time. No such problems on most other platforms.

It is interesting, though, that the prefix specified in the bgp.originate attribute gets advertised pretty quickly while the one configured on the loopback interface is not.

@jbemmel
Copy link
Collaborator

jbemmel commented May 29, 2024

Test passes for me now

@ipspace
Copy link
Owner Author

ipspace commented May 30, 2024

Test passes for me now

Correct. The test results @ https://tests.netlab.tools/_html/srlinux-clab-bgp have been updated.

@ipspace ipspace closed this as completed May 30, 2024
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
None yet
Development

Successfully merging a pull request may close this issue.

2 participants