Following are some steps which are to be followed if you want to bind IP address range manually on your Dedicated web server Hosting.

1. First, login to the server via SSH :

Code :

root@server [~]# cd /etc/sysconfig/network-scripts/

2. Then, Create a blank file ifcfg-eth0-range0 and edit :

Code :

[root@server network-scripts]# vi ifcfg-eth0-range0

3. Here IP range starts from 192.168.5.10 upto 192.168.5.30 .
Add following lines in ifcfg-eth0-range0 :

Code :

IPADDR_START=192.168.5.10
IPADDR_END=192.168.5.30
CLONENUM_START=1

IPADDR_START >> starting IP address
IPADDR_END >> ending IP address
CLONENUM_START >> will create interfaces such as eth0:0, eth0:1, eth0:2 etc …

4. As we have done some changes with the network-scripts directory,The following commands should be executed so that the changes are applied and the IP range is activated

Code :

root@server [~]# /etc/init.d/network restart

5. Now you can verify the IP address range has been added on the server with the command :

root@server [~]# ifconfig

[Post to Twitter] Tweet This

Leave a Reply