We all know that ifconfig-a can list all the network cards, but how to interpret the gigabit NIC or the hundred gigabit NIC.
1. The judge is the gigabit Nic or the hundred gigabit NIC
Ethtool ETHX View the rate of support
The actual network card speed can see speed 100mb/s; The problem is, is not the gigabit NIC speed must be 1000M.
Not necessarily yo, network card rate and network cable, switch port rate are related, see the Auto-negotiation field, on said Open
Automatic negotiation, plug in the network cable will be automatically negotiated at both ends of the rate of support;
2. What does Link detected represent?
Know before yes means that the network card plugged in the network (light), and vice versa. If you plug in the wire, yes.
Not so, plug the network cable, but also to activate the network card (Ifup ethx, in fact, two layer up) will be yes;
3. A similar command mii-tool, view connection status and rate
The problem is, if Ethtool and Mii-tool find out the rate is different.
There used to be a gigabit NIC, the two detected a different rate, multi-party access, and finally found the results in man Mii-tool
This is obsolete. Valid media are only 100baset4, 100BASETX-FD,100BASETX-HD, 10BASET-FD and 10BASET-HD Ethernet. For replacement check ethtool.
If you also encounter this problem, do not hesitate, decisively believe the results of Ethtool.
4. View NIC driver Ethtool-i ethx
You can also use LSPCI-VVV
5. Check the network card model, you can also see the thousand trillion or million trillion