网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

centos系统无法ping通网络

时间:2024-10-14 21:15:51

1、解决方法:因为DNS没有设置所以导致了ping外网ping不通。将DNS添加到文件/etc/resolv.conf 中search localdomainnameserver 192.168.0.1nameserver 61.139.2.69

centos系统无法ping通网络

2、重启网卡服务:systemctl restart network.service

centos系统无法ping通网络

3、成功ping通了

centos系统无法ping通网络
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com