Date: 02 Jul 2002 08:09:13 -0500 From: Russell Cattelan <cattelan@thebarn.com> To: Doug Barton <DougB@FreeBSD.org> Cc: freebsd-bugs@FreeBSD.org Subject: Re: misc/38672: ifconfig+alias Message-ID: <1025615358.14740.28.camel@lupo.thebarn.com> In-Reply-To: <3D213E8A.B83A7D98@FreeBSD.org> References: <200207020200.g622073J081748@freefall.freebsd.org> <3D213E8A.B83A7D98@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2002-07-02 at 00:47, Doug Barton wrote: > Russell Cattelan wrote: > > > > The following reply was made to PR misc/38672; it has been noted by GNATS. > > > > From: Russell Cattelan <cattelan@thebarn.com> > > To: freebsd-gnats-submit@FreeBSD.org, phisto@mail.ru > > Cc: > > Subject: Re: misc/38672: ifconfig+alias > > Date: 01 Jul 2002 20:56:24 -0500 > > > > I just hit this bug also... does anybody have a fix for it yet? > > It seems to have showwn up someplace between 4.5 and 4.6 > > > > It appears something is being over checking if I create aliases > > with different netmasks it works, but creating aliases > > with the same netmask as an already existing ip fails. > > netmasks for aliases should all be 255.255.255.255: > > alias Establish an additional network address for this interface. > This > is sometimes useful when changing network numbers, and one > wishes > to accept packets addressed to the old interface. If the > address > is on the same subnet as the first network address for this > interface, a non-conflicting netmask must be given. Usually > 0xffffffff is most appropriate. > > The fact that this is being enforced is not a bug. Ahh ok I understand now. The fact that this is a non-obvious behavior change between 4.5 and 4.6 a better error message out of ifconfig might be a good idea. At the the very least a warning from ifconfig when trying to use a netmask other than 255.255.255.255 on an alias. -Russell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1025615358.14740.28.camel>