no route to host解决方案、Failed to start LSB: Bring up/down networking的问题解决方案

1、检查sshd是否正常启动

systemctl status sshd

2、检查是否是防火墙的原因

systemctl status firewalld

3、如果不是这两者,但还报错,查看网卡信息:

cd /etc/sysconfig/network-scripts/

查看对应的网卡信息

vim ifcfg-eno1

执行操作:

systemctl restart network
systemctl status network

若出现Failed to start LSB: Bring up/down networking的问题,或network启动状态不对的问题:

执行操作:

ifdown eno1 && ifup eno1

再次查看network状态:

systemctl restart network
systemctl status network

注意:有可能network服务和NetworkManager冲突了,可关闭NetworkManager服务:

systemctl stop NetworkManager
systemctl disable NetworkManager

若出现以下情况,酌情处理:

 

posted @ 2019-07-03 20:24  意如柳  阅读(2417)  评论(0编辑  收藏  举报