MTU, or maximum transmission unit, is the size of the largest packet that the network can transmit. Anything larger than the set MTU is broken up into smaller fragments, which essentially slows down the transmission. Most home networks are set to its router’s default MTU settings. Setting the MTU on your home network to its optimal value can significantly improve your network’s performance.

Part 1
Part 1 of 2:

Determine the Correct MTU for Your Network

  1. 1
    Launch the command prompt. From your desktop, click on "Start" to launch your Programs menu. Click "Run" and type in “incommand” (for Windows 95, 98, and ME) or “INCMD” (for Windows NT, 2000, and XP), without the quotation marks.
    • This will call the command prompt by launching a black window.
  2. 2
    Search for the command prompt. If your Windows operating system is newer or doesn’t have the Run option from step 1, you can find the command prompt by navigating through the Programs menu.
    • Click on "Start," then "All Programs." Look for the Accessories folder and open it. Click on "Command Prompt." This will call the command prompt by launching a black window.
    • You can skip this step if you’ve already found the command prompt from step 1.
    Advertisement
  3. 3
    Set ping syntax. In the command prompt window, type the following syntax: ping [url] [-f] [-l] [MTU value].
    • There’s a space in between each command. This is quite technical, but just follow the syntax.
    • The next few steps will explain the parameters of the syntax.
  4. 4
    Set a URL. In the syntax from step 3, after the command “ping,” type in a URL or website address you commonly use. This is the website the command will send a ping to.
    • For example, use www.yahoo.com or www.google.com.
  5. 5
    Set a test packet size. In the syntax from step 3, the last parameter states “MTU value.” This pertains to the test packet size in bytes that would be sent together in your ping. It’s a four-digit number.
    • Try to start with 1500.
  6. 6
    Send the ping. If you use Yahoo’s website, the syntax would be as follows:
    • ping www.yahoo.com –f –l 1500
    • Press "Enter" on your keyboard to send the ping.
  7. 7
    Read the diagnosis. After the ping, the results will be shown on the command prompt. If the results display “Packet needs to be fragmented but DF set,” this means the packet size isn’t optimal yet.
    • Proceed to step 8.
  8. 8
    Reduce the MTU value. Reduce the packet size by 10 or 12 bytes. You’re trying to figure out the correct packet size that won’t need fragmentation.
  9. 9
    Resend the ping. Repeat step 6 using the adjusted or reduced MTU value.
    • Repeat steps 6 to 9 until you don’t see a message saying that the packet still needs to be fragmented.
    • Once you don’t see the message anymore, proceed to step 10.
  10. 10
    Increase MTU value. Once you have a packet size or MTU value that doesn’t fragment, increase this value in small increments.
    • Try increments of 2 or 4 bytes.
  11. 11
    Resend the ping. Send another ping using the adjusted or increased MTU value.
    • Repeat steps 10 to 11 until you determine the largest packet size that won’t be fragmented.
  12. 12
    Add 28 to the MTU value. Take the maximum packet size you got from the ping tests and add 28 to it. These 28 bytes are reserved for the header data. The resulting value is your optimal MTU setting.
  13. Advertisement
Part 2
Part 2 of 2:

Set the Correct MTU for Your Network

  1. 1
    Launch router configuration. Go to your web browser and type in your router’s configuration IP address. Log in using your admin user name and password.
  2. 2
    Locate the MTU setting. Navigate through your router’s configuration settings until you find the MTU field. This may vary depending on a router’s brand and type.
  3. 3
    Input the optimal MTU value. Once you find the appropriate field, key in the MTU value you’ve computed from step 12 of part 1.
    • Remember to include the extra 28 bytes.
  4. 4
    Save the settings. Click on "Save" to save your changes.
    • Your network is now set to its optimum MTU.
  5. Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 81,412 times.
How helpful is this?
Co-authors: 8
Updated: August 17, 2022
Views: 81,412
Categories: Networking Hardware
Advertisement