MTU and performance validation
Packet size and the path
MTU is the largest packet size a given link can carry at the specified layer without needing fragmentation; path MTU is the limiting IP MTU along a path. With path IP MTU 1400 bytes and ordinary IPv4 and TCP headers of 20 bytes each, the maximum TCP data in one packet is 1360 bytes. For IPv6 with its 40-byte base header and a 20-byte TCP header, it is 1340 bytes. Options, extension headers and encapsulation can reduce actual payload; advertised MSS and actual transmitted payload are not always identical.
Recognize a possible PMTU black hole
A fictional path has a 1500-byte source IP MTU and a tunnel with outer IP MTU 1500 and assumed 80 bytes total added overhead. Its inner IP budget is 1420 bytes. Small requests work; a trace records repeated full-size IPv4 DF packets of 1500 bytes and no corresponding ACK or ICMP fragmentation-needed message at the sender. A PMTU black hole is plausible, not proven: the error could be filtered, not generated, lost or omitted by the capture. IPv6 routers do not fragment forwarded packets; IPv6 PMTUD relies on Packet Too Big messages. Packetization-layer probing can help when appropriate to the transport.
Verify and repair with a rollback
Inspect tunnel overhead, interface MTUs and both sides of the path using approved read-only evidence. Compare successful small transfers with failed large ones, and confirm whether valid ICMP errors reach the sender. In a disposable lab, test a reviewed inner MTU matching verified overhead and narrow policy for necessary ICMP errors; do not disable the firewall or broadly allow unrelated traffic. Validate ordinary and large transfers in both directions, TCP and relevant datagram applications, and restore the original lab settings if checks fail. MSS clamping where supported may help TCP but does not fix every datagram path.
Plan a bounded benchmark
Optional lab only: two explicitly authorized isolated hosts, no external traffic, agreed maximum rate and duration, and a known test port. Record iperf3 version, OS, CPU/NIC, MTU, TCP or UDP, stream count, datagram size where applicable, direction, duration, and repetition count. The following documentation-checked illustration uses a private address assigned only inside the disposable lab; do not run it against an existing host. Start the server on the lab host, then the client on the other host. The TCP target is 10 Mb/s for 5 seconds, one stream; target pacing is not a hard wire-rate or resource cap. Stop if unexpected traffic or load occurs; terminate the lab server and verify it stopped. No command was executed here.
iperf3 -s -B 10.77.44.2 -1iperf3 -c 10.77.44.2 -t 5 -b 10M -P 1Interpret results and document uncertainty
A synthetic report states receiver data = 5 MB over 5 s, so the measured-layer rate is 8 Mb/s, below the 10 Mb/s target. This is fabricated practice data, not iperf3 output. iperf3 measures transport test performance, not business application latency or an SLA by itself. Compare sender/receiver counters, CPU, retransmissions and repeatability; run reverse direction only as a separate approved test. Report what you changed, what stayed fixed, sample count and whether the hypothesis survived.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
MTU and performance validation Quiz
Interpret synthetic performance evidence and its limits.
IPv6 path MTU is 1280 bytes, with a 40-byte base header and 20-byte TCP header. Maximum TCP data with no other headers?
Outer IP MTU is 1500 and total tunnel overhead is 60 bytes. Inner budget?
Small transfers work but large DF packets repeatedly fail. What is a responsible conclusion?
What does a 10 Mb/s iperf3 TCP target establish?
What should a repeatable benchmark report include?