aboutgitcodebugslistschat
path: root/doc/demo.sh
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-04-22 17:22:39 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-04-22 17:24:29 +0200
commit3bb366d15283b276238aa7e954bf3612b50ac574 (patch)
tree4686030e5e21050be72757abe2cf9634eb3cafd3 /doc/demo.sh
parent6fe3dca78ac73dca6fae1387bd2a44a538e04a9b (diff)
downloadpasst-3bb366d15283b276238aa7e954bf3612b50ac574.tar
passt-3bb366d15283b276238aa7e954bf3612b50ac574.tar.gz
passt-3bb366d15283b276238aa7e954bf3612b50ac574.tar.bz2
passt-3bb366d15283b276238aa7e954bf3612b50ac574.tar.lz
passt-3bb366d15283b276238aa7e954bf3612b50ac574.tar.xz
passt-3bb366d15283b276238aa7e954bf3612b50ac574.tar.zst
passt-3bb366d15283b276238aa7e954bf3612b50ac574.zip
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 <sbrivio@redhat.com>
Diffstat (limited to 'doc/demo.sh')
-rwxr-xr-xdoc/demo.sh1
1 files changed, 1 insertions, 0 deletions
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