总结:VMware出现网络异常:Failed to start LSB: Bring up/down networking解决方案
事因:因为某些应用修改了vm的地址,当我修改回之前的ip时候,启动虚拟机,网络的状态出现问题了。
类似:
12月 29 16:10:38 kafka01 network[5294]: 正在打开接口 enp0s8: RTNETLINK answers: File exists 12月 29 16:10:39 kafka01 network[5294]: [ 确定 ] 12月 29 16:10:39 kafka01 network[5294]: RTNETLINK answers: File exists 12月 29 16:10:39 kafka01 network[5294]: RTNETLINK answers: File exists 12月 29 16:10:39 kafka01 network[5294]: RTNETLINK answers: File exists 12月 29 16:10:39 kafka01 network[5294]: RTNETLINK answers: File exists 12月 29 16:10:39 kafka01 network[5294]: RTNETLINK answers: File exists 12月 29 16:10:39 kafka01 network[5294]: RTNETLINK answers: File exists 12月 29 16:10:39 kafka01 network[5294]: RTNETLINK answers: File exists 12月 29 16:10:39 kafka01 network[5294]: RTNETLINK answers: File exists 12月 29 16:10:39 kafka01 network[5294]: RTNETLINK answers: File exists 12月 29 16:10:39 kafka01 systemd[1]: network.service: control process exited, code=exited status=1 12月 29 16:10:39 kafka01 systemd[1]: Failed to start LSB: Bring up/down networking
查询百度,总结以下几种常见的方法
1.禁用NetworkManager
#关闭NetworkManager服务
systemctl stop NetworkManager
#永久关闭NetworkManager服务
systemctl disable NetworkManager
重启服务器再尝试重启网络
reboot
systemctl restart network
2.检查ip的mac地址和ens33的配置信息
ip addr 检查自身的mac地址
/etc/udev/rules.d/70-persistent-net.rules文件的MAC地址和 /etc/sysconfig/network-scripts/ifcfg-ens33是否一致
3.vm软件重新配置ip,然后重新填写之前的ip。(我是这个方法)