Pcornel
Windows · Windows Networking

MTU

Cheat sheet · https://pcornel.dk/topic.php?topic=3072

Back to the Topic

Answer

Windows MTU is the maximum IP packet size a specific interface/path segment can transmit without requiring fragmentation behavior; effective end-to-end Path MTU may be lower than the local interface MTU.

Remember

  • Interface MTU is local configuration; Path MTU is an end-to-end property.
  • IPv4 and IPv6 handle fragmentation differently; IPv6 routers do not fragment transit packets.
  • ICMP/ICMPv6 error signaling is important for Path MTU Discovery.
  • A successful small ping does not prove large-packet delivery.
  • Tunnels/VPNs add overhead and can lower effective payload MTU.

First checks

  • Get-NetIPConfiguration — addresses, gateway and DNS per interface
  • Get-NetAdapter — adapters, status and link speed
  • Get-NetRoute -AddressFamily IPv4 — routes and metrics
  • Test-NetConnection <host> -Port <p> — ping, route and TCP port test
  • ipconfig /all — full IP configuration

Verify in this order

interface MTU → DF ping test → path MTU → consistent sizes

Where it usually breaks

First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.

Windows Networking → MTU reference map

BoundaryMeaningEvidence limit
Interface MTULocal IP-layer limitnot end-to-end Path MTU
Path MTUSmallest effective path limitcan vary by route/tunnel
IPv4 DFPrevents in-path fragmentation for test/contextrequires ICMP feedback on failure
IPv6 PTBPacket Too Big signalingcritical because routers do not fragment
ApplicationReal transfer behaviorfinal user-visible validation

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3072

Confirmation

Confirm action

Continue?