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:
parent
ef3b6b3723
commit
e92a57606d
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue