How to judge the network card rate under Linux? __linux

Source: Internet
Author: User

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





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.