This topic defines IP MTU, explains differences from Ethernet MTU, provides calculation guidelines, and introduces Maxinum Receive Unit (MRU) for Cisco routers.
In IP protocol, Maximum Transmission Unit (MTU) refers to the maximum size of an IP packet. The IP MTU is a network parameter that
-
defines the maximum size of an IP packet transmitted without fragmentation
-
includes IP headers while excluding data link layer headers, also known as Ethernet headers, and
-
defaults to 1500 bytes on router interfaces when IP is enabled. However, you can configure the IP MTU to different value as well.
The system supports IP MTU, IPv4 and IPv6, on Q200-based systems on these Cisco 8000 Series router and line card(s):
-
8201-32FH
-
88-LC0-36FH-M
How is Ethernet MTU different from IP MTU?
Ethernet MTU defines the maximum packet size that an interface supports, while IP MTU defines the MTU size of an IP packet.
How is IP MTU calculated?
The following scenarios provide information on how the system calculates IP MTU size, when:
-
Ethernet MTU is not configured, the system sets:
-
Default value as 1514 bytes on a physical or bundle main interface
-
1518 bytes for single tag VLAN interface
-
1522 bytes for double tag VLAN (QinQ) interface
In this case, IP MTU value will be 1500 bytes for IPv4 and IPv6 MTUs.
-
-
Ethernet MTU is configured as X bytes, the system sets:
-
X bytes on a physical or bundle main interface
-
X+4 bytes for single tag VLAN interface
-
X+8 bytes for double tag VLAN (QinQ) interface
In this case, IP MTU is X-14 bytes for IPv4 and IPv6 MTUs.
-
The following are some of the important guidelines for IP MTU size:
-
When no Ethernet MTU and IP MTU is configured, the default value is 1500B.
-
When Ethernet MTU and no IP MTU is configured, IP MTU value in the hardware is Ethernet MTU-14B.
-
IP MTU value can’t be more than Ethernet MTU value. For example, if the Ethernet MTU value is 3000 bytes and you configure IP MTU value as 5000 bytes. The system sets the IP MTU value as 2986 (3000-14).
What is Maximum Receive Unit (MRU) and how is it different from MTU?
MRU is the largest packet size that an interface can receive. This is an ingress parameter. Usually, MRU equals MTU. However, you can’t configure an MRU value. The Ethernet MTU, also known as a Layer 2 (L2) value that you configure on a physical interface is also applied as the MRU of that physical interface.
IP MTU support across platforms
The following table lists Ethernet MTU, IPv4, and IPv6 MTU support across various platforms and their limitations as applicable:
ASIC |
Ethernet MTU check |
IPv4 and IPv6 MTU |
|---|---|---|
Q100-based |
Ethernet MTU check on an egress interface is not supported. |
Supported and the system derives IP MTU value from Ethernet MTU. |
Q200-based |
Ethernet MTU check on an egress interface is not supported. |
Supported
|
| P100-based |
Ethernet MTU check on an egress interface is not supported. |
Supported
|