1.网卡默认是关的,操作:
ifconfig eth* up
2.
vi /etc/sysconfig/network-scripts/ifcfg-eth*
把 ONBOOT=no改为ONBOOT=yes
3.
service network restart
ifconfig eth* up
2.
vi /etc/sysconfig/network-scripts/ifcfg-eth*
把 ONBOOT=no改为ONBOOT=yes
3.
service network restart