标签:
1.root登录
2.vi /etc/sysconfig/network-scripts/ifcfg-eth0设置网卡
3.设置网卡IP:
IPADDR=192.168.0.33
BOOTPROTO=none
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS1=192.168.0.1
DNS2=192.168.0.2
NM_CONTROLLED=no
4.重启网卡service network restart
标签:
原文地址:http://www.cnblogs.com/czl99/p/5096595.html