Skip to content

17 Jumbo frames ​

Two links side by side, one with a 9000-byte MTU, to see what MTU means for packets and throughput.

What you practice ​

  • mtu on a link, and the matching mtu in the guest
  • Testing path MTU with ping -M do -s <size>

Topology ​

NodeImageCPUs / memoryAddressesRole
adebian-131 / 1GiBmgmt 10.117.0.11; jumbo 172.16.17.1/30; std 172.16.17.5/30End A
bdebian-131 / 1GiBmgmt 10.117.0.12; jumbo 172.16.17.2/30; std 172.16.17.6/30End B

Before you start ​

bash
vz image pull disk debian-13

Run it ​

bash
cd examples/17-jumbo-frames
vz validate
vz up
vz node ls
ssh lab@10.117.0.11        # password: lab

First boot installs packages; give it a minute or two after vz up returns.

Try it ​

bash
ssh lab@10.117.0.11 'ping -c 2 -M do -s 8972 172.16.17.2'   # fits in 9000
ssh lab@10.117.0.11 'ping -c 2 -M do -s 8972 172.16.17.6'   # too big for 1500
ssh lab@10.117.0.11 'ping -c 2 -M do -s 1472 172.16.17.6'   # the largest that fits
ssh lab@10.117.0.12 'iperf3 -s -D'
ssh lab@10.117.0.11 'iperf3 -c 172.16.17.2 -t 5; iperf3 -c 172.16.17.6 -t 5'

Notes ​

Every node also has a mgmt NIC on a NAT switch: out-of-band access from the Mac and package downloads. The exercise traffic stays on the links.

Clean up ​

bash
vz down
vz destroy --yes   # deletes the overlays and state of this lab