From owner-freebsd-net Tue Feb 27 21:46:59 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 EEA6F37B718 for ; Tue, 27 Feb 2001 21:46:53 -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 GAA30434; Wed, 28 Feb 2001 06:47:49 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200102280547.GAA30434@info.iet.unipi.it> Subject: Re: Quick question about IP aliasing In-Reply-To: from Alex Rousskov at "Feb 27, 2001 10:06:58 pm" To: Alex Rousskov Date: Wed, 28 Feb 2001 06:47:49 +0100 (CET) Cc: 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 Alex, > Can you be more specific please? Is it just a harmless warning > message or a true error? In other words, will anything break if I use > a.b.c.2/24 alias on the interface with the a.b.c.1/24 primary address? technically i think it is a real error to use a /24 alias, but i am not 100% sure about the amt of problems it causes. > Unfortunately, I cannot simply ignore the discussion. For benchmarking > purposes, we routinely use thousands of IP aliases that belong to the > same subnet on one interface without any known problems. I want to > know if we are doing something wrong. > > I do not care about the ifconfig warning by itself. We do not > even use ifconfig to manage aliases. I care about the actual run-time > code that handles the addresses. Could you please clarify whether if you do care about this, you may want to restructure the data structure used to store/match interface addresses. At the moment it is a linear list, so the matching of incoming packets is probably Very Time Comsuming! cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone (510) 666 2927 . ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message