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.