Objective
Modifying the MTU value (that is, the maximum number of transmit bytes for a packet) may not be significant to the personal Internet user, after all, we do not have so much traffic. However, for the server is very unusual, the other side of this is to show your network expertise, on the other hand, improve network performance, so it is a small skill worth mastering. The following respectively describes the Windows and Linux MTU value modification method, the method may be single, the meaning of this article is to guide, network is a process of exploration!
One, Windows MTU
1, detection of the maximum MTU value of the gateway (using the replacement method):
Ping-l 1500-f 192.168.111.254
"-F means no unpacking"
2. Check the MTU value of each interface of the machine:
netsh interface ipv4 show subinterfaces
3. Set the MTU value of "Local Area Connection" to 1472:
netsh interface ipv4 set subinterface "Local Area Connection" mtu=1472
Second, the Linux MTU
1. Check the MTU value of the eth0:
Cat/sys/class/net/eth0/mtu
Description:/sys/class/net/eth0 also contains settings for other parameters, please know for yourself.
2. Change the MTU value of eth0 to 1472:
#echo "1472" >/sys/class/net/eth0/mtu
I am a novice, keen on network technology and Linux learning, have like-minded friends, I am glad to welcome to the Penguin Group "Computer Dream Factory."
This article is from the "Edge" blog, so be sure to keep this source http://jsjmgc.blog.51cto.com/4896296/1691724
Underestimate the MTU value