Archive for the tag 'ethx'

How to create a range of ip addresses on ethx

Create a range file in /etc/sysconfig/network-scripts

Example:

#vi ifcfg-eth0-range1

Insert the following

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