Debug solution to NIC problems in linux

Source: Internet
Author: User

Debug solution to NIC problems in linux
Problem description: sometimes when you install redhat or suse linux, you will find that your public ip address is not on eth0, but on eth3 or eth4, at this time, you need to adjust the public ip address to eth0 when creating a cluster or other services, that is, the public ip address displayed in ifconfig is eth0. Because the network card name is an alias, you can name it bruce0 or bruce1, so you only need to debug your network card in the following way, network Problem 1 ifconfig shows the started Nic 2 ifconfig-a shows all NICs 3 ethtool eth0 can view the NIC connection status 4 modify the NIC alias in/etc/udev /rules. if eth0 of the public network has been changed, you need to go to/etc/sysconfig/network, change the ifcfg-eth0 to your own Internet eth 6 service network start or/etc/init. d/network start

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.