centOS7重启网卡失败
自己手动配置了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
阅读更多- centos7重启网卡失败问题
- Centos重启网卡失败原因
- Centos 虚拟机网络问题,网卡起不来,重启network服务失败
- CentOS网卡重启失败解决方法
- centos系统故障-CentOS网卡激活失败怎么办
- CentOS重启网卡
- CentOS重启网卡
- centos7 VMware workstation 10 添加多网卡及重命名为ethx(eth0,eth1失败)
- CentOS重启网卡
- Centos7重启网卡失败解决方法
- CentOS重启网卡
- ESXI 克隆之后重启网卡报错:CentOS Device does not seem to be present
- CentOS Linuxe配置重启网卡报错Bringing up interface eth0: Device eth0 does not ...
- CentOS 重启网卡提示:/org/freedesktop/NetworkManager/ActiveConnection/(n)
- CentOS重启网卡
- centos7.3下配置网卡重启出错
- CentOS重启网卡
- CentOS重启网卡
- 在VMware的虚拟机中克隆CentOS,在重启网卡的时候报错
- CentOS 6.5/Linux 重启网卡报错 Determining if ip address x.x.x.x is already in use