• 技术文章 >运维 >CentOS

    centos系统下无法ping通网关怎么办

    VV2020-03-27 11:05:16原创3430

    1、重新载入网卡程序

    命令如下:

    (推荐教程:centos教程

     [root@localhost ~]# /etc/init.d/network reload
    Shutting down interface eth1:                             [ OK ]
    Shutting down loopback interface:                         [ OK ]
    Bringing up loopback interface:                           [ OK ]
    Bringing up interface eth0:                               [ OK ]
    Bringing up interface eth1:                               [ OK ]

    2、重启网卡

    网卡接口先关闭后激活,如下:

    [root@localhost ~]# ifdown eth0   #关闭网络
    [root@localhost ~]# ifup eth0     #启动网络

    相关视频教程推荐:linux视频教程

    以上就是centos系统下无法ping通网关怎么办的详细内容,更多请关注php中文网其它相关文章!

    声明:本文原创发布php中文网,转载请注明出处,感谢您的尊重!如有疑问,请联系admin@php.cn处理
    专题推荐:centos 网关
    上一篇:centos下安装oracle出现中文乱码 下一篇:centos下root用户无法登录
    大前端线上培训班

    相关文章推荐

    • centos下普通用户执行sudo命令提示权限不够• centos下启动svn提示认证失败• centos下yum安装失败怎么办• centos设置不休眠的方法

    全部评论我要评论

  • 取消发布评论发送
  • 1/1

    PHP中文网