Range of IPS on single Ethernet

How to create a range of ip addresses on ethx. Create a range file in /etc/sysconfig/network-scripts
[root@daddylinux~]# cd /etc/sysconfig/network-scripts 
[root@daddylinux~]# nano  ifcfg-eth0-range1 

Enter this Parameters
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:04:75:D4:C8:F9
IPADDR_START=192.168.0.6
IPADDR_END=192.168.0.10
CLONENUM_START=1
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet  


CLONENUM_START -- interface clone number to start using for this range. # eg "1"
Which would start at eth0:1

0 comments:

Post a Comment