dslreports logo

Expand Open navigator
The World's Most Important Recommendation: This FAQ is for pointy headed people with no life that are just dying to get their command prompt fix and do some interesting (albeit completely boring) tests. I strongly recommend you simply download DrTCP, set your MTU on your NIC(s) to 1492 as shown here, and do something better with your time. That said, if you wish to continue please proceed.

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. More detailed information about the effects of MTU can be found here.

Very Important Notes:
•Due to additional complications, VPNs require a different type of MTU test. Please refer to the VPN MTU Test.
•If you have a network with multiple PCs every computer should be set up with the same MTU. Additionally, some PCs may use several Network Adapters or a VPN client adapter on one PC so you must verify you are changing the Network Adapter associated with your broadband service or VPN client.
•Some Linksys router models/firmware have an "Auto" MTU capability that does not function correctly. You must enable the manual MTU function and adjust the size to 1492 (or less). Click here for more info.
• The built in PPPoE client for Windows XP uses an MTU that is set to 1480. For more information please reference this XP MTU article. This only applies if you are running the built in XP PPPoE client!

Finding the Correct MTU
To find the correct MTU for your configuration you must run 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. Please reference the following steps:

The command for this ping test is ping www.dslreports.com -f -l xxxx.
•You can use any well known, pingable domain like ping www.google.com -f -l xxxx in place of www.dslreports.com for the test.
•There is a single space between each command.
•"-l" is a lower case letter L, not the number one.
•The last four numbers are the test packet size.

Step 1
Open a DOS prompt screen by clicking on Start>Programs>MSDOS-PROMPT. You can also use the Run Command by clicking on Start>Run then type in "command" for Windows 95/98/ME or "cmd" for Windows 2000/XP.

Step 2
At the DOS Prompt type in ping www.dslreports.com -f -l 1472 and hit Enter. Notice that the packet needs to be fragmented. (Figure 1)



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



Step 4
Drop the test packet size down more and test again until your reach a packet size that does not fragment. (Figure 3)



Step 5
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.

Step 6
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 Your optimum MTU Setting


Step 7
You can download DrTCP here or find a similar registry editing application that will allow you to easily change your MTU. An example of changing the MTU using DrTCP is shown below. (Figure 4)



Additional Important Information
Very Important Note: There may be more than one network adapter showing in the pull down menu for your PC. You must make sure you change the MTU on the correct network adapter associated with your broadband connection or VPN client. You must also reboot your computer in order for the new settings to take place. Additionally, if you have a network with more than one computer, all NICs and router(s) should have the the same MTU setting. Please reference the links below to learn how to change the MTU on some popular routers:
MTU change on a Linksys Router
MTU change on a D-Link Router

Andy Houtz


Feedback received on this FAQ entry:
  • How do you do this with OSX (Macintosh OS) ?

    2018-10-03 13:55:01 (OldDSL See Profile)

  • how to easily check MTU settings on Win7? Open CMD as administrator and write: netsh interface ipv4 show subinterface

    2015-07-16 03:08:42

  • So 1472 + 28 is 1500..

    2015-05-31 20:00:35

  • thanks a lot! I got 1472. great help!

    2015-03-20 23:23:41

  • For all the people that are getting the timed out message, this means that the server is not replying to your ping requests or there is a network issue. Try using another server like www.google.com in place of www.dslreports.com.

    2014-11-30 23:18:41

  • at 1372 I receiv request timed out. what does that mean?

    2014-07-30 16:31:48

  • when I do a ping test when I reach 1472 I get a message saying - Request timed out. What does this mean and what do I do.

    2014-07-18 16:50:17

  • If you're having issues with SSL connections, then subtract a further 26

    2014-06-13 06:14:48

  • as was directed, i started with 1500, up to 1473 the message was the same as above. but when i got to 1472. with the said ping command reply was: request timed out again... what seems to be the problem please help..

    2014-02-27 19:46:32

  • Is drtcp suitable for windows 8?

    2013-12-01 15:37:01

  • Thanks a lot. Changing to 1468 solved my problem. You were a great help.

    2013-06-22 14:16:41

  • Thanks a lot.. I was struggling with my internet connection. This one worked perfectly. Thank you very much once again !!!

    2013-05-01 09:08:22

  • Some platforms (linux, Windows, Cisco etc) have a slightly other way of calculating the payload and MTU size. Some take the payload including 28 bit headers and info, like Cisco. With others you still need to add 28 bits to the maximum payload to get the correct MTU size. If you are looking for a way to do this from an external source to the outside of your router, automatically, you could try the following MTU test: http://www.letmecheck.it/MTU-test.php It will also check if the ‘divisible by 8′ rule is respected.

    2013-02-11 02:24:09

  • thanks so much. been going round in circles trying to work out why couldnt get to certain sites through my firewall that used to work untill i changed isp. did the tests and changed MTU, hey presto it all works again!!! thankyou!!

    2012-09-24 18:37:38

  • The Cisco documentation and the WRT310N router default to 1500 for cable connections and a little lower for DSL connections. I had severe latency and jitter issues until I changed the "auto" setting on the router to 'manual' at MTU 1500 for my Comcast cable connection. So far it seems to be super fast.

    2012-01-29 16:37:02

  • In linux use this command: ping www.dslreports.com -c 4 -M do -s 1472

    2012-01-17 06:54:57

  • I was having throughput issues using Clear WiMax as my ISP, and correcting the MTU setting made a WORLD of difference. In my case, I had to set the MTU to 1400 (fragmenting occurred above 1372 when doing the test noted on this page). This same issue has been noted by other users of Clear.

    2011-09-10 00:04:05

  • After days of disconnects with a motorola 2210 and bellsouth florida, I did the mpu ping test. I set it up to 1440+28=1468 and zoom, I'm streaming video to my TV again. Thanks a bunch.

    2009-09-26 15:49:57 (saltwater43 See Profile)

  • Thank you for this. I do have a Linksys router and for the life of me couldn't figure out why my upstream connection was so awful. Setting the MTU to manual and 1492 did the trick! Thanks again!

    2008-10-20 19:54:30



Expand got feedback?

by Andy Houtz See Profile edited by FAQFixer See Profile
last modified: 2008-12-12 13:25:03