Subject: Re: alias netmask
To: Caffeinate The World <mochaexpress@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 04/08/2003 22:32:08
On Tue, Apr 08, 2003 at 12:06:37PM -0700, Caffeinate The World wrote:
> 
> --- Greywolf <greywolf@starwolf.com> wrote:
> > # Internal (house) network.  /24.  That's all I need, and NATing
> > anything
> > # else is just insane.
> > 	inet 10.11.11.11 netmask 0xffffff00 broadcast 10.11.11.255
> > # External real-world address for www, ftp, etc.  /29 (8 addrs)
> > 	inet alias 64.139.13.178 netmask 0xfffffff8 broadcast 64.139.13.183
> > # NAT address to the outside world (this is my NAT box), also /29
> > # since it's within the same address space as the above.
> > 	inet alias 64.139.13.181 netmask 0xfffffff8 broadcast 64.139.13.183
> 
> I use the same methods as you greywolf. However, according to the
> FreeBSD people, since alias 64.139.13.178/29, then the alias
> 64.139.13.181 following that should be /32.
> 
> Which is the righ logic? or is there one?

Well, I use /32 as well, when the alias is in the same subnet as the
main address. In the past I got problems when using the same netmask as
the main address, but I didn't check recently.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--