The MTU value causes the kvm vm wget and SCP to fail.

Source: Internet
Author: User
Tags scp file

Symptom: failed machine wget cannot be downloaded, and the test machine cannot issue the SCP file to the faulty machine, but the faulty machine can issue the SCP file to the test machine.

Tcpdump packet capture on the faulty machine finds that the data packet transmission between the faulty machine and the test machine is very slow, and the MTU problem of the faulty machine is suspected.

Normal is 1200, faulty machine is 1500

1. View MTU Value

# Cat/sys/class/NET/eth0/MTU

2. Modify MTU Value

# Echo "1200">/sys/class/NET/eth0/MTU

Or

Modify/etc/sysconfig/network-script/ifcfg-eth0

MTU = "1200"

Normal after modification to 1200

MTU is called maximum transmission unit, which indicates the maximum transmission unit, that is, the maximum number of bytes of the transmitted information package during connection. MTU determines the size of the information package. If the information package is too small, data of the same size will be divided into multiple packages for transmission, and the computer has to respond frequently; if the information package is too large, an error occurs, resulting in transmission failure.


This article is from the "7209737" blog, please be sure to keep this source http://7219737.blog.51cto.com/7209737/1569738

The MTU value causes the kvm vm wget and SCP to fail.

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.