Skip to content

Commit

Permalink
fix: arping reply may duplicate (#4477)
Browse files Browse the repository at this point in the history
Signed-off-by: oilbeater <[email protected]>
  • Loading branch information
oilbeater committed Sep 6, 2024
1 parent fd5ce31 commit b9c3c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/images/vpcnatgateway/lb-svc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function add_eip() {
exec_cmd "ip route replace $eip_network/$eip_prefix dev net1 table $ROUTE_TABLE"
exec_cmd "ip route replace default via $gateway dev net1 table $ROUTE_TABLE"
ip link set dev net1 arp on
exec_cmd "arping -c 3 -s $eip_without_prefix $gateway"
exec_cmd "arping -f -c 3 -s $eip_without_prefix $gateway"
done
}

Expand Down

0 comments on commit b9c3c21

Please sign in to comment.