Device eth0 does not seem to be present

症状: ifconfig命令只见loopback,不见eth0。更改/etc/sysconfig/network-scripts/ifcfg-eth0后重启网络报错:Device eth0 does not seem to be present。

原因:MAC地址冲突。

解决:

rm -fr /etc/udev/rules.d/70-persistent-net.rules
reboot

该文件重启后会重新生成


/etc/sysconfig/network-scripts/ifcfg-eth0配置:

ONBOOT="yes"

BOOTPROTO="dhcp"


你可能感兴趣的:(Device eth0 does not seem to be present)