在虛擬機中克隆centos6.4後,網卡起不來的解決方法

在虛擬機克隆centos6.4後,重啓網卡起不來(可能報device eth0 does not seem to be present, delaying initialization)的解決辦法以下:
centos

1. 刪除eth0配置文件中的mac地址:bash

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

2. 刪除/etc/udev/rules.d/70-persistent-net.rules文件後,重啓系統ide

rm -rf /etc/udev/rules.d/70-persistent-net.rules

3. 重啓網卡oop

[root@mail ~]# /etc/init.d/network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:                                [  OK  ]
相關文章
相關標籤/搜索