-
Notifications
You must be signed in to change notification settings - Fork 17
fix(ns-ha): send gratuitous ARP for WANs #1400
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements gratuitous ARP functionality for WAN interfaces in the high availability module. When the system becomes the master node, it sends gratuitous ARP packets to update switch ARP tables for WAN interfaces, which are not automatically tracked by keepalived.
Key changes:
- Adds a new
send_gratuitous_arp()function to handle gratuitous ARP packets for WAN interfaces - Integrates the function call into the main enable sequence
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
1e866a9 to
bbef2f1
Compare
Tbaile
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈
09def3b to
ca5447c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 6 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Keepalived automatically send gratuitous ARP for tracked interfaces. Since WAN interfaces are not tracked, gratuitous ARP packets must be sent just after the switch to master.
Changes: - wait for the device to be up, wait maximum 5 seconds per interface - wait for IP to be configured into the device, wait maximum 5 seconds per interface
Keepalived automatically send gratuitous ARP for tracked interfaces. Since WAN interfaces are not tracked, gratuitous ARP packets must be sent just after the switch to master.