Got it

MTU Setting

Latest reply: Oct 12, 2021 04:22:29 314 7 8 0 0

Hello everyone,

Today I will share with you the principles for configuring the MTU of an Ethernet interface.

Basic Principles

Basic principle: The MTU configurations of the Ethernet interfaces on the two interconnected Layer 3 devices must be the same.

Basic Principles

Scenario 1: Inconsistent MTU Configurations

If the MTU configurations at the two ends are inconsistent, as shown in the following figure:

Scenario 1: Inconsistent MTU Configurations

A discards the packets that exceed the MTU from B, and B can receive the packets from A.

Scenario 2: Multi-hop Networking

For the following networking:

Scenario 2: Multi-hop Networking

The 1600-byte packet sent from C to A is divided into two fragments at B and reassembled into one packet at A.

The 1500-byte packet sent from A to C is directly forwarded to C from B. Fragmentation and reassembly are not performed.

Scenario 3: Layer 2 devices are connected in series.

If a Layer 2 device is connected in series, the MTU of the Ethernet interface must be equal to the MTU of the Layer 3 device at both ends. However, the LAN switches of some vendors support the MTU larger than 1500 bytes by default.

Scenario 3: Layer 2 devices are connected in serie

Note: Layer 2 devices do not support IP fragment reassembly.

IP Fragmentation/Reassembly Instance

Assume that Host1 sends a 1600-byte IP packet to Host2. The fragmentation on each interface is as follows:

IP Fragmentation/Reassembly Instance

After all the fragments are sent to the destination IP address (Host2), the 1600-byte IP packet sent by Host1 is reassembled.

Note: After IP packets are fragmented, they are reassembled to the destination IP address, not to the peer end.

Configuration

For example: set the MTU value of interface GigabitEthernet 0/0/1 to 1400

<sysname> system-view

[sysname] interface GigabitEthernet 0/0/1

[sysname-GigabitEthernet0/0/1] mtu 1400

 

That is all I want to share with you! Thank you!


andersoncf1
MVE Author Created Jun 15, 2021 15:03:36

Thanks for sharing.
View more
  • x
  • convention:

PanchakS
PanchakS Created Oct 1, 2021 05:50:33 (0) (0)
 
Nice. Keep up the good work.
View more
  • x
  • convention:

Good example
View more
  • x
  • convention:

Very interesting to know, learned
View more
  • x
  • convention:

Good
View more
  • x
  • convention:

AL_93
Moderator Created Oct 12, 2021 04:22:29

Very interesting post
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.