Use better forceful arping command
Send ARP responses with the source IP in it to force update even if the old primary did not cleanly terminate (during fencing for instance).
This commit is contained in:
@ -118,9 +118,9 @@ def createIPAddress(ipaddr, cidrnetmask, dev):
|
||||
)
|
||||
)
|
||||
run_os_command(
|
||||
'arping -A -c3 -I {} {}'.format(
|
||||
dev,
|
||||
ipaddr
|
||||
'arping -A -c3 -I {dev} -P -U -S {ip} {ip}'.format(
|
||||
dev=dev,
|
||||
ip=ipaddr
|
||||
),
|
||||
background=True
|
||||
)
|
||||
|
Reference in New Issue
Block a user