配置網(wǎng)卡
# setup eth0
啟動(dòng)網(wǎng)卡
# ifup eth0
重啟
# /etc/init.d/network restart
# service network restart
配置網(wǎng)卡自啟動(dòng)
# 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