How to check Network MTU

Cheat Code
ping http://www.google.com -f -l 1472

So we have issue with network connectivity that intermittently experiencing slowness (God, no one love slow network!). After checking around we found that likely it’s due to MTU settings not optimized.

First is we need to check what’s the MTU set by our router (usually it’s 1500 btw). So use the cheat code above!
Oh don’t forget to minus a magic number 28 (28 bytes is IP and ICMP header size).
You don’t want to get message “Packet needs to be fragmented but DF set.” which means your MTU is too big!
What you want to find is largest number (+28 don’t forget) that the server is responding.

Ping – Testing MTU size – NOT GOOD!
Woman Doing Goggles Hands Gesture by gratisography

Published by Feivel

We love to travel!

Leave a comment

Design a site like this with WordPress.com
Get started