克隆后,网卡无法启动

用命令 ifup eth0

得到回复:

Device eth0 does not seem to be present, delaying initialization.[FAILED]

删除/etc/udev/rules.d/70-persistent-net.rules文件后,reboot。

重启后会发现eth0还是没有启动

修改上述文件的eth1为eth0.

这时如果使用命令ifup eth0

会得到一个关于mac地址错误的回复

修改

/etc/sysconfig/network-scripts/ifcfg-eth0中的mac的值为/etc/udev/rules.d/70-persistent-net.rules中的mac的值


再次重启,就好了。


参考和理论解释:http://www.linuxyan.com/linux-service/181.html