Device_eth0_does_not_seem_to_be_present__delaying_initialization解决办法

在使用vmware迁移linux系统过程中,发现部署后的linux系统无法启动网卡

报错为

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

wKiom1T7uaHAt705AAC1t7HqBcE112.jpg

错误原因,是因为linux网卡绑定了原mac地址导致

解决方法为

1.使用ifconfig a 查看当前主机mac地址

 

wKioL1T7uyuTBf9zAAGPLL21-KY309.jpg

2.修改eth0网卡硬件地址为当前地址

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

wKiom1T7uhPD0g_KAAFNh8p_gp0424.jpg

保存退出

其实在network-scripts下查看是没有eth1网卡的

wKioL1T7uy2AD7KBAAB5464kkjU020.jpg

3.删除70-persistent-net.rules文件

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

4.重启系统

reboot h now

 

你可能感兴趣的:(linux,硬件,interface,网卡,present)