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