(两种都不行的话可以试试这个)
ip addr flush dev enoXXXXX
(copy地址:http://www.2cto.com/os/201411/350848.html)
三种方法解决 Failed to start LSB: Bring up/down networking 问题
《—》
1、执行 service network restart 出现以下错误
Restarting network (via systemctl): Job for network.service failed. See 'systemctl status network.service'
and 'journalctl -xn' for details.
2、根据上面的提示,执行“systemctl status network.service”输出以下的类似信息:
Nov 23 22:09:07 hdcoe02 network[597]: Bringing up loopback interface: Could not load file
'/etc/sysconfig/network-scripts/ifcfg-lo'
Nov 23 22:09:07 hdcoe02 network[597]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
Nov 23 22:09:08 hdcoe02 network[597]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
Nov 23 22:09:08 hdcoe02 network[597]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo' Nov 23
22:09:08 hdcoe02 network[597]: [ OK ]
Nov 23 22:09:08 hdcoe02 network[597]: Bringing up interface enp0s25: Error: Connection activation failed:
Connection 'enp0s25' is not available on the device enp0s25 at this time.