centos系统无法ping通网络

 时间:2026-02-14 03:50:20

1、解决方法:

因为DNS没有设置所以导致了ping外网ping不通。

将DNS添加到文件/etc/resolv.conf 中

search localdomain

nameserver 192.168.0.1

nameserver 61.139.2.69

centos系统无法ping通网络

2、重启网卡服务:

systemctl restart network.service

centos系统无法ping通网络

3、成功ping通了

centos系统无法ping通网络

  • win8系统如何备份和还原
  • 软媒魔方:[30]修复异常显示的桌面图标
  • windows10LTSC企业版没有软件商店的问题
  • 如何通过注册表隐藏任务栏搜索按钮
  • 怎么安装ESXI系统
  • 热门搜索
    氖怎么读 怎么考研究生 隐形眼镜怎么戴 怎么投诉快递 学情分析怎么写 长期咳嗽怎么办 甲胎蛋白偏高怎么办 saw怎么读 燕麦怎么吃 怎么算利息