Here full duplex, half duplex and auto-negotiation have the following meanings.
Full Duplex - Logic that enables concurrent sending and receiving. This is usually desirable and enabled when your computer is connected to a switch.
Half Duplex - This logic requires a card to only send or receive at a single point of time. When your machine is connected to a Hub, it auto-negotiates itself and uses half duplex to avoid collisions.
Auto-negotiation - This is the process of deciding whether to work in full duplex mode or half duplex mode. An Ethernet card supporting autonegotiation will decide for itself which mode is the optimal one depending on the network it is attached to.
Task: Find full or half duplex speed
You can use dmesg command to find out your duplex mode:Output:
ethtool command
Uss ethtool to display or change Ethernet card settings. To display duplex speed, enter:Output:
mii-tool command
You can also use mii-tool to find out your duplex mode. Type following command at shell prompt:Output:
Remember,
- 100baseTx-FD: 100Mbps full duplex (FD)
- 100baseTx-HD: 100Mbps half duplex (HD)
- 10baseT-FD: 10Mbps full duplex (FD)
- 10baseT-HD: 10Mbps half duplex (HD)
This utility is useful for forcing specific Ethernet speed and duplex settings too, setup 100Mbps full duplex speed under Linux:
Setup 10Mbps half duplex:
0 comments:
Post a Comment