Skip to content

Commit

Permalink
fix: failed to add eip (#1898)
Browse files Browse the repository at this point in the history
Co-authored-by: chenjianhui <[email protected]>
(cherry picked from commit 5befab4)
  • Loading branch information
ShaPoHun authored and oilbeater committed Sep 16, 2022
1 parent 5e06b36 commit 95ebe00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/images/vpcnatgateway/nat-gateway.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function add_eip() {
# gw may lost, even if add_vpc_external_route add route successfully
exec_cmd "ip route replace default via $gateway dev net1"
ip route | grep "default via $gateway dev net1"
exec_cmd "arping -c 3 -s $eip_without_prefix $gateway"
exec_cmd "arping -I net1 -c 3 -D $eip_without_prefix"
done
}

Expand Down

0 comments on commit 95ebe00

Please sign in to comment.