如图所示,输入 报错,网卡重启失败

解决Centos6报错:Device eth0 does not seem to be present_配置文件

执行也只能看到eth1,看不到eth0

解决Centos6报错:Device eth0 does not seem to be present_vm_02

这种错误大多数出现在复制虚拟机的时候,只需修改配置文件即可

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

将DEVICE改为eth1,将HWADDR用#注释掉即可

解决Centos6报错:Device eth0 does not seem to be present_其他_03

这个时候再重启网络

service network restart

解决Centos6报错:Device eth0 does not seem to be present_重启_04

问题解决

使用也能看到ip正确的显示了出来

解决Centos6报错:Device eth0 does not seem to be present_配置文件_05