The server has more than one network card, how to determine which NIC is equipped with

Source: Internet
Author: User

Today, a small white problem, the new server after the CentOS system installed, to configure the network. Server has four network card, I put the network cable into the first network card, the network card corresponding to the eth0 or eth1-3. Just put the eth0 point to configure the restart network card to find Ping does not go out. and put the same configuration on the eth1, through ... Later I found this problem very tangled, in the virtual machine will not encounter this problem. Finally found a tool ethtool

650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M02/76/44/wKiom1ZOhgKzGqZ_AAN6h-T27Z4455.jpg "style=" float: none; "title=" ethtool1.jpg "alt=" Wkiom1zohgkzgqz_aan6h-t27z4455.jpg "/>

650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M02/76/43/wKioL1ZOhljjfmHIAACQwIYnQzs049.jpg "style=" float: none; "title=" eth2.jpg "alt=" Wkiol1zohljjfmhiaacqwiynqzs049.jpg "/>

Ethtool-p eth0 10

After the operation, see which network card LED lights in the Flash, eth0 corresponding to which block card.

I wonder if you've met this little white question.

The server has more than one network card, how to determine which NIC is equipped with

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.