vi /etc/sysconfig/network-scripts/ifcfg-eth0-range0
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:C0:9F:33:7D:88
ONBOOT=yes
TYPE=Ethernet
IPADDR_START=104.151.14.2(第一个可用IP)
IPADDR_END=104.151.14.254(第二个可用IP)
CLONENUM_START=0
GATEWAY=104.151.14.1(网关)
NETMASK=255.255.255.0(掩码)
NO_ALIASROUTING=yes
最后重启网卡:/etc/init.d/network restart