Results 1 to 2 of 2
Thread: Adding IP Ranges to CentOS 6?
-
03-15-2012, 06:26 AM #1WHT Addict
- Join Date
- May 2009
- Posts
- 152
Adding IP Ranges to CentOS 6?
I am a long time Windows Admin, but decided recently to install CentOS 6.2 Minimal on our of our spare servers and start tinkering around to get more familiar. After quite a lot of reading, I was able to get one IP binding to the eth0 NIC.
However, even after reading further, I cannot figure out how to setup the rest of the IP ranges on here.
ifcfg-eth0
DEVICE="eth0"
HWADDR="***ADDRHERE**"
BOOTPROTO="none"
NM_CONTROLLED="no"
IPADDR="64.79.102.106"
NETMASK="255.255.255.248"
GATEWAY="64.79.102.105"
ONBOOT="yes"
This machine has both the following IP Ranges assigned to it...
64.79.102.104/29
64.79.103.208/28
I read that I needed to create a "ifcfg-eth0-range" file, which I did, and it looks like so...
IPADDR_START=64.79.103.210
IPADDR_END=64.79.103.22
CLONENUM_START 1
This isn't working, and I can see why, but I have no idea what else is needed. Any help would be appreciated!
-
03-15-2012, 10:13 AM #2Aspiring Evangelist
- Join Date
- Apr 2008
- Posts
- 444
Hello,
You can not start with 64.79.103.210 and finish with 64.79.103.22.
The first public IP for 64.79.102.104/29 is 64.79.102.106 so eth0-range0 would be:
Code:IPADDR_START=64.79.102.107 IPADDR_END=64.79.102.110
Code:IPADDR_START=64.79.103.210 IPADDR_END=64.79.103.222
Similar Threads
-
adding centos to windows xp machine
By Salvatore in forum Hosting Security and TechnologyReplies: 3Last Post: 12-01-2010, 07:49 AM -
Adding SPF Record CentOS 5
By MziB in forum Hosting Security and TechnologyReplies: 2Last Post: 08-17-2009, 07:27 AM -
adding multiple IP (CentOS)
By marcus28 in forum Hosting Security and TechnologyReplies: 4Last Post: 08-06-2009, 06:03 PM -
CentOS 4 Adding a 2nd IP
By -[OnTarget]- in forum Hosting Security and TechnologyReplies: 6Last Post: 02-19-2007, 12:15 AM -
Many Ip's in different ranges
By andymindel in forum Web HostingReplies: 7Last Post: 10-09-2002, 03:21 AM