OCPBUGS-86568: Generate fallback BGP router-id on IPv6-only nodes#133
OCPBUGS-86568: Generate fallback BGP router-id on IPv6-only nodes#133cgoncalves wants to merge 1 commit into
Conversation
On IPv6 single-stack clusters where nodes have no IPv4 addresses, FRR defaults the BGP router-id to 0.0.0.0. This violates RFC 6286 and RFC 4271, causing remote peers to reject the session with "Bad BGP Identifier". Derive a deterministic router-id from the node hostname using CRC32 when no explicit router-id is configured, matching the approach already used by MetalLB's native BGP implementation. Signed-off-by: Carlos Goncalves <cgoncalves@redhat.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgoncalves The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@cgoncalves: This pull request references Jira Issue OCPBUGS-86568, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@cgoncalves: This pull request references Jira Issue OCPBUGS-86568, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@cgoncalves: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Cherry-picked from