Nic eth0. if the service network restart is not recognized for a port, this prompt is sometimes returned (Serivce Network Status reads the ETC/sysconfig/network-script/ifcfg-* file)
Shutting down loopback interface: [OK]
Bringing up loopback interface: [OK]
Bringing up interface eth0: Error: no suitable device found: no device found for connection 'System eth0 '.
[Failed]
Use ifconfig eth0 up to prompt eth0: Unknown interface: no such device
When the network is started, it will go to the configuration file/etc/udev/rules. d/70-persistent-net.rules to read the relevant information, such:
# PCI device 0x8086: 0x100e (e1000) (custom name provided by external tool)
Subsystem = "Net", Action = "add", drivers = "? * ", ATTR {address} =" 08: 00: 27: 25: D3: 1C ", ATTR {type} =" 1 ", kernel = "ETH *", name = "eth0"
# PCI device 0x8086: 0x100e (e1000)
Subsystem = "Net", Action = "add", drivers = "? * ", ATTR {address} =" 08: 00: 27: 37: 20: 1E ", ATTR {type} =" 1 ", kernel = "ETH *", name = "eth1"
Indicates that two NICs, eth0 and eth1, are set in the setup network settings. The system will automatically read the corresponding files from the network adapter.
ETC/sysconfig/network-script/ifcfg-eth0 and ETC/sysconfig/network-script/ifcfg-eth1
If the physical address of the eth0 file Nic does not match that of the Computer Nic, the start error message is displayed. You can copy the information in eth1 to eth0, eth0 can be used to find the matched Nic device.