centos6 网卡问题 Device eth0 does not seem to be present

virtualbox 重装后,添加原来安装好到centos系统,不能联网问题
service network restart
centos linux 出现Device eth0 does not seem to be present
 
1.用命令ip l发现 eth1 无eth0网卡 得到eth1的mac地址(也可以通过该文件查地址/etc/udev/rules.d/70-persistent-net.rules)
2.查/etc/sysconfig/network-scripts/ifcfg-eth0中HWADDR地址与eth1的mac地址不匹配.
 
3 vi /etc/sysconfig/network-scripts/ifcfg-eth0
将DEVICE=eth0改为eth1
HWADDR=上边的mac地址
 
service network restart
启动成功可以联网了
 

猜你喜欢

转载自www.cnblogs.com/venje/p/11024604.html