1.一直卡住,无法ping通百度
[root@cmdb ~]# ping www.baidu.com
PING www.a.shifen.com (110.242.68.4) 56(84) bytes of data.
2.解决方法
[root@cmdb ~]# systemctl stop NetworkManager
[root@cmdb ~]# systemctl restart network
[root@cmdb ~]# systemctl disable NetworkManager
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
Removed symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.
3.查看是否解决问题
[root@cmdb ~]# ping www.baidu.com
PING www.a.shifen.com (110.242.68.3) 56(84) bytes of data.
64 bytes from 110.242.68.3 (110.242.68.3): icmp_seq=1 ttl=53 time=12.4 ms
64 bytes from 110.242.68.3 (110.242.68.3): icmp_seq=2 ttl=53 time=12.6 ms
64 bytes from 110.242.68.3 (110.242.68.3): icmp_seq=3 ttl=53 time=11.3 ms
64 bytes from 110.242.68.3 (110.242.68.3): icmp_seq=4 ttl=53 time=11.8 ms
版权声明:本文为博主原创文章,未经博主允许不得转载。
vbox
- 上一篇:Linux查看最消耗内存CPU虚拟内存的进程
- 下一篇:docker镜像加速器