Thats pretty simple
Just configure on ips in
1 |
/etc/sysconfig/network-scripts/ifcfg-eth0 |
Then Make a new file named ifcfg-eth0-range0
1 |
emacs /etc/sysconfig/network-scripts/ifcfg-eth0-range0 |
Put following code in it
1 2 3 |
IPADDR_START=192.168.0.101 IPADDR_END=192.168.0.200 CLONENUM_START=1 |
Save and close by pressing
1 |
Ctrl+X+C |
Then run command
1 |
Service network restart |
And you are done, ips from 192.168.0.100 to 192.168.0.200 are configured in your server. 192.168.0.100 is configured in ifcfg-eth0 and remaining are in range0 file.
Comment Policy:
Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.