Date: Wed, 28 Feb 2001 07:24:21 -0700 (MST) From: Alex Rousskov <rousskov@measurement-factory.com> To: Luigi Rizzo <luigi@info.iet.unipi.it> Cc: freebsd-net@FreeBSD.ORG Subject: Re: Quick question about IP aliasing Message-ID: <Pine.BSF.4.10.10102280721120.57060-100000@measurement-factory.com> In-Reply-To: <200102280547.GAA30434@info.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Feb 2001, Luigi Rizzo wrote: > 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! We have a patch (posted to this list long time ago) that optimizes the lookup for incoming packets: http://polygraph.ircache.net/Tips/FreeBSD-3.3/ip_addr_hash.patch You are right that an unpatched kernel cannot handle more than ~500 aliases efficiently: http://www.ircache.net/~wessels/Junk/aliases/ Alex. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10102280721120.57060-100000>