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通网络
  • win8系统如何备份和还原
  • 软媒魔方:[30]修复异常显示的桌面图标
  • windows10LTSC企业版没有软件商店的问题
  • 如何通过注册表隐藏任务栏搜索按钮
  • 怎么安装ESXI系统
  • 热门搜索
    小肚子胀是怎么回事 碾怎么读 失眠了怎么办 奶黄包的馅怎么做 日语我喜欢你怎么说 艾滋病怎么检测 中国人寿车险怎么样 u盘怎么格式化 梅毒是怎么引起的 坏蛋是怎么样炼成的2