1、setup配置静态租祥IP
2、#vim /etc/sysconfig/network-scripts/ifcfg-eth0 #第一个网卡
DEVICE=eth0
HWADDR=00:0c:29:67:08:35
TYPE=Ethernet
UUID=d773097a-87f1-47f2-82b7-60b23a22fcd5
ONBOOT=yes //#启动时是否激活 yes | no
NM_CONTROLLED=yes
BOOTPROTO=dhcp 弊裤搏 //改成static 静态配置纯悉
DNS1=8.8.8.8
IPV6INIT=no
USERCTL=no
PEERDNS=yes