centos7虚拟机 网卡启动失败报错 failed to start LSB Bring up/down
亲自尝试:
解决办法: 禁用NetworkManager
1、禁用NetworkManager服务
systemctl stop NetworkManager
2、永久关闭NetworkManager服务 systemctl disable NetworkManager
最后重启网卡,会发现可以正常启动并且可以ping通。
systemctl restart network
尝试查询状态并ping 百度
systemctl status network
[root@localhost] ping 114.114.114.114 PING 114.114.114.114 (114.114.114.114) 56(84) bytes of data. 64 bytes from 114.114.114.114: icmp_seq=1 ttl=128 time=73.8 ms 64 bytes from 114.114.114.114: icmp_seq=2 ttl=128 time=73.4 ms 64 bytes from 114.114.114.114: icmp_seq=3 ttl=128 time=80.5 ms 64 bytes from 114.114.114.114: icmp_seq=4 ttl=128 time=57.3 ms 64 bytes from 114.114.114.114: icmp_seq=5 ttl=128 time=68.6 ms 64 bytes from 114.114.114.114: icmp_seq=6 ttl=128 time=67.9 ms