配置网络 临时生效 # 配置 ip、子网掩码 ifconfig eth0 10.130.6.180 netmask 255.255.0.0 # 配置网关 route add default gw 10.130.6.1 永久生效 vi /etc/sysconfig/network-scripts/ifcfg-eth0 # 加入下面三行 IPADDR=10.130.6.180 GATEWAY=10.130.6.1 NETMASK