-
Notifications
You must be signed in to change notification settings - Fork 498
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
Send both gratuitous ARP request and reply on VIP change. #426
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@vholer Is "opennebula" sudoers file also updated? i.e. Cmnd_Alias ONE_NET = /sbin/brctl, /sbin/ebtables, /sbin/iptables, /sbin/ip6tables, /sbin/ip, /sbin/ipset, /usr/bin/arping |
Yes. |
Hi,
I tested your proposed patch and it looks good:
```
tcpdump -netti any arp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
1503388499.555106 Out 52:54:00:d5:77:cf ethertype ARP (0x0806), length 44: Request who-has 172.17.158.10 (ff:ff:ff:ff:ff:ff) tell 172.17.158.10, length 28
1503388500.585401 Out 52:54:00:d5:77:cf ethertype ARP (0x0806), length 44: Reply 172.17.158.10 is-at 52:54:00:d5:77:cf, length 28
1503388501.617425 Out 52:54:00:d5:77:cf ethertype ARP (0x0806), length 44: Request who-has 172.17.158.10 (ff:ff:ff:ff:ff:ff) tell 172.17.158.10, length 28
1503388502.648417 Out 52:54:00:d5:77:cf ethertype ARP (0x0806), length 44: Reply 172.17.158.10 is-at 52:54:00:d5:77:cf, length 28
1503388503.679604 Out 52:54:00:d5:77:cf ethertype ARP (0x0806), length 44: Request who-has 172.17.158.10 (ff:ff:ff:ff:ff:ff) tell 172.17.158.10, length 28
1503388504.712967 Out 52:54:00:d5:77:cf ethertype ARP (0x0806), length 44: Reply 172.17.158.10 is-at 52:54:00:d5:77:cf, length 28
1503388505.740807 Out 52:54:00:d5:77:cf ethertype ARP (0x0806), length 44: Request who-has 172.17.158.10 (ff:ff:ff:ff:ff:ff) tell 172.17.158.10, length 28
1503388506.764769 Out 52:54:00:d5:77:cf ethertype ARP (0x0806), length 44: Reply 172.17.158.10 is-at 52:54:00:d5:77:cf, length 28
1503388507.807982 Out 52:54:00:d5:77:cf ethertype ARP (0x0806), length 44: Request who-has 172.17.158.10 (ff:ff:ff:ff:ff:ff) tell 172.17.158.10, length 28
1503388508.843003 Out 52:54:00:d5:77:cf ethertype ARP (0x0806), length 44: Reply 172.17.158.10 is-at 52:54:00:d5:77:cf, length 28
```
Other hosts are updating their mac-address table so everything ok.
Gr. Stefan
|
jfontan
pushed a commit
that referenced
this pull request
Sep 4, 2017
* Send both gratuitous ARP request and reply on VIP change. * Enable arping in sudoers * Run arping via sudo (cherry picked from commit 9be1a1a)
rsmontero
pushed a commit
that referenced
this pull request
Nov 20, 2020
atodorov-storpool
pushed a commit
to storpool/one
that referenced
this pull request
Nov 27, 2020
atodorov-storpool
pushed a commit
to storpool/one
that referenced
this pull request
Nov 27, 2020
atodorov-storpool
pushed a commit
to storpool/one
that referenced
this pull request
Jan 4, 2021
atodorov-storpool
pushed a commit
to storpool/one
that referenced
this pull request
Jan 7, 2021
rsmontero
pushed a commit
that referenced
this pull request
Jan 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.