Device eth0 has different MAC address than expected, ignoring.

以下内容是网上摘抄,出处不详,但解决问题,故记下备忘:

VM虚拟机安装Centos4.8,把文件拷到公司后,
ifconfig命令查看不到eth0的信息,
service network restart命令报Device eth0 has different MAC address than expected, ignoring
在网上查询了一些资料,终于解决了
首先:查看vmx文件中ethernet0.generatedAddress(记事本等文本编辑器)
然后:把/etc/sysconfig/network-scripts/ifcfg-eth0文件中的HWADDR修改为第一步查看的
最后:service network restart
ifconfig命令可以查看到eth0的信息

猜你喜欢

转载自xiaofan012.iteye.com/blog/953286