centos启动时自动打开网络eth0

在/etc/sysconfig/network-scripts/ifcfg-eth0里面
配置ONBOOT="yes" 


如果要单独打开关闭, 使用
ifup eth0
ifdown eth0

http://unix.stackexchange.com/questions/36241/centos-eth0-not-starting

http://www.linuxquestions.org/questions/linux-networking-3/how-to-re-start-eth0-180884/

猜你喜欢

转载自alleni123.iteye.com/blog/2031040