Red Hat 6网络配置笔记

1、重启网卡
/etc/init.d/network restart

server network restart
2、运行结果报错

关闭NetworkManager
service NetworkManager stop
3、ifconfig后没出现eth0
修改eth0网卡的配置文件,将ONBOOT=“no”改为yes
vim /etc/sysconfig/network-scripts/ifcfg-eth0
重新启动网络
/etc/init.d/network restart
4、打开pc运行cmd,ping eth0的IP

5、如果ping通,可以打开浏览器试一下。


猜你喜欢

转载自www.cnblogs.com/gucb/p/11120498.html
今日推荐