SupermanInNY
Verified User
- Joined
- Sep 28, 2004
- Messages
- 419
Hi All,
I have several ranges of IPs, then I need to skip an IP and then add few more ranges, then skipp etc.
How do I go about adding them?
112.150.155.3 --> 112.150.155.29
112.150.155.31 --> 112.150.155.40
112.150.155.50 --> 112.150.155.79
I tried the solution of:
vi /etc/sysconfig/network-scripts/ifcfg-eth0-range0
in it, you'll add the code:
IPADDR_START= 112.150.155.3
IPADDR_END= 112.150.155.40
CLONENUM_START=0
but that solution works only on a full range, no spaces.
Is there a diff syntax that I can use?
112.150.155.30 is on a different server, so it is a problem.
What do I need to do to make sure they get added to the ethernet card automatically when I load the network services?
I tried to copy lines, but it only takes the last set.
IPADDR_START= 112.150.155.3
IPADDR_END= 112.150.155.29
IPADDR_START= 112.150.155.31
IPADDR_END= 112.150.155.40
CLONENUM_START=0
Any pointers?
Thanks,
-Alon.
I have several ranges of IPs, then I need to skip an IP and then add few more ranges, then skipp etc.
How do I go about adding them?
112.150.155.3 --> 112.150.155.29
112.150.155.31 --> 112.150.155.40
112.150.155.50 --> 112.150.155.79
I tried the solution of:
vi /etc/sysconfig/network-scripts/ifcfg-eth0-range0
in it, you'll add the code:
IPADDR_START= 112.150.155.3
IPADDR_END= 112.150.155.40
CLONENUM_START=0
but that solution works only on a full range, no spaces.
Is there a diff syntax that I can use?
112.150.155.30 is on a different server, so it is a problem.
What do I need to do to make sure they get added to the ethernet card automatically when I load the network services?
I tried to copy lines, but it only takes the last set.
IPADDR_START= 112.150.155.3
IPADDR_END= 112.150.155.29
IPADDR_START= 112.150.155.31
IPADDR_END= 112.150.155.40
CLONENUM_START=0
Any pointers?
Thanks,
-Alon.