問題描述:
centOS斷電重啟后無法ping通網(wǎng)關(guān)。
解決方法:
1、重新載入網(wǎng)卡程序
[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、重啟網(wǎng)卡
網(wǎng)卡接口先關(guān)閉后激活
[root@localhost ~]# ifdown eth0 #關(guān)閉網(wǎng)絡(luò) [root@localhost ~]# ifup eth0 #啟動(dòng)網(wǎng)絡(luò)
這樣就可以ping通了 。
相關(guān)教程推薦:centos教程