问题:
执行ip addr命令,没有显示出ip地址,并且防火墙重启报错:network.service - LSB: Bring up/down networking
解决办法:
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl start network.service
效果如图:
如果还没有成功,查看: 编辑: vim /etc/sysconfig/network-scripts/ifcfg-ens33
ONBOOT属性由no改成yes;