您的位置 首页 技术

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

1、重新载入网卡程序 命令如下: (推荐教程:centos教程) [root@localhost ~]# /etc/init.d/network reloadShutting do…

1、重新载入网卡程序

命令如下:

(推荐教程:centos教程)

 [root@localhost ~]# /etc/init.d/network reloadShutting 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通网关怎么办的详细内容,更多请关注24课堂在线网其它相关文章!

本文来自网络,不代表24小时课堂在线立场,转载请注明出处:https://www.24ketang.cn/55715.html

为您推荐

返回顶部