Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

MTU

Direct answer

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.

When to use this

Use it when small packets work but large transfers, TLS handshakes or SSH sessions hang.

First 30 seconds

1. ip link show <if> — MTU?

2. ping -M do -s 1472 <dest> (1472 + 28 = 1500) — passes?

3. Lower until it passes → the real path MTU.

4. tracepath <dest> — reports pmtu.

5. Fix: set MTU consistently, allow ICMP, or clamp TCP MSS on the tunnel.

Operational verification

interface MTU → packets sized to fit → path MTU discovered via ICMP → no black-holed large packets

Evidence · next step

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
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Key commandip link show eth0 | grep mtu
Scope / prerequisiteUse it when small packets work but large transfers, TLS handshakes or SSH sessions hang.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

6 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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

Exercise one safe negative or boundary case implied by wrong namespace/interface, stale route/neighbor, resolver mismatch, firewall shadowing, socket bind conflict, SSH auth/host-key issue, MTU/asymmetry or return-path failure.

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.
Step 6 Where it fails Narrow the fault

Common failure classes are wrong namespace/interface, stale route/neighbor, resolver mismatch, firewall shadowing, socket bind conflict, SSH auth/host-key issue, MTU/asymmetry or return-path failure.

Evidence references

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.

observation · 1
Key points

Path MTU discovery needs ICMP "fragmentation needed" / IPv6 "packet too big" to reach the sender — blocking ICMP breaks it. Test with DF-set pings of decreasing size. MTU must match on all hosts in a Layer 2 segment.

Key checks
  • tracepath <dest> — path MTU
  • ip -br addr — interfaces and addresses
  • ip route — routing table and default route
  • ip neigh — ARP/neighbour cache
  • ip route get <dest> — route, interface and source chosen for a destination
  • nmcli 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 with lock to 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_disc disables or hardens path MTU discovery.
  • tcp_mtu_probing controls 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

InterfaceMTU
Ethernet1500
Jumbo frames (storage, backup networks)9000
VXLAN over a 1500-byte underlay1450
WireGuard (default)1420
PPPoE1492

Finding the real path MTU

ToolExample
tracepathShows the PMTU per hop without root
ping with DFping -M do -s 1472 <dst> tests 1500 bytes (1472 + 28)
Cached PMTUip 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

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.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Keep interface identity, VLAN/bond/bridge membership, MTU, addresses, routes/rules and DNS policy explicit.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

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%
Technical changelog & impact

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.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

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.

Aliases that resolve here
linux mtupath mtu linuxPMTUD linuxjumbo frames linux
Embedded reference data

Quick lookup tables

MTU operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for MTU.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateMTU 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 verificationPin 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 chainapplication payload → transport segmentation → interface MTU → encapsulation overhead → path MTU → fragmentation/PMTUD feedback → receiver → workload completionTrace requested/configured state through effective state to the observed workload result.
Failure boundaryA 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 evidenceCorrelated Linux networking evidence can establish this proof path: application payload → transport segmentation → interface MTU → encapsulation overhead → path MTU → fragmentation/PMTUD feedback → receiver → workload completionUse this observation only for the specific claim it actually supports.
Evidence limitIt 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 checkContinue 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 boundaryMTU
Topic pathLinux Networking → MTU
Runtime stateMTU 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 chainapplication 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 boundaryA 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 ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Depth when you need it

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
Confirmation

Confirm action

Continue?