Device eth0 does not seem to be present,delaying initialization解决方法

Bringing up interface eth0:  Device eth0 does not seem to be present, delaying initialization.

在linux下的虚拟机出现了这个问题,原因是要修改固定ip,作了部分修改。

 

故障现象:
[root@host2~]# service 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] 
解决办法
1.修改Centos虚拟机克隆机的HWADDR为ifconfig -a的MAC地址 
如:HWADDR="00:0C:29:90:A7:23" 
2.然后再做以下操作 
[root@host2~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules 
[root@host2~]# reboot 
……………… 
[root@host2~]# service network restart 
Shutting down loopback insterface:                                                                                                        [   OK   ] 
Bringing up loopback insterface:                                                                                                             [   OK   ] 
Bringing up interface eth0:                                                                                                                     [   OK   ] 

-------------------------

[root@host2 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:D1:A0:D2
inet addr:192.168.203.132 Bcast:192.168.203.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fed1:a0d2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:103 errors:0 dropped:0 overruns:0 frame:0
TX packets:115 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18904 (18.4 KiB) TX bytes:38794 (37.8 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 b) TX bytes:480 (480.0 b)

 

posted @ 2015-08-09 11:07  泽锦  阅读(1532)  评论(0编辑  收藏  举报