Some commands about bandwidth MTU in Linux

Source: Internet
Author: User

to view negotiated bandwidth sizes

sudo ethtools eth0

Linux change the NIC MTU method:

1. Open Terminal , view current network card settings: ifconfig

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s4.51cto.com/wyfs02/m02/8b/79/wkiol1hpcjohtki0aafnm9vkqei917.png-wh_500x0-wm_3-wmp_4-s_3215724699.png "title = "2.png" alt= "Wkiol1hpcjohtki0aafnm9vkqei917.png-wh_50"/>

2. Set the NIC for which you want to change the MTU (you need to figure out which NIC it is), such as Eth0:sudo ifconfig eth0 MTU 1600

The MTU setting is viewed again via ifconfig after the change is complete

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/79/wKioL1hPcl3C8x_jAAGI55R8uwE966.png "title=" 1.png " alt= "Wkiol1hpcl3c8x_jaagi55r8uwe966.png"/>

Note: This method is a temporary change, such as a system restart or a network service restart will fail!

As a result of the MTU setting, the MTU setting can be written to the NIC configuration to automatically set when the hardware is loaded.


This article is from the "Xiaoliuer" blog, make sure to keep this source http://xiaoliuer.blog.51cto.com/11859529/1882208

Some commands about bandwidth MTU in Linux

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.