You have to use a range file
/etc/sysconfig/network-scripts/ifcfg-enp0s3and make sure that
NM_CONTROLLEDis set to
NO(preventing the network manager to control the interface is required to use range files)
IPADDR_START=192.168.1.10 IPADDR_END=192.168.1.254 PREFIX=24 CLONENUM_START=0
systemctl restart networkand the changes should be effective.
If you wanted to configure multiple ranges you could create other file (