From 3bb366d15283b276238aa7e954bf3612b50ac574 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 22 Apr 2021 17:22:39 +0200 Subject: doc/demo: Bring up loopback interface in network namespace Otherwise, connections to the local host (which becomes the guest, actually) will fail. Signed-off-by: Stefano Brivio --- doc/demo.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/demo.sh b/doc/demo.sh index 3df6267..6a3cb19 100755 --- a/doc/demo.sh +++ b/doc/demo.sh @@ -47,6 +47,7 @@ ip link del veth_passt 2>/dev/null || : ip netns add passt ip link add veth_passt up netns passt type veth peer name veth_passt ip link set dev veth_passt up +ip -n passt link set dev lo up ip -n passt addr add 192.0.2.2/24 dev veth_passt -- cgit v1.2.3