Nov 10, 2018

How to Add virtual interface for IP based virtual host in Centos

Adding the file to the folder: /etc/sysconfig/network-scripts, you can add many if you want many.

file: ifcfg-eth0-range0

IPADDR_START=192.168.3.74
IPADDR_END=192.168.3.75
CLONENUM_START=0

restart the network service to take effect.

CLONENUM_START=is corresponding to eth0:n