自己手动配置了ifcfg-enoxxxxx文件后,用命令systemctl restart network重启网络后出现以下错误

Restarting network (via systemctl):  Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.

根据上面的提示,执行“systemctl status network.service”输出以下的类似信息:

[root@localhost ~]# systemctl status network.service 
network.service - LSB: Bring up/down networking 
Loaded: loaded (/etc/rc.d/init.d/network) 
Active: failed (Result: exit-code) since三 2014-11-05 15:30:10 CST; 1min 5s ago 
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists 
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists 
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists 
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists 
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists 
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists 
11月 05 15:30:10 localhost.localdomain network[2920]: RTNETLINK answers: File exists 
11月 05 15:30:10 localhost.localdomain systemd[1]: network.service: control process exited, code=exited 
status=1 
11月 05 15:30:10 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking. 
11月 05 15:30:10 localhost.localdomain systemd[1]: Unit network.service entered failed state.

主要的原因是mac地址映射错误,需要显式的在配置文件中写进去,具体操作如下 :

1)用ifconfig或ip addr查看mac地址;

2)将得到的mac地址写入到配置文件中去,即在ifcfg-enoxxxxx文件中修改HWADDR="XX:XX:XX:XX:XX"

XX:XX:XX:XX:XX为mac地址。如果配置文件中没有这一项就手动增加;

3)保存退出配置文件,重启网络。

参考:https://blog.csdn.net/weiyongle1996/article/details/75128239

https://blog.csdn.net/kyo19999/article/details/49097317

centOS7重启网卡失败相关推荐

  1. 【Linux】Centos7重启网卡失败

    报错如下: 解决办法: systemctl stop NetworkManagersystemctl disable NetworkManager 然后重启网卡: service network re ...

  2. (linux vm虚拟机网络连接失败,重启网卡失败原因及解决办法)

    linux vm虚拟机网络连接失败,重启网卡失败原因及解决办法 0 .vm虚拟机下的网络三种连接方式详解 1. vm虚拟机以及宿主机没有vmnet1 vmnet8 网卡 2 网卡配置文件出错 测试网络 ...

  3. centos7重启网络失败

    centos7重启网络失败 问题描述: [root@localhost Desktop]# systemctl start network.service Job for network.servic ...

  4. 报错集:Linux重启网卡失败systemctl restart network

    Linux 重启网卡失败 报错如下: Job for network.service failed because the control process exited with error code ...

  5. Centos7 重启网卡

    centos6的网卡重启方法: service network restart centos7的网卡重启方法: systemctl restart network 重启DNS服务器: systemct ...

  6. Linux重启网卡失败解决办法

    重启网卡报错:Restarting network (via systemctl): Job for network.service failed because the control proces ...

  7. centos7重启网卡命令(centos7重启网卡命令只通了一下)

    linux系统怎么重启网卡 Debian.Ubuntu系的发行版重启网卡的命令是: /etc/init.d/networking restart或者是 service networking resta ...

  8. linux重启网卡失败--Failed to start LSB: Bring up/down networking

    想把虚拟机ip改成静态的,遇到这样的报错Failed to start LSB: Bring up/down networking 原因: ifconfig 显示网卡叫ens35,ifcfg-ens3 ...

  9. systemctl restart network重启网卡失败

    1.问题简述: 重启网卡:systemctl restart network,出现如下错误 2.查看错误日志,体现如下: 3.根据错误提示,进入到对应位置vi /etc/sysconfig/netwo ...

最新文章

  1. pytorch方法测试——卷积(二维)
  2. Winform中设置DevExpress的RadioGroup的items从配置文件中加载
  3. Qt平台和编译器说明-Android
  4. Mysql带返回值与不带返回值的2种存储过程
  5. 杨飞:擅长顺势而为,收获家业两成
  6. WinCE的USB驱动开发
  7. iOS 算法的前世今生:算法原理、常用算法(一)排序算法
  8. C#扩展名关联【转】
  9. Windows进行远程桌面连接后如何彻底删除远程记录
  10. office word 页码从任意页开始
  11. python——and和or逻辑运算符用法详解
  12. web前端第一次作业
  13. Caused by: org.apache.thrift.TApplicationException: Required field ‘filesAdded‘ is unset
  14. Cross-species regulatory sequence activity prediction
  15. 面向对象之多态以及进阶
  16. android模拟器玩手游,手游模拟器使用说明 手游在电脑上玩的方法介绍
  17. SKU 和 SPU 有什么区别?
  18. Gaze360: Physically Unconstrained Gaze Estimation in the Wild(在野外非受控的360°视线估计)
  19. 什么!FPS难道不是越高越好吗?
  20. 奢侈品电商,压死趣店的最后一根稻草?

热门文章

  1. php怎么判断字符串是否url,php如何判断是不是url
  2. littlevGL:字体与汉字
  3. 互联网金融带来的十大“挑战”
  4. 微信企业号开发二:TOKEN缓存处理
  5. 画板格式化记录(优化布局)
  6. IETP认证辅导,什么是认证供应商计划及安全保证证书由哪个组织颁发的
  7. Linux下Anaconda的安装及使用教程
  8. 【超详细Scratch教学课件分享】可暂停倒计时
  9. SRS_Audio_Sandbox1904计算机的终极音频增强软件
  10. NKU-OJ 可莉打丘丘人#179