Centos7开机之后连不上网ens33mtu 1500 qdisc noop state DOWN group default qlen 1000

时间:2024-10-20 15:02:31

昨天配置好的虚拟机,今天打开一看,X-Shell发现里不上了,进到虚拟机界面 ip addr查看信息,结果如下图

在开机之后,发现网卡没有启动起来,进行了如下操作,还是不行
1、[root@es1 es]# ifup ens33
错误:激活连接失败:No suitable device found for this connection.
2、[root@es1 es]#  systemctl start network
Job for failed because the control process exited with error code. See "systemctl status " and "journalctl -xe" for details

解决、先停止网卡,设置disable,然后启动,发现网卡启动了

[root@es1 es]# systemctl stop NetworkManager
[root@es1 es]# systemctl disable NetworkManager
Removed symlink /etc/systemd/system//.
Removed symlink /etc/systemd/system/.
Removed symlink /etc/systemd/system/.
[root@es1 es]# service network restart

至此,问题解决