FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 11-13-2011, 10:28 PM
Jonathan Vomacka
Default binding additional IP addresses to centos6 on one interface

I know this was discussed before, and I have seen a million ways of
doing this via online docs. I have a quick question that hopefully the
community can help me out with

I am trying to add a block of 10 IP addresses. Rather then create 10
different alias files, I want to use the RANGE file.

Docs say to use the following format:

If the IP's that are given to you are on a completely seperate gateway /
netmask, how would you enter it into this file? Is it necessary? Please
CentOS mailing list
Old 11-14-2011, 10:03 AM
Default binding additional IP addresses to centos6 on one interface

Jonathan Vomacka writes:

> Reindl,
> A block of 10 IPV4 is not a lot, and they will all eventually be used.
> My question is, my server IP is 66.80.x.x and my additional IPS are in
> the 50.7.x.x range using a netmask of
> Can the netmask be written in the range file like it is in the ifcfg-eth0:0?


Please do not top post. gives you a total of 8 IPs, not 10, of which usually you
loose 3 for the network, broadcast and gw addresses.
You can assign those 5 in a range file without problems, you can also
specify the netmask like in a "normal" cfg file. It shouldn't be needed to
specify other settings.

Where I work we'd route the additional subnet through the IP you already
have on the server, thus allowing you to allocate _all_ 8 IPs as a range
on the loopback interface with a /32 netmask. See if your ISP can do this
for you.


CentOS mailing list

Thread Tools

All times are GMT. The time now is 09:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org