查看当前ip地址详细信息

ifconfig /all

vi /etc/sysconfig/network-scripts/ifcfg-eth0

将ONBOOT=yes

不要UID

IPADDR=192.168.100.90

GATEWAY=192.168.100.254

:wq