mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
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>
This commit is contained in:
parent
6fe3dca78a
commit
3bb366d152
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user