Linux certification guide: Set Nic duplex mode in Linux

Source: Internet
Author: User
RHEL provides a tool for us to set the NIC to half-duplex or duplex. # Mii-tool-Fmedia [interface] media optional modes include 100basetx-fd, 100basetx-hd, 10baset-fd, and 10baset-hd. Interface indicates the selected Nic, such as eth0 and eth1. The default value is eth0. HD indicates half duplex mode, while FD indicates duplex mode. Use mii-

RHEL provides a tool for us to set the NIC to half-duplex or duplex.

# Mii-tool-F media [interface]

Media optional modes include 100basetx-fd, 100basetx-hd, 10baset-fd, and 10baset-hd. Interface indicates the selected Nic, such as eth0 and eth1. The default value is eth0.

HD indicates half duplex mode, while FD indicates duplex mode.

Run the mii-tool-V command to check whether your Nic supports the mii-tool function.

Then, you can use mii-tool-F 100baseTx-HD to convert the original dual mode of the NIC to the FD mode.

At present, most of our NICs are adaptive NICs. When we connect to a switch, the duplex mode will be switched Based on the switch situation. If you want to manually change the duplex mode of the NIC, The mii-tool can complete this task.

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.