Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Aug 1999 12:15:46 -0400
From:      Marcel Mason <mmason@nunanet.com>
To:        freebsd-isp@freebsd.org
Subject:   IP Aliasing
Message-ID:  <99080312293700.12353@banshee.nunanet.com>

next in thread | raw e-mail | index | archive | help
(from one new to IP aliasing)

Went through the archives and think I'm on the right track but I would like
confirmation before I potentially botch something vompletely.

We have a class C license on a server with lo0 setup as xxx.xxx.xx.3 and a
gateway of xxx.xxx.xx.12

The first portion of the class c is just about full and I would like to use
the xxx.xxx.xx.32 - 63 for virtual hosting.

I think, based on what I've read that I would make (for example)  the following
entry in the /etc/rc.conf file

ifconfig lo0 xxx.xxx.xx.33 netmask 255.255.255.255 alias

and thereby be able to use that IP address the same as any of the addresses
between xxx.xxx.xx.0 - 31. Yes/No?

If yes does this mean that I would have to make individual entries
in the rc.conf file for each IP address I would like to use between
xxx.xxx.xx.32 - 63? or is there a better way which would allow me to point all
addresses between xxx.xxx.xx.32 - 63 to lo0 with a single entry?

Alternatively I could make the entries in the etc/rc.conf.local file and use
that file for this specific purpose which would make for more managable file
organization.

M Mason


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?99080312293700.12353>