zoukankan      html  css  js  c++  java
  • 虚拟机克隆,service network restart 重启失败

    遇到的问题:

    # service network restart

    Shutting down loopback interface:                          [  OK  ]
    Bringing up loopback interface:                            [  OK  ]

    Bringing up interface eth0:  Error: No suitable device found: no device found for connection 'System eth0'.

    原理网上多的是,这里直接看解决方案!

    解决办法:

    rm -rf  /etc/udev/rules.d/70-persistent-net.rules           //去除克隆之后的网络适配器

    reboot                           //生成新的网络适配器

    ifconfig     //查看自己新生成的HWaddr,复制!

    vi /etc/sysconfig/network-scripts/ifcfg-eth0       //编辑这个文件,替换刚刚复制的HWaddr

    service network restart   //成功!!!

    (转)https://blog.csdn.net/u013641234/article/details/50902321 

  • 相关阅读:
    GO语言网络编程
    GO语言测试
    GO语言反射
    GO语言strconv包的使用
    GO语言并发
    Centos7 开启swap分区
    设计模式 之 命令模式
    设计模式 之 代理模式
    设计模式 之 工厂模式
    设计模式 之 观察者模式
  • 原文地址:https://www.cnblogs.com/llphhl/p/9053553.html
Copyright © 2011-2022 走看看