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

Fun With Maths - Pool Table Puzzle

Can you make the below equation true by placing three correct balls in the picture below? 

Ntfs Cluster Size, better harddrive performance

Cluster is an computer memory unit . If you create file let's imagine 1 byte in size, a minimum of one cluster should be allocated on FAT filing system . On NTFS if file is little enough, it are often stored in MFT record itself without using additional clusters. When file grows beyond the cluster boundary, another cluster is allocated. It means the larger the cluster size, the more disc space is wasted, however, the performance is best . So if you've got an outsizes disk drive & don't mind wasting some space, format it with a bigger cluster size to realise added performance. The following table shows the default values that Windows NT/2000/XP uses for NTFS formatting: Drive size (logical volume) Cluster size Sectors ---------------------------------------------------------- 512 MB or less 512 bytes 1 513 MB - 1,024 MB (1 GB) 1,024 bytes (1 KB) 2 1,025 MB - 2,048 MB (2 GB) 2,048 bytes (2 KB) 4 2,049 MB and bigger 4,096 bytes (4 KB) 8 However, once you format the partiti...

How to Create, Edit, Delete WhatsApp Status Updates

                                            When WhatsApp turned eight in February, it has launched a new feature that seems to be pointing to a future where the app moves away from text messages, and relies much more heavily on photos and short videos - the ephemeral status update. This newest feature from the Facebook owned messaging company bears more than a passing resemblance to social rival Snapchat, and the update hasn't just added a new tab for the status in the menu on top of your screen, but also a camera button right in the middle of things, which can be used to update your status, or a contact, or group. It's an exciting change, and it's really straightforward too, but in case you have any doubts about how to use the feature, here's what you need to know about the revamped WhatsApp Status updates.