linux网络配置,永久配置
root 账户登录
vi /etc/sysconfig/network-scripts/ifcfg-eth0
添加下面内容
IPADDR=
NETMASK=
GATEWAY=