Skip to content

Commit

Permalink
[bugfix] When add_eip, send a GARP for eip from net1 (#4701)
Browse files Browse the repository at this point in the history
Signed-off-by: 杨凯龙 <[email protected]>
Co-authored-by: 杨凯龙 <[email protected]>
  • Loading branch information
kldancer and 杨凯龙 authored Nov 7, 2024
1 parent 4ee107a commit 57c8239
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dist/images/vpcnatgateway/nat-gateway.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ function add_eip() {
exec_cmd "ip route replace default via $gateway dev net1"
ip route | grep "default via $gateway dev net1"
exec_cmd "arping -I net1 -c 3 -D $eip_without_prefix"
exec_cmd "arping -I net1 -c 3 -A $eip_without_prefix "
done
}

Expand Down

0 comments on commit 57c8239

Please sign in to comment.