问题描述:
centOS断电重启后无法ping通网关。
解决方法:
1、重新载入网卡程序
[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 #启动网络
这样就可以ping通了 。
相关教程推荐:centos教程