Whether it is hyper-V or VMWare,ClonedCentosLinux network cannot be connected
Ifconfig cannot see eth0. the following error occurs when you restart the NIC:
Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization. [failed]
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/0F/wKioL1RKBuygTSmdAACmDG3wito419.jpg "Title =" 2582814213314966622.jpg" alt = "wkiol1rkbuygtsmdaacmdg3wito419.jpg"/>
Solution:
First, open/etc/udev/rules. d/70-persistent-net.rules, as shown in the following example:
VI/etc/udev/rules. d/70-persistent-net.rules
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/0F/wKioL1RKBiaiQrk3AAFO8LJ2gTg389.jpg "Title =" qq20151124154820.jpg "alt =" wkiol1rkbiaiqrk3aafo8lj2gtg389.jpg "/>
# This file was automatically generated by the/lib/udev/write_net_rules
# Program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# Line, and change only the value of the name = key.
# Net device ()
Subsystem = "Net", Action = "add", drivers = "? * ", ATTR {address} =" 00: 15: 5D: EE: 4d: 03 ", ATTR {type} =" 1 ", kernel = "ETH *", name = "eth0"
# Net device ()
Subsystem = "Net", Action = "add", drivers = "? * ", ATTR {address} =" 00: 15: 5D: EE: 4d: 04 ", ATTR {type} =" 1 ", kernel = "ETH *", name = "eth1"
Record the MAC address of the eth1 NIC: 00: 15: 5D: EE: 4d: 04
Next, open the/etc/sysconfig/network-scripts/ifcfg-eth0
VI/etc/sysconfig/network-scripts/ifcfg-eth0
Change device = "eth0" to device = "eth1 ",
Change hwaddr = "00: 15: 5D: EE: 4d: 03" to the MAC address hwaddr = "00: 15: 5D: EE: 4d: 04"
Finally, restart the network.
Service Network restart
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/0E/wKiom1RKBgOi-6ylAAImSn-JPBo621.jpg "Title =" qq20151124155121.jpg "alt =" wKiom1RKBgOi-6ylAAImSn-JPBo621.jpg "/>
This article from the "more unfamiliar" blog, please be sure to keep this source http://vingwei.blog.51cto.com/5706568/1567603
Clone centos and SET network connection