Set the mtu value of the vro to make it easier to access the Internet.

Source: Internet
Author: User

Most of the configuration parameters of zblog are in c_option.asp. A new version of zblog1.8 is downloaded, and c_option.asp is used to replace c_option.asp in the space. After logging in, you can log in; it seems that this file is a problem. For the new and old c_option.asp, the main content is mostly the same. The difference is only some parameters. Therefore, we guess, some parameters may affect the task volume during login. The latest version of zblog1.8 combines the "Update cache" function into many operations, improving the automatic execution capability and optimizing the operation steps, the task volume will inevitably be added in these operation steps, and I have also installed the plug-in generated by the static page.

The above is a phenomenon on the one hand, and there is another situation that deserves my attention. Besides changing the c_option.asp method in the above section, the login timeout problem is solved, that is, modify the "MTU" value of the data transmission package.

The general test method is basically the same as that described here. This adjustment method is basically the same as the previous method.

MTU is the abbreviation of MaximumTransmissionUnit.

It indicates the maximum data packet transmitted over the network. The unit of MTU is byte. MTU of most network devices is 1500. If the MTU of the local machine is larger than the MTU of the gateway, large data packets will be split for transmission, which will produce a lot of data packet fragments, increase the packet loss rate, and reduce the network speed. Set the MTU of the local machine to be smaller or the same as the MTU of the gateway to reduce packet loss.

How does one detect the MTU of the Gateway?

Open the dos window on the local machine and execute:

Ping-f-l1452192.168.1.1

192.168.1.1 is the gateway IP address, and 1452 is the length of the data packet. Note that the preceding parameter is "-l" in lower case, rather than "-1 ". If the packet can be pinged, it means that the packet does not need to be split and can be sent out through the gateway. If:

PacketneedstobefragmentedbutDFset.

PacketneedstobefragmentedbutDFset.

PacketneedstobefragmentedbutDFset.

PacketneedstobefragmentedbutDFset.

Indicates that data packets need to be split and sent. In this case, reduce the packet length and then execute the ping command above. Try the packet length several times from 1400 to 1472. Add the packet length to the packet header by 28 bytes to obtain the MTU value. If the MTU value of the gateway is 1500, no modification is required. If the gateway cannot be pinged through a firewall, set MTU to 1400.

Ping-f-l1452192.168.1.1 C: \ DocumentsandSettings \ Administrator>

Pinging192.168.1.1with1452bytesofdata:

Replyfrom192.168.1.1: bytes = 1452 time = 5 msTTL = 64

Replyfrom192.168.1.1: bytes = 1452 time = 5 msTTL = 64

Replyfrom192.168.1.1: bytes = 1452 time = 5 msTTL = 64

Replyfrom192.168.1.1: bytes = 1452 time = 1 msTTL = 64

The response is displayed! 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!

Note: After I set it to 1452 + 28 = 1480, some websites may fail to be opened and Remote Desktop cannot be logged on through the domain name. The remote desktop can be logged on through the ip address ), after setting MTU to 1452, all these problems are solved. At this time, it is normal to log on to the zlbog background and log on to the remote desktop using the domain name.

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.

How to modify the MTU of the Local Machine? The modification method is as follows:

1 ),Run regedit

2 ),Browse to: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Tcpip \ Parameters \ Interfaces

3 ),Interfaces has multiple sub-items, each of which corresponds to a network card. Select the NIC as follows:

4 ),Determine the NIC or IP address used by the local machine to connect to the Internet, such as 192.168.0.19;

5 ),Click the subitem on Interfaces to view the IPAddress item in the key value list;

6 ),If the IPAddress key is the same as the IP address in 4), that is, 192.168.0.19, this subitem is the network adapter to be found.

7 ),Enter this subitem, right-click in the window on the right, select "new"> "double byte value", enter the name "MTU", and press Enter. Double-click "MTU" and the modification window is displayed. 3: Enter the MTU value. Set the base number to decimal. After the configuration, You need to restart the machine to make it take effect.

Practice, restart, test, and finally get the best network status, explore the limits, and work hard, there will be good results.
 

Related Article

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.