zoukankan      html  css  js  c++  java
  • centos 双网卡 eth0 eth1 配置

    复制了一个eth0 的网卡 内容为eth1

    但是在service network restart 重启的时候

    出现

      

    [root@ssc ~]# service network restart
    Shutting down interface eth0:                              [  OK  ]
    Shutting down loopback interface:                          [  OK  ]
    Bringing up loopback interface:                            [  OK  ]
    Bringing up interface eth0:  
    Determining IP information for eth0... done.
                                                               [  OK  ]
    Bringing up interface eth1:  Device eth1 does not seem to be present, delaying initialization.
                                                               [FAILED]

    解决方法如下:

    打开文件

    vim /etc/udev/rules.d/70-persistent-net.rules

    查看eth2 的MAC地址

    将 DEVICE="eth0"  改成  DEVICE="eth1"  ,
    将 HWADDR="xx:xx:xx:xx:xx:xx" 改成上面的mac地址  HWADDR="xx:xx:xx:xx:xx:xx"

    重启网卡 解决

  • 相关阅读:
    DRF简易了解
    Restful API接口规范
    Python分页
    vue笔记(一)
    CNN实现手写数字识别
    深度学习框架Keras
    NLP自然语言处理
    深度学习框架Tensorflow
    维度的区分
    矩阵求导
  • 原文地址:https://www.cnblogs.com/ssc4469/p/4111471.html
Copyright © 2011-2022 走看看