欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

克隆的虚拟机主机不能上网重启网络报device eth0 does not seem to be present, delaying initializ 博客分类: vmware vmware克隆不能上网device eth0 does not seem to be presentdelaying initializ

程序员文章站 2024-03-26 12:07:53
...

        问题:对虚拟机进行完整克隆后,发现有来的主机能够上网,而克隆后的主机不能上网,重启网络也会报错,不能进行ssh连接,如图:


克隆的虚拟机主机不能上网重启网络报device eth0 does not seem to be present, delaying initializ
            
    
    博客分类: vmware vmware克隆不能上网device eth0 does not seem to be presentdelaying initializ
 

 原因:

         这是因为在ifcfg-eth0中,保存了被克隆主机的MAC地址,克隆后使用的是新的网卡,有新的MAC地址。

解决方法:

    1、按图修改

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

 按图修改:



克隆的虚拟机主机不能上网重启网络报device eth0 does not seem to be present, delaying initializ
            
    
    博客分类: vmware vmware克隆不能上网device eth0 does not seem to be presentdelaying initializ
 


 2、删除70-persistent-net.rules后重启系统

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

 系统启动后,可以上网了,也可以ssh连上了。

       

 

  • 克隆的虚拟机主机不能上网重启网络报device eth0 does not seem to be present, delaying initializ
            
    
    博客分类: vmware vmware克隆不能上网device eth0 does not seem to be presentdelaying initializ
  • 大小: 42.1 KB
  • 克隆的虚拟机主机不能上网重启网络报device eth0 does not seem to be present, delaying initializ
            
    
    博客分类: vmware vmware克隆不能上网device eth0 does not seem to be presentdelaying initializ
  • 大小: 32.3 KB
  • 克隆的虚拟机主机不能上网重启网络报device eth0 does not seem to be present, delaying initializ
            
    
    博客分类: vmware vmware克隆不能上网device eth0 does not seem to be presentdelaying initializ
  • 大小: 43.1 KB