device eth0 does not seem to be present解决
问题:
红帽Linux使用命令/etc/init.d/network restart时,出现如下问题:
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]
用ifconfig查看发现缺少eth0,只有lo;用ifconfig -a查看发现多出了eth1的信息。
将eth0的mac地址改为
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]
用ifconfig查看发现缺少eth0,只有lo;用ifconfig -a查看发现多出了eth1的信息。
解决:
# vi /etc/sysconfig/network-scripts/ifcfg-eth0将eth0的mac地址改为
/etc/udev/rules.d/70-persistent-net.rules中的mac地址,同时改变其DEVICE名称为eth1,再重启网络即可。

浙公网安备 33010602011771号