Skip to content

Commit 57c8239

Browse files
kldancer杨凯龙
and
杨凯龙
authored
[bugfix] When add_eip, send a GARP for eip from net1 (#4701)
Signed-off-by: 杨凯龙 <2436542696@qq.com> Co-authored-by: 杨凯龙 <2436542696@qq.com>
1 parent 4ee107a commit 57c8239

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dist/images/vpcnatgateway/nat-gateway.sh

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ function add_eip() {
144144
exec_cmd "ip route replace default via $gateway dev net1"
145145
ip route | grep "default via $gateway dev net1"
146146
exec_cmd "arping -I net1 -c 3 -D $eip_without_prefix"
147+
exec_cmd "arping -I net1 -c 3 -A $eip_without_prefix "
147148
done
148149
}
149150

0 commit comments

Comments
 (0)