Skip to main content

How to find the proper MTU size for Network

 Summary

One of the easy and most accurate ways to test for optimum MTU is to do a simple DOS Ping test. You will simply send out ping requests and progressively lower your packet size until the packet no longer needs to be fragmented. Although this simple test is accurate for testing end points, users may find that a lower MTU may be better for their particular circumstances. 
Important Note: MTU must be 1492 (or lower) when using PPPoE connectivity.


MTU (Maximum Transfer Unit)

Network                          MTU (bytes)
-------------------------------------------------
16 Mbps Token Ring      17914
4 Mbps Token Ring          4464
FDDI                                4352
Ethernet                            1500
IEEE 802.3/802.2             1492
PPPoE (WAN Miniport)   1480
X.25                                    576

Proper Value 1404

How do I find the proper MTU size on my router?

To find the proper MTU Size, you'll have to do a special ping of the destination you're trying to go to. A destination could be another computer, or a URL.

Open Teminal or Command Prompt

Core Basic Command
ping [url] [-f] [-l] [MTU value]

Example: ping yahoo.com -f -l 1472
Example: ping www.tp-link.com -f -l 1472
ping www.dslreports.com -f -l xxxx
ping www.google.com -f -l xxxx
ping www.dslreports.com -f -l 1472

in Ubuntu
Sudo ping yahoo.com -f -l 1472

Drop the test packet size down (10 or 12 bytes) and test again. Notice that the packet still needs to be fragmented

Drop the test packet size down more and test again until your reach a packet size that does not fragment

Once you have a test packet that is not fragmented increase your packet size in small increments and retest until you find the largest possible packet that doesn't fragment.

Take the maximum packet size from the ping test and add 28. You add 28 bytes because 20 bytes are reserved for the IP header and 8 bytes must be allocated for the ICMP Echo Request header. Remember: You must add 28 to your results from the ping test!

An example:
1440 Max packet size from Ping Test
+ 28 IP and ICMP headers
1468 is your optimum MTU Setting


                                              Don't forget to




Comments

Popular posts from this blog

Vuforia SDK : Download instruction, Use of Platform IDE and much more

Vuforia 7 Use the Vuforia SDK to build Android, iOS, and UWP applications for mobile devices and digital eyewear. Apps can be built with Android Studio, Xcode, Visual Studio, and Unity. As of Unity 2017.2, the Vuforia Engine is delivered with the latest version of Unity. A legacy version of the Vuforia Unity Extension is provided to assist with project migrations. Download for Android vuforia-sdk-android-7-2-23.zip (21.27 MB) Download for iOS vuforia-sdk-ios-7-2-23.zip (27.00 MB) Download for UWP vuforia-sdk-uwp-7-2-23.zip (8.90 MB) Download Unity Extension (legacy) vuforia-unity-6-2-10.unitypackage (46.20 MB) Download Unity Vuforia is integrated with the Unity Editor

Keep your device juiced up

Turn on battery saver mode to help your battery last longer. 1 Open your device's Settings app. Tap "Battery." 2 Tap the menu with three dots at the top right of your screen, then tap "Battery saver."