Linux will check the hardware information of the network card when it is started, and find that the MAC address and other information do not match the configuration file, add new configuration information in the configuration file. When you replace the NIC or the system is used on another machine, the NIC number is not started from eth0 or used
Ifconfig-a view when there are some unused network card information, network card number confusion will cause some directly using the network card number of applications can not function correctly, fix the problem can be deleted by deleting the profile, so that the system at startup to rebuild the solution:
Rm/etc/udev/rules.d/70-persistent-net.rules
If you are not too troublesome, you can also manually modify the contents of the configuration file, some of the following:
# PCI Device 0x1039:0x0191 (sis190)
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:12:15:3c:7b:56", attr{dev_id}== "0x0", Attr{type} = = "1", kernel== "eth*", name= "eth0"
The main is to modify the Name field, such as eth0 change to eth1, and then restart it.
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/