Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2004 11:03:38 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        "Dan Piparo" <dan@danworld.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ifconfig netmask problem
Message-ID:  <xzpsmcmodcl.fsf@dwp.des.no>
In-Reply-To: <200406230729.i5N7TGnc006212@ms-smtp-02.tampabay.rr.com> (Dan Piparo's message of "Wed, 23 Jun 2004 03:29:18 -0400")
References:  <200406230729.i5N7TGnc006212@ms-smtp-02.tampabay.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Dan Piparo" <dan@danworld.net> writes:
> What I really want to know, what is the proper netmask for an alias IP
> address for the latest FreeBSD 4.10-STABLE version.  Did it change for so=
me
> reason?

"it depends"

if the alias is on the same subnet as an existing address (whether on
that interface or another) it must have an all-bits-one netmask to
avoid routing ambiguity.

if it is on a different subnet, it should have the correct netmask for
that subnet.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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