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

BGP messages: only iBGP should include a LocalPref #266

Closed
vaizki opened this issue Jun 21, 2018 · 0 comments
Closed

BGP messages: only iBGP should include a LocalPref #266

vaizki opened this issue Jun 21, 2018 · 0 comments
Assignees
Labels

Comments

@vaizki
Copy link

vaizki commented Jun 21, 2018

Andrey on Kubernetes Slack reported:

Hi again, just checked juniper logs regarding bgp sessions with metallb speakers and found something unexpected: speakers are sending localpref attribute to eBGP peers
BGP_ERROR_UNEXPECTED_LOCAL_PREF: bgp_recv_v4_update: external peer x.x.x.x (External AS 65400) UPDATE included LOCALPREF attribute

Indeed, only iBGP sessions inside the same AS can contain a localpref but right now it is included in all advertisements.

https://github.com/google/metallb/blob/d38ad1ef80188b6e5bcdb246cff72039d6d52e3a/internal/bgp/messages.go#L357

Probably doesn't break anything but may flood some logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants