Subject: Re: alias netmask
To: Caffeinate The World <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 04/08/2003 22:32:08
On Tue, Apr 08, 2003 at 12:06:37PM -0700, Caffeinate The World wrote:
> --- Greywolf <firstname.lastname@example.org> 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 188.8.131.52 netmask 0xfffffff8 broadcast 184.108.40.206
> > # 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 220.127.116.11 netmask 0xfffffff8 broadcast 18.104.22.168
> I use the same methods as you greywolf. However, according to the
> FreeBSD people, since alias 22.214.171.124/29, then the alias
> 126.96.36.199 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 <email@example.com>
NetBSD: 24 ans d'experience feront toujours la difference