Vmware克隆centos:device eth0 does not seem to be present,delaying initialization

来源:互联网 发布:java使用的字符码集 编辑:程序博客网 时间:2024/06/09 17:25
Vmware 安装centos后,clone一台,无法上网。
ifconfig查看没有IP。
/etc/sysconfig/network-scripts/ifcfg-eth0 文件存在:


重启网卡服务:service network restart,提示如下错误信息: 
device eth0 does not seem to be present,delaying initialization

解决办法: 
因为是clone过来,MAC地址没有变,需要修改。

1)  vi /etc/sysconfig/network-scripts/ifcfg-eth0

修改为:


2) 删除 /etc/udev/rules.d/70-persistent-net.rules 并重启即可
rm /etc/udev/rules.d/70-persistent-net.rules 
reboot
0 0
原创粉丝点击