aboutgitcodebugslistschat
path: root/doc/demo.sh
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-07-21 10:03:29 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-07-21 10:03:29 +0200
commit5ec9ad7e9d27277e614ff107578466216be01de6 (patch)
tree4b19cfaf6e1ed095b403b22dbf95f5a8a16eccb2 /doc/demo.sh
parent38a4fae186a007caf240e6bfb31947ffc2a7738b (diff)
downloadpasst-5ec9ad7e9d27277e614ff107578466216be01de6.tar
passt-5ec9ad7e9d27277e614ff107578466216be01de6.tar.gz
passt-5ec9ad7e9d27277e614ff107578466216be01de6.tar.bz2
passt-5ec9ad7e9d27277e614ff107578466216be01de6.tar.lz
passt-5ec9ad7e9d27277e614ff107578466216be01de6.tar.xz
passt-5ec9ad7e9d27277e614ff107578466216be01de6.tar.zst
passt-5ec9ad7e9d27277e614ff107578466216be01de6.zip
doc/demo.sh: Set MTU to 65535 for both veth interfaces
There's no reason to limit the MTU here to any lower value. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/demo.sh')
-rwxr-xr-xdoc/demo.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/demo.sh b/doc/demo.sh
index de5f546..13aa479 100755
--- a/doc/demo.sh
+++ b/doc/demo.sh
@@ -68,6 +68,8 @@ ip netns add "${ns}"
ip link del "veth_${ns}" 2>/dev/null || :
ip link add "veth_${ns}" up netns "${ns}" type veth peer name "veth_${ns}"
ip link set dev "veth_${ns}" up
+ip link set dev "veth_${ns}" mtu 65535
+ip -n "${ns}" link set dev "veth_${ns}" mtu 65535
ip -n "${ns}" link set dev lo up
ipv4_main="192.0.2.$(((ns_idx - 1) * 4 + 1))"