Use netvm_gw_ip instead of netvm_ip
They are usually identical, but this is not guaranteed.
This commit is contained in:
parent
9d10ecc08f
commit
0580fe545b
@ -95,7 +95,7 @@ if test "$command" == online; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
netns ip neighbour add to "$appvm_ip" dev "$netns_appvm_if" lladdr "$mac" nud permanent
|
netns ip neighbour add to "$appvm_ip" dev "$netns_appvm_if" lladdr "$mac" nud permanent
|
||||||
netns ip neighbour add to "$netvm_ip" dev "$netns_netvm_if" lladdr "$netvm_mac" nud permanent
|
netns ip neighbour add to "$netvm_gw_ip" dev "$netns_netvm_if" lladdr "$netvm_mac" nud permanent
|
||||||
netns ip addr add "$netvm_ip" dev "$netns_netvm_if"
|
netns ip addr add "$netvm_ip" dev "$netns_netvm_if"
|
||||||
netns ip addr add "$appvm_gw_ip" dev "$netns_appvm_if"
|
netns ip addr add "$appvm_gw_ip" dev "$netns_appvm_if"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user