使用Vmware通过克隆操作获取一个新的Linux虚拟机时,在配置虚拟机IP地址后,重启网络服务会报出:Bringing up interface eth1:Device eth1 does not seem to be present,delaying initialization.FAILED  错误。此错误一般是由于网络配置文件中网卡MAC地址与克隆机新生成的网卡MAC地址不一致导致的,需要对相关文件进行修改以解决这个错误。

vmware克隆linux虚拟机,报Device eth1 does not seem to be present,delaying initialization.错误

与此错误相关的两个文件:

需修改的文件:/etc/sysconfig/network-scripts/ifcfg-eth1                                   

vmware克隆linux虚拟机,报Device eth1 does not seem to be present,delaying initialization.错误

基准文件:/etc/udev/rules.d/70-persistent-net.rulesvmware克隆linux虚拟机,报Device eth1 does not seem to be present,delaying initialization.错误

操作方法:

步骤一:将/etc/sysconfig/network-scripts/ifcfg-eth1  文件中 DEVICE的值以及HWADDR的值分别修改为/etc/udev/rules.d/70-persistent-net.rules​​​​​​​文件中最后一个PCI device的NAME值以及ATTR{address}值。

步骤二:保存修改后的/etc/sysconfig/network-scripts/ifcfg-eth1 文档,使用service network restart命令重启网络服务。

vmware克隆linux虚拟机,报Device eth1 does not seem to be present,delaying initialization.错误

至此克隆机可正常使用。

相关文章:

  • 2021-11-16
  • 2022-03-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
猜你喜欢
  • 2022-01-13
  • 2021-07-12
  • 2021-12-26
  • 2021-10-06
  • 2022-12-23
相关资源
相似解决方案