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>
This commit is contained in:
parent
38a4fae186
commit
5ec9ad7e9d
1 changed files with 2 additions and 0 deletions
|
@ -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))"
|
||||
|
|
Loading…
Reference in a new issue