重启网卡提示Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization.

重启网卡提示Bringing up interface eth0:  Device eth0 does not seem to be present,delaying initialization.                    [FAILED]:

下面操作首先保证是root用户,执行 su root切换到root用户

这是因为克隆的机器没有正确的mac,UUID信息冲突导致的,首先

vim  /etc/udev/rules.d/70-persistent-net.rules   将eth1改为0  把原先的eth0注销掉

然后复制address

然后将网卡配置文件vim /etc/sysconfig/network-scripts/ifcfg-eth0

把这地址改为刚才复制的,然后把UUID删掉

执行reboot命令,重启系统

这时重启网卡就能正常重启了:/etc/init.d/network restart

猜你喜欢

转载自blog.csdn.net/kxj19980524/article/details/88633885
今日推荐