您的位置 首页 centos

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

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通网关怎么办

文章地址:https://www.zhihuclub.com/11520.shtml

关于作者: 智云科技

热门文章

网站地图