折雨的天空
vsphere虚拟机克隆后eth0找不到的问题
2013-6-13 我好笨


克隆后,网卡无法启动



用命令 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

发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容