From 0580fe545b7b4616f963694e1eddcc9788b53f38 Mon Sep 17 00:00:00 2001 From: Demi Marie Obenour Date: Sun, 22 Nov 2020 17:52:54 -0500 Subject: [PATCH] Use netvm_gw_ip instead of netvm_ip They are usually identical, but this is not guaranteed. --- network/vif-qubes-nat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/vif-qubes-nat.sh b/network/vif-qubes-nat.sh index 21b3bb1..0c38731 100755 --- a/network/vif-qubes-nat.sh +++ b/network/vif-qubes-nat.sh @@ -95,7 +95,7 @@ if test "$command" == online; then fi 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 "$appvm_gw_ip" dev "$netns_appvm_if"