Results 1 to 2 of 2
  1. #1

    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!

  2. #2
    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
    The first public IP for 64.79.103.208/28 is 64.79.103.210 so eth0-range1 would be:
    Code:
    IPADDR_START=64.79.103.210
    IPADDR_END=64.79.103.222
    Did you restart the network interface after the creation of files?

Similar Threads

  1. adding centos to windows xp machine
    By Salvatore in forum Hosting Security and Technology
    Replies: 3
    Last Post: 12-01-2010, 07:49 AM
  2. Adding SPF Record CentOS 5
    By MziB in forum Hosting Security and Technology
    Replies: 2
    Last Post: 08-17-2009, 07:27 AM
  3. adding multiple IP (CentOS)
    By marcus28 in forum Hosting Security and Technology
    Replies: 4
    Last Post: 08-06-2009, 06:03 PM
  4. CentOS 4 Adding a 2nd IP
    By -[OnTarget]- in forum Hosting Security and Technology
    Replies: 6
    Last Post: 02-19-2007, 12:15 AM
  5. Many Ip's in different ranges
    By andymindel in forum Web Hosting
    Replies: 7
    Last Post: 10-09-2002, 03:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •