| Login

Search this Blog


Links I like to keep around


Here are the most recent postings to this blog. Use the archive calendar or search to find other entries.
Sep17

Written by:R Teachout
9/17/2008 11:58 PM 

Determine the MTU Size Limits of the full path of an internet route

MTU Size Limits

As was mentioned previously, most likely the MTU size of all the networks between your clients and server is 1500. You can easily test this with the ping command. Use the “-l” (that’s the letter “L,” not the number “1”) option to specify the length of data to send in the ping packet. (The default is 32 bytes.) For example, you could try to send a packet that is 1500 bytes to see if it makes it. You’ll also need to use the”-f” option to mark the ping packet as “not fragmentable”—otherwise it could get broken into pieces and ruin your test.

For example, try the following command: ping yourservername –l 1472 –f

You’ll see that over the Internet (and in many routed corporate sites) the maximum length you can specify with the ping command is 1472. That’s because the IP and ICMP headers add 28 bytes to the packet, bringing the size up to an even 1500. If you get a response that says “Packet needs to be fragmented but DF set” then you know that the length you specified is bigger than the MTU size somewhere along the way. In this case, play a little “guess and check” until you find a length that results in a successful ping. Then, add 28 to that number and you have the MTU size for that route.

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment  Cancel 

Even as a longtime critic of the company, I must admit that Microsoft occasionally flirts with the truth. Well, perhaps 'flirt' is too strong a word. Let's just say Microsoft sometimes honks and waves as it drives by her house.
-InfoWorld Editor Nicholas Petreley, 06-14-99

Inspired by Nina