Messaging, web pages and MTU

Last update on November 22, 2009 08:58 AM by deri58
Published by netty5

Messaging, web pages and MTU






If the maximum transfer unit is not well set, you may have problems for sending messages if they exceed a few lines or which have attachments too large. It is also possible that some web pages are inaccessible.

1) The MTU


To detect the value of MTU to apply, post from the problem from a window DOS, run the following command:

ping-f-l [number of bytes] [IP address of your server to another on your network or your router]
for example:
ping-f-l 1400 192.168.2.1
  • If you have an answer such as:

Reply from 192.168.2.1: bytes = 1400 time = 5ms TTL = 64 
  • You can continue the test by increasing the value of the number of bytes until the answer is:
  • The packet must be fragmented but DF set.
  • So, for example, if a number of bytes of 1473, your packet must be fragmented and that a value of 1472, you have a useful answer is the 1472 value that represents your MTU.
  • To change your MTU, you must configure the registry:


Go to Start> Run> type "regedit" + ok

Under Win9x:

  • Scroll to HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ Class \ NetTrans
  • Within the NetTrans folder, you have several subfolders "0000", "0001", etc.. Find the one that contains *"DriverDesc TCP / IP", where you have to create new value.
  • In the right pane, click the right mouse button: new> String Value> Value name: enter MaxMTU; Value data: state (for our case) 1472
  • Click OK, close the registry, restart the PC.

Under WinXP:


Administrator mode:
  • > HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ Tcpip \ Parameters \ Interfaces \
  • Search the file (note there may be several that may appear identical) contain the values:


- (Default) 
- Address Type 
- DefaultGateway 
- DefaultGatewayMetric 
- DhcpClass IdBin 
- DhcpDefaultGateway 
- DhcpIPAddress 
- DhcpNameServer 
- DhcpServer 
- DhcpSubnetMask 
- DhcpSubnetMaskOpt 
- Domain 
- EnableDeadGWDetect 
- EnableDHCP 
- IPAdress 
- IPAutoconfigurationAddress 
- IPAutoconfigurationMask 
- IPAutoconfigurationSeed 
- ... 
- TCPAllowedPorts 
- UDPAllowedPorts 
- UseZeroBroadcast] 
  • In the right pane, click the right mouse button: new> DWORD> Value Name: MTU indicate; Value data: state (for our case) in 1472 by checking Base "decimal"
  • Click on OK and close the registry, restart the PC.

2) If you have a router

  • I have a router Edimax BR 6104 (G).
  • Despite setting the MTU, the problems persisted. It was therefore necessary that I set the MTU of the router.
  • Type in the explorer the IP address of the router (eg http://192.168.xx) into the software configuration of the latter,
  • Enter the password if any and click "login"
  • Click on "General Setup"> "WAN"> (in the case of a PPPoE connection) "More Configuration"
  • Under "MTU", indicating a lower value to the registry (eg 1471),
  • Click "Apply" and wait for the router is configured,

3) If you have a firewall:

  • The firewall may prevent you from displaying web pages and send emails.
  • You will need to disable (temporarily) if the options do not allow you to configure it to display the web pages you want, change it or if there is no possibility to send mails!
Best answers for « Messaging, web pages and MTU » in :
White background's problem in web pages Show Your web pages will be displayed more accurately : No background color, everything is white !!! (Like this image) To resolve this problem follow these steps : 1. Go to the "Control Panel" : Click on "Option accessibility" 2. In the...
Personalize web pages with GreaseMonkey Show Personalize web pages with GreaseMonkey What is GreaseMonkey? Example 1 Example 2 XPath Utilities removeElement() removeAttributeOfElement() setAttributeOfElement() injectCSS() Links What is GreaseMonkey? GreaseMonkey is an...
How can I save web pages on my computer? Show How can I save web pages on my computer? IE Google Chrome Firefox IE For Internet Explorer, click on the File menu. Click on "Save As" In the "Save as type" field, drop down the list and choose "Web Archive (Single...
Centering vertically a web page ShowCentering vertically a web page e .js file e .html file Centering vertically a web page; consider it as a waste time trying to achieve it with CSS. The most practical solution is to use JavaScript. e .js file Copy/paste the...
Fonts used in web pages ShowFonts used in web pages How to solve this issue? Default fonts If you have chosen the perfect font that reflects the atmosphere of your website as well as the global idea that you want the user to get from it, you should be careful...
Stopping animated images on Web pages ShowStopping animated images on Web pages Internet Explorer Mozilla Firefox Opera Ad blocking Animated images are annoying you and slow down the display of web pages you visit? Do not panic, you can stop. Internet Explorer In...
Managing images in HTML ShowHow do you display images on a web page? Having a few images on a website can make it more attractive and user-friendly. However, it is important not to go overboard, since images can take a long time to load, and in some cases can make a document...
HTML forms ShowForms Interactive forms let web page authors give their pages interactive elements, such as for receiving messages from their readers, much like the reply cards found in some magazines. The reader enters information by filling in fields or clicking...
The HTTP protocol ShowIntroduction to the HTTP protocol Since 1990 HTTP protocol (HyperText Transfer Protocol) has been the most widely used protocol on the Internet. Version 0.9 was only intended to transfer data over the Internet (in particular Web pages written in...