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系统
  • 热门搜索
    嘤嘤嘤什么意思 氟利昂是什么 最近有什么节日 关节响是什么原因 嘴唇发黑是什么原因 猴配什么生肖最好 小刀什么意思 什么叫仙人跳 乳钙什么牌子好 布政使是什么官