Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 20:10:39 +0000 (GMT)
From:      "Forrest W. Christian" <forrestc@imach.com>
To:        Dave <dave@hawk-systems.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   RE: map ip block to interface
Message-ID:  <20020322200715.T20330-100000@workhorse.imach.com>
In-Reply-To: <DBEIKNMKGOBGNDHAAKGNKEKKNGAA.dave@hawk-systems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Mar 2002, Dave wrote:

> >First part
> >- have a server with primary address 10.0.0.5
> >- server also hosts ip addresses 10.0.0.50 - 10.0.0.75
> >
> >Currently we are just listing all the addresses, how would we list a block of
> >addresses in rc.conf or do we have to list each one.

List each one as far as I know.  Never been able to do anything else (You
DON'T want to see our rc.conf on our web server).  Make sure netmask is
0xffffffff on the additional ones.

> >- we are getting short on this particular class C... and will soon be assigning
> >other class C blocks(say 10.0.1.25 - 10.0.1.50) to that interface
> >- same proceedure as above?

If the other class C "lives" on the same ethernet just use the same
procedure.

If you are adding a class C (or another netblock), then I'd route it to
10.0.0.5 and list ALL the addresses in that class C (including 0 and
255) as aliases on the loopback interface.   Make sure you get all of the
addresses, or you'll have routing loops.

- Forrest W. Christian (forrestc@imach.com) AC7DE
----------------------------------------------------------------------
The Innovation Machine Ltd.                              P.O. Box 5749
http://www.imach.com/                                Helena, MT  59604
Home of PacketFlux Technogies and BackupDNS.com         (406)-442-6648
----------------------------------------------------------------------
      Protect your personal freedoms - visit http://www.lp.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020322200715.T20330-100000>