From owner-freebsd-net Tue Feb 27 17:57: 0 2001 Delivered-To: freebsd-net@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id CB71C37B71A for ; Tue, 27 Feb 2001 17:56:57 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id CAA29214; Wed, 28 Feb 2001 02:56:57 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200102280156.CAA29214@info.iet.unipi.it> Subject: Re: Quick question about IP aliasing In-Reply-To: <20010227194556.C737@tao.org.uk> from Josef Karthauser at "Feb 27, 2001 07:45:56 pm" To: Josef Karthauser Date: Wed, 28 Feb 2001 02:56:57 +0100 (CET) Cc: "Rogier R. Mulhuijzen" , Matthew Emmerton , Jonathan Graehl , freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Tue, Feb 27, 2001 at 07:16:14AM +0100, Rogier R. Mulhuijzen wrote: > > > > >The point is that you need to use a netmask of 255.255.255.255 for aliased > > >IPs on FreeBSD, regardless of the alias of the primary (non-alias) IP. no this is incorrect. you just have to make sure that the aliased IP&mask do not generate info which is already in the routing table. E.g. if your primary addr is 1.2.3.4/24 , an alias of 1.2.3.5/24 will give a warning, but an alias of 1.2.4.4/24 will not, and most likely even 1.2.3.5/25 will not. > > > > Everybody is saying use 255.255.255.255 for an alias. Noone is giving > > reasons why. > > I don't understand this either. To my mind it's a bug if it doesn't > work with the full netmask for an IP alias address. it does work, you just have tomake sure that you use the correct parameters. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message