centos系统无法ping通网络

 时间:2026-04-22 16:17:50

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系统
  • 热门搜索
    怎么表白 云南过桥米线的做法 微信接龙怎么操作 大烩菜的家常做法 this怎么读 牛排骨汤的做法 土豆饼的做法 燕窝的做法步骤 粉蒸排骨的家常做法 嵩怎么读