From owner-freebsd-stable Wed Feb 27 18:23:12 2002 Delivered-To: freebsd-stable@freebsd.org Received: from gromit.solo.net (gromit.solo.net [64.23.55.189]) by hub.freebsd.org (Postfix) with ESMTP id DE6E837B402 for ; Wed, 27 Feb 2002 18:23:03 -0800 (PST) Received: (from root@localhost) by gromit.solo.net (8.11.6/8.11.6) id g1S2RqA09275; Wed, 27 Feb 2002 21:27:52 -0500 (EST) (envelope-from dak@SOLO.NET) Received: from [63.128.1.67] (localhost [127.0.0.1]) (authenticated) by gromit.solo.net (8.11.6/8.11.6av) with ESMTP id g1S2Rl209267; Wed, 27 Feb 2002 21:27:47 -0500 (EST) (envelope-from dak@SOLO.NET) Mime-Version: 1.0 X-Sender: dak@mail.solo.net (Unverified) Message-Id: In-Reply-To: <20020228000044.GA91125@walton.maths.tcd.ie> References: <20020228000044.GA91125@walton.maths.tcd.ie> Date: Wed, 27 Feb 2002 21:22:48 -0500 To: David Malone , "David A. Koran" From: "David A. Koran" Subject: Re: ifconfig aliases Cc: freebsd-stable@freebsd.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 12:00 AM +0000 2/28/02, David Malone wrote: >On Wed, Feb 27, 2002 at 03:51:04PM -0500, David A. Koran wrote: >> Did somebody make a change to the syntax of how the ifconfig aliases >> (eg. "ifconfig_fxp0_alias1="inet some.ip.addr.ess netmask >> some.net.mask.num") work? > >As far as I knew, if an IP alias is in the same network as a previous >IP address which the machine has then the netmask must be given as >255.255.255.255. This is to prevent the creation of a duplicate >route to the network. This has always been the advice given on the >mailing lists, I think. > >Can you point me to some docs which say otherwise? If so they >probably need to be updated. > > David. Well, I've been using my original settings (the first example in the original message) for years (3-4) on high traffic servers without an issue until today. Maybe somebody did a code audit and decided to enforce some of the "generally accepted" techniques. I did note that since the 4.5 Release, there were some changes MFC'ed, notably some in rc.network (where the rc.conf file is read for the ifconfig settings). I'm mainly trying to see if this is a "bug" or a "feature". The second example was the fix I did and it works, but obviously since release, there have been a number of changes in regards to this issue. I'll try to dig up some docs showing the other way, but I think even the original copies of "The Complete FreeBSD" had aliasing setup per my original example. (I think even the O'Reilly TCP/IP Network Admin book is listed as such). David -- David A. Koran (dak@solo.net) - http://www.solo.net/~dak/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GIT/CS/SS d- s+: a- C+++$ UBLHSX++++$ P+++$ L- E--- W+++ N- o-- K-? w--- O- M+++$ V-- PS++ PE- Y+>++ PGP t--@ 5 X+ R- tv b+ DI++++ D G e*>+++ h++ r y+ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message