vi /etc/sysconfig/network-scripts/ifcfg-eth0
修改
修改redhat/centos 的网络配置为静态IP
原文:http://www.cnblogs.com/gailuo/p/4998841.html