vware linux:Device eth0 has different MAC

因为家中的虚拟机好久没有使用,今天突然需要更新一个程序,启动虚拟机的时候,不能远程登录上去了

service network restart 出现一下错误。

"Shutting down interface eth0: Device eth0 has different MAC address than expected, ignoring."

估计是网卡的物理地址冲突。参考以上帖子,搞定,做个记号!

It helped me find the right file to edit:

/etc/sysconfig/network-scripts/ifcfg-eth0

Just updated the HWADDR value and rebooted the system.

修改HWADDR为虚拟机配置文件Red Hat Enterprise Linux 4.vmx 中的 ethernet0.generatedAddress