配置网卡
# setup eth0
启动网卡
# ifup eth0
重启
# /etc/init.d/network restart
# service network restart
配置网卡自启动
# vi /etc/sysconfig/network-scripts/ifcfg-eth1
onboot=yes
# setup eth0
# ifup eth0
# /etc/init.d/network restart
# service network restart
# vi /etc/sysconfig/network-scripts/ifcfg-eth1
onboot=yes