Use it when small packets work but large transfers, TLS handshakes or SSH sessions hang.
MTU
MTU (Maximum Transmission Unit) is the largest packet an interface sends without fragmentation, usually 1500 bytes on Ethernet and 9000 for jumbo frames. Tunnels (VPN, VXLAN) reduce the effective MTU.
For Linux Networking → MTU, continue with the first unproven Topic check: Record MTU on source, logical subinterfaces/bonds/bridges/tunnels and destination-facing path. If that boundary is healthy, advance to the adjacent check: Test representative packet sizes and observe ICMP fragmentation-needed/Packet Too Big messages. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ip link show eth0 | grep mtuVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
application payload → transport segmentation → interface MTU → encapsulation overhead → path MTU → fragmentation/PMTUD feedback → receiver → workload completion
Healthy evidence: all path layers support the required effective MTU or PMTUD adjusts correctly, ICMP feedback is available and realistic application transfers complete without size-correlated loss/retransmission.
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Record MTU on source, logical subinterfaces/bonds/bridges/tunnels and destination-facing path.
- Test representative packet sizes and observe ICMP fragmentation-needed/Packet Too Big messages.
- Capture retransmissions or black-hole symptoms during the actual application transfer.
- After adjustment, repeat the original workload at realistic payload sizes.
Verification chain. application payload → transport segmentation → interface MTU → encapsulation overhead → path MTU → fragmentation/PMTUD feedback → receiver → workload completion
Step 3 Verification path Verify boundary
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: small probes work while large flows stall, MTU differs across bond/VLAN/bridge/tunnel layers, ICMP PTB is filtered or jumbo settings stop at only part of the path.
Next check: Continue from the first step that has not been verified: confirm namespace and configuration owner, inspect ifindex/link/address/neighbor/route state for the exact flow, verify L2/MTU construction and packet movement, then test the listening service and return path before making additional changes.
Step 5 Common mistakes Narrow the fault
- MTU changed on the host but not the switch path.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
tracepath <dest>— path MTUip -br addr— interfaces and addressesip route— routing table and default routeip neigh— ARP/neighbour cacheip route get <dest>— route, interface and source chosen for a destinationnmcli device status / networkctl— which tool manages each interface
ReferenceWhat it is1 section · depth on demand
Core model
Compare MTU at every logical layer of the path and account for encapsulation overhead. Reproduce with packet sizes and DF/IPv6 semantics appropriate to the protocol. Suspect PMTUD black holes when small traffic works but larger TCP/TLS/application transfers stall, especially when ICMP feedback is filtered.
ReferenceWhy it matters1 section · depth on demand
Overview
MTU on Linux:
ip link show eth0 | grep -o 'mtu [0-9]*'
ip link set eth0 mtu 9000
nmcli con mod storage 802-3-ethernet.mtu 9000
ping -M do -s 8972 10.20.0.10 # 9000 MTU path test
tracepath 10.20.0.10 # discovers path MTU
ip route get 10.20.0.10 | grep mtu
Overlay and VPN interfaces need lower MTUs (VXLAN 1450, WireGuard 1420 typical) or larger underlay MTU. PMTU discovery breaks when firewalls drop ICMP "fragmentation needed" — symptoms: SSH works, large transfers or TLS handshakes hang.
ReferenceImportant terms & boundaries5 sections · depth on demand
What this shows and what it does not
A local MTU value shows only one interface setting; effective path MTU and application transfer behavior require end-to-end evidence.
In depth
MTU on Linux: interface, route and path
The MTU on Linux can be set in three places, and they interact:
- Interface: the interface MTU is set with
ip link set dev <if> mtu <n>or in the network configuration. - Route: a per-route
mtu, optionally withlockto disable path MTU discovery for that route (ip-route(8)). - Path: the learned path MTU, which the kernel caches per destination.
The kernel's IP sysctl documentation describes the PMTU settings:
min_pmtu(default 552) is the lowest value a cached path MTU can drop to.ip_no_pmtu_discdisables or hardens path MTU discovery.tcp_mtu_probingcontrols packetization-layer PMTU discovery: 0 off, 1 on when an ICMP black hole is detected, 2 always on. It's useful where ICMP is filtered.
Typical MTU values
| Interface | MTU |
|---|---|
| Ethernet | 1500 |
| Jumbo frames (storage, backup networks) | 9000 |
| VXLAN over a 1500-byte underlay | 1450 |
| WireGuard (default) | 1420 |
| PPPoE | 1492 |
Finding the real path MTU
| Tool | Example |
|---|---|
tracepath | Shows the PMTU per hop without root |
ping with DF | ping -M do -s 1472 <dst> tests 1500 bytes (1472 + 28) |
| Cached PMTU | ip route get <dst> shows cache expires ... mtu 1400 |
host$ ip link show eth0 | grep -o "mtu [0-9]*"
mtu 9000
host$ ping -M do -s 8972 -c 2 10.99.0.25
PING 10.99.0.25 (10.99.0.25) 8972(9000) bytes of data.
ping: local error: message too long, mtu=1500
host$ tracepath -n 10.99.0.25
1: 10.110.0.1 0.412ms
2: 10.0.12.2 0.633ms pmtu 1500
host$ ip route get 10.99.0.25
10.99.0.25 via 10.110.0.1 dev eth0 src 10.110.0.64
cache expires 584sec mtu 1500
host$ sysctl net.ipv4.tcp_mtu_probing
Reading the example
The host interface is set to 9000, but a router on the path only supports 1500. Path MTU discovery learned that and cached it for 10 minutes. If ICMP "fragmentation needed" messages were filtered, large transfers would hang instead. Setting tcp_mtu_probing=1 helps TCP recover in that case.
Documented example, not captured output.
How it works at runtime
MTU is part of Linux Networking → MTU. MTU defines the maximum Layer 3 packet size accepted/transmitted on an interface path; effective path MTU can be lower because of tunnels, VLAN/encapsulation overhead or intermediate links, and IPv4 fragmentation/IPv6 PMTUD behavior differs.
Topic-specific state model. MTU defines the maximum Layer 3 packet size accepted/transmitted on an interface path; effective path MTU can be lower because of tunnels, VLAN/encapsulation overhead or intermediate links, and IPv4 fragmentation/IPv6 PMTUD behavior differs.
Technical metadata. Host, distribution/release, kernel, incident/change time, network namespace inode/name, process namespace, ifindex/interface name/type/MAC, parent/master/peer, admin/carrier/operstate, addresses/prefixes, neighbor IP/MAC/NUD state, policy rules, route table/prefix/type/metric/nexthop/source, configuration owner/profile/renderer, VLAN ID, bond mode/member/LACP state, bridge port/FDB/VLAN state, interface/path MTU, counters/drops/errors, packet capture point, socket/listener, forward/return path and original workload result.
Interpretation rule. - Interface MTU matches peer ≠ end-to-end path MTU is sufficient.
- Small ping succeeds ≠ large TCP/TLS payloads fit the path.
- Jumbo MTU configured locally ≠ switch/tunnel/peer supports it end-to-end.
- TCP connection established ≠ data transfer avoids PMTUD/fragmentation failure.
Mechanics
Important negative cases include wrong namespace/interface, stale route/neighbor, resolver mismatch, firewall shadowing, socket bind conflict, SSH auth/host-key issue, MTU/asymmetry or return-path failure.
Limits and how it fails
Primary failure point. A local MTU value shows only one interface setting; effective path MTU and application transfer behavior require end-to-end evidence.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Linux Networking → MTU. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/networking/index.html · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
MTU operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for MTU.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | MTU defines the maximum Layer 3 packet size accepted/transmitted on an interface path; effective path MTU can be lower because of tunnels, VLAN/encapsulation overhead or intermediate links, and IPv4 fragmentation/IPv6 PMTUD behavior differs. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin host + namespace + exact flow → identify configuration owner/renderer → identify ifindex/interface + topology → inspect link/carrier → inspect addresses → inspect neighbor resolution → reproduce route/rule lookup → verify VLAN/bond/bridge/MTU as relevant → inspect packets/socket → verify return path → repeat original workload. | Use the shortest evidence path first; a fast check is a boundary test, not blanket proof. |
| Verification chain | application payload → transport segmentation → interface MTU → encapsulation overhead → path MTU → fragmentation/PMTUD feedback → receiver → workload completion | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | A local MTU value proves only one interface setting; effective path MTU and application transfer behavior require end-to-end evidence. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux networking evidence can establish this proof path: application payload → transport segmentation → interface MTU → encapsulation overhead → path MTU → fragmentation/PMTUD feedback → receiver → workload completion | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It does not independently prove behavior outside the captured namespace, interface, local kernel, L2/path or workload scope. A local MTU value proves only one interface setting; effective path MTU and application transfer behavior require end-to-end evidence. | Do not promote a local success signal into end-to-end or adjacent-dependency proof. |
| Next troubleshooting check | Continue from the first unproven boundary: confirm namespace and configuration owner, inspect ifindex/link/address/neighbor/route state for the exact flow, verify L2/MTU construction and packet movement, then test the listening service and return path before making additional changes. | Continue to the next unresolved boundary while preserving the original test condition. |
MTU · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | MTU |
|---|---|
| Topic path | Linux Networking → MTU |
| Runtime state | MTU defines the maximum Layer 3 packet size accepted/transmitted on an interface path; effective path MTU can be lower because of tunnels, VLAN/encapsulation overhead or intermediate links, and IPv4 fragmentation/IPv6 PMTUD behavior differs. |
| Fast checks | - Record MTU on source, logical subinterfaces/bonds/bridges/tunnels and destination-facing path. - Test representative packet sizes and observe ICMP fragmentation-needed/Packet Too Big messages. - Capture retransmissions or black-hole symptoms during the actual application transfer. - After adjustment, repeat the original workload at realistic payload sizes. |
| Verification chain | application payload → transport segmentation → interface MTU → encapsulation overhead → path MTU → fragmentation/PMTUD feedback → receiver → workload completion Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary. |
| Failure boundary | A local MTU value proves only one interface setting; effective path MTU and application transfer behavior require end-to-end evidence. Boundary chain: process/socket namespace → source/rule/FIB → neighbor → netfilter/eBPF/qdisc → virtual/physical device → peer → return → application. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |
Deep reference
Healthy vs suspicious evidence
Commands
ip link show eth0 | grep mtu
ping -M do -s 8972 10.0.0.2
tracepath 10.0.0.2