-
Notifications
You must be signed in to change notification settings - Fork 4
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
[ERROR] BgpFsm::openRecv: peer BGP ID (0.0.0.11) invalid. #3
Comments
libbgp was expecting a valid IPv4 address as router ID; what did you configure as router ID on the bird side? I believe non-IPv4 addresses can be use as router ID too. You can comment out the check here [1] to get rid of the error. [1] https://github.com/Nat-Lab/libbgp/blob/master/src/bgp-fsm.cc#L344 |
I configured as |
In this case, you can comment out the checks mentioned above, or change the router ID to something that does not start with 0, 127, 224 to 239, or 240. I will push an update to fix the issue later. Thanks for reporting. |
Thanks, it is peering now. |
It looks like you guys are using validAddr4 for multiple functions. May I suggest to split the function to something more readable. like validRouterID and validNextHop. Thanks for your time. |
I'm trying to test libbgp with bird as a peer. When I run the peer-and-print.cc I get the following:
The text was updated successfully, but these errors were encountered: