From 5ec9ad7e9d27277e614ff107578466216be01de6 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Wed, 21 Jul 2021 10:03:29 +0200 Subject: 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 --- doc/demo.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') 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))" -- cgit v1.2.3