100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace

What is MTU (Maximum Transmission Unit)?

Learn what MTU is, the standard 1500-byte Ethernet limit, fragmentation, and Path MTU Discovery — with networking interview Q&A.

mediumQ106 of 224 in Computer Networks Est. time: 5 minsLast updated:
Open Code Lab

Expected Interview Answer

MTU (Maximum Transmission Unit) is the largest size, in bytes, that a single packet can have on a given network link without needing to be split, commonly 1500 bytes for standard Ethernet.

Every link type has a hardware or protocol limit on frame size, and the MTU defines the largest IP packet that link can carry in one piece, excluding lower-layer framing overhead. When a packet exceeds the MTU of a link it must traverse, it is either fragmented into smaller pieces (if fragmentation is allowed) or dropped with an ICMP 'fragmentation needed' message back to the sender (if the Don’t Fragment bit is set). TCP avoids this problem proactively through Path MTU Discovery, which negotiates the largest segment size that fits every link on the path so packets never need mid-path fragmentation. Mismatched MTUs are a frequent source of mysterious connectivity issues, especially through VPN tunnels or GRE encapsulation, which add overhead and shrink the effective MTU.

  • Defines the largest packet a link can carry unfragmented
  • Path MTU Discovery avoids costly mid-path fragmentation
  • Encapsulation (VPN, GRE) reduces effective MTU and must be accounted for
  • Mismatches are a common, hard-to-diagnose connectivity bug

AI Mentor Explanation

MTU is like the maximum size of equipment bag a team bus’s cargo hold can accept in one load — bags under that size limit go in whole, but an oversized kit bag must be split into smaller ones or left behind entirely. A touring side that keeps trying to load oversized bags without repacking wastes time at every stop. Knowing the cargo hold’s limit in advance, the way Path MTU Discovery learns a path’s limit, avoids that repeated hassle.

Step-by-Step Explanation

  1. Step 1

    Link limit

    Each network link (Ethernet, PPPoE, VPN tunnel) advertises a maximum frame size it can carry.

  2. Step 2

    Packet exceeds MTU

    A packet larger than the outgoing link MTU cannot be sent as-is.

  3. Step 3

    Fragment or reject

    The device fragments the packet if allowed, or drops it and sends an ICMP "fragmentation needed" message if the Do Not Fragment bit is set.

  4. Step 4

    Path MTU Discovery

    TCP uses these ICMP messages to learn and use the smallest MTU along the entire path, avoiding future fragmentation.

What Interviewer Expects

  • Correct definition: largest packet size a link can carry unfragmented
  • Knows the standard Ethernet MTU of 1500 bytes
  • Explains fragmentation vs the Do Not Fragment / ICMP behavior
  • Understands Path MTU Discovery and how tunneling reduces effective MTU

Common Mistakes

  • Confusing MTU with bandwidth or throughput
  • Not knowing VPN/GRE encapsulation reduces effective MTU
  • Assuming fragmentation always happens silently without any signal
  • Forgetting Path MTU Discovery relies on ICMP messages that firewalls sometimes block

Best Answer (HR Friendly)

MTU is the biggest chunk of data a network connection can send in one piece — for most home and office networks that is 1500 bytes. If something tries to send a bigger chunk, it either gets split up or rejected, which is why VPNs and certain tunnels sometimes cause weird connection issues if this size is not configured correctly.

Code Example

Checking and testing MTU
# Show the current MTU on network interfaces (Linux)
ip link show | grep mtu

# Test the largest unfragmented ping size (Path MTU probe)
ping -M do -s 1472 -c 2 8.8.8.8
# 1472 bytes of data + 28 bytes overhead = 1500 total MTU

Follow-up Questions

  • What happens when a packet exceeds the MTU and the Do Not Fragment bit is set?
  • How does a VPN tunnel reduce the effective MTU?
  • What is Path MTU Discovery and why can firewalls break it?
  • What is jumbo frame MTU and when is it used?

MCQ Practice

1. What is the standard MTU for a typical Ethernet network?

Standard Ethernet has a default MTU of 1500 bytes.

2. What happens if a packet exceeds MTU and the Do Not Fragment bit is set?

The router drops the oversized packet and returns an ICMP "fragmentation needed" message to the sender.

3. What does Path MTU Discovery determine?

Path MTU Discovery finds the smallest MTU among all links on a path so packets never need mid-path fragmentation.

Flash Cards

What is MTU?The largest packet size a network link can carry without fragmentation.

Standard Ethernet MTU?1500 bytes.

What is Path MTU Discovery?A process that finds the smallest MTU along a path to avoid fragmentation.

Why does a VPN reduce MTU?Encapsulation headers add overhead, shrinking the usable payload size.

1 / 4

Continue Learning