12-08-2019 05:08 PM
Hello, I am having a lot of issues to understand the MTU mismatch behavior on two network devices (two Nexus 9K connected through routed interfaces). I have been trying to find what happen if the device A (MTU 9000 bytes) connects to the device B (MTU 1500 bytes), and what would happen if a 8500 bytes frame is received in device B interface (1500 bytes MTU) from the device A interface (9000 bytes MTU). As far I have read, "MTU is the maximum packet size that can be sent through an interface and MTU does not limit the maximum packet size that can be received", but when I have tested it in my lab environment, I can see how the 8500 bytes packet is received in the Device B interface (with 1500 bytes MTU), but then the device A does not get answer from the device B (it looks like the packet is getting discarded at some point).
Why is this happening if "MTU doesn't limit the maximum packet size that can be received"? The behavior I was expecting to see is the following:
1- Device A sends an 8500 bytes ping to Device B IP (for example, ping 192.168.1.2 source 192.168.1.1 size 8500)
2- Device B receives the 8500 bytes ICMP packet (plus headers)
3- Device B then fragments the 8500 packet into smaller packets because of 1500 bytes MTU
I would like to understand why is this not happening and the packet is getting discarded? Thank you very much.
Best Regards.
12-09-2019 07:23 AM
Hello,
My opinion is that device B is receiving a packet with MTU higher that its supported MTU. So it dropped it without any notification.
if you send a ping without changing its packet size, you should receive a reply, if also you change the MTU of the device B as device A you should also receive a reply.
Anyway, it is recommended to have the same MTU between 2 Devices.
Thanks
12-09-2019 08:54 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide