虚拟机无法ping通其他主机&主机不能ping通虚拟机【解决方案】
2022/8/23 6:23:49
本文主要是介绍虚拟机无法ping通其他主机&主机不能ping通虚拟机【解决方案】,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
在安装redis时不知道怎么的, linux ping www.baidu.com 出不来了;
重启网卡报错
Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
解决: [root@localhost ~]# systemctl stop NetworkManager [root@localhost ~]# systemctl disable NetworkManager Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service. Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager-wait-onl ine.service. Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service. Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service. [root@localhost ~]# systemctl restart network [root@localhost ~]# [root@localhost ~]# service network restart Restarting network (via systemctl): [ OK ] [root@localhost ~]#
转自:https://blog.csdn.net/Smile__1/article/details/90733532
这篇关于虚拟机无法ping通其他主机&主机不能ping通虚拟机【解决方案】的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-05-08阿里云域名注册流程,分享给第一次购买域名的新手站长!
- 2024-05-082024年,行业变动下的程序员应该首先学习哪种编程语言?
- 2024-05-08我在下载模块的时候下不下来出现这种情况是什么意思?
- 2024-05-08最近很火的低代码到底是什么?
- 2024-05-08设计模式Java实现-建造者模式
- 2024-05-08设计模式Java实现-原型模式
- 2024-05-08记一次java进程频繁挂掉问题排查修复
- 2024-05-08test
- 2024-05-0802-大厂电商设计解析之商品管理系统
- 2024-05-08迭代的难题:敏捷团队每次都有未完成的工作,如何破解?