Mtu mss explanation

Source: Internet
Author: User

Mtu mss explains MTUMTU, that is, Maximum Transmission Unit (Maximum Transmission Unit), which sets the Maximum Transmission Unit for data reporting over TCP/IP. Setting an appropriate MTU value can solve problems such as "some websites cannot be opened" and "slow Internet access", and appropriately increase internet access speed. The setting of the MTU value depends on your Internet access method. Different Internet access methods support different MTU values. The following lists the MTU values of some Internet access methods: EtherNet (General Internet access mode, default value ): 1500 PPPoE/ADSL: 1492 Dial Up/Modem: 576 Question 1: How do I set the MTU value when I know how to access the Internet? 1. in Start> Run, type regedit and click OK. 2. choose "HKEY_Local_Machine"> "SYSTEM"> "CurrentControlSet"> "Services"> "Tcpip"> "Parameters"> "interface"; 3. there may be many options under the interface. One by one, you will have an option that is the same as the IP address of your Nic, that is the option you want to select! Select "edit"> "new"> "DWORD Value" on this option, create a DWORD named "MTU", double-click Modify, and select "decimal, enter the appropriate MTU value. OK! Success! Question 2: I don't know how I access the internet. How can I determine the MTU value? Ping-f-l 1500 127.0.0.1 C: \ WINDOWS> ping-f-l 1500 127.0.0.1Pinging 127.0.0.1 with 1500 bytes of data: Packet needs to be fragmented but DF set. packet needs to be fragmented but DF set. packet needs to be fragmented but DF set. packet needs to be fragmented but DF set. ping statistics for 127.0.0.1: Packets: Sent = 4, encrypted ED = 0, Lost = 4 (100% loss), Approximate round trip times in milli-secon Ds: Minimum = 0 ms, Maximum = 0 ms, Average = 0 ms in the formula above,-l is L in lower case (not 1 OH ), 1500 is the MTU value we want to test. The result shows Packet needs to be fragmented but DF set. this indicates that the MTU value is too large. You need a smaller MTU value! Okay! Suppose we use 1464 for testing: C: \ WINDOWS> ping-f-l 1464 127.0.0.1Pinging 127.0.0.1 with 1464 bytes of data: Reply from 127.0.0.1: bytes = 1464 time = 10 ms TTL = 128 Reply from 127.0.0.1: bytes = 1464 time <10 ms TTL = 128 Reply from 127.0.0.1: bytes = 1464 time <10 ms TTL = 128 Reply from 127.0.0.1: bytes = 1464 time <10 ms TTL = 128 Ping statistics for 127.0.0.1: Packets: Sent = 4, Received = 4, lost = 0 (0% loss), Approximate round tr Ip times in milli-seconds: Minimum = 0 ms, Maximum = 10 ms, Average = 2 ms, the response is returned! This indicates that this MTU value is feasible! However, it is strongly recommended to find a feasible maximum MTU value! In this way, you can achieve the optimal network speed when setting it! Find the MTU value: the value found using the above method is not MTU! Due to some packet problems, the above value plus 28 is the MTU value we need! Therefore, in the above example, the MTU value we need is 1464 + 28 = 1492! Generally, the MTU value of the local machine can be designed to solve the problem that some websites cannot be opened. However, if the MTU settings of your shared host or vro are incorrect, the problem may still exist, or the network speed is too slow. The above problem can be completely solved by setting the MTU value of the router and the local machine reasonably, so as to maximize the Internet access speed. MSSMSS: Maxitum Segment Size the maximum Segment Size for the following section: MTU = 40 Bytes + mss mtu the maximum is 1500 Bytes, MSS the maximum is 1460 Bytes; PPPoE link, the maximum MTU value is 1492 Bytes, And the MSS value is 1452 Bytes. It does not matter much for optical fiber filling, but it is best for ADSL to modify it if some web pages cannot be opened.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.