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系统
  • 热门搜索
    马六甲旅游 赤峰旅游攻略 旅游业发展现状 兴城旅游攻略 日本国家旅游局 郴州旅游景点大全 出境旅游推荐 枣庄旅游景点大全 广西贺州旅游 广东旅游景点排行