[1256] in linux-net channel archive
Re: ip aliasing support ...
daemon@ATHENA.MIT.EDU (Andrew McNamara)
Fri Oct 27 06:53:10 1995
To: Alan Cox <alan@cymru.net>
cc: linux-vger@wab-tis.rabobank.nl, srb@cuci.nl, linux-net@vger.rutgers.edu
In-reply-to: Your message of "Tue, 24 Oct 1995 09:42:54 +0100."
<199510240842.JAA07590@snowcrash.cymru.net>
Date: Wed, 25 Oct 1995 16:59:09 +1000
From: Andrew McNamara <andrewm@connect.com.au>
>I did actually sit and time a few strategies a long time ago. For a small
>list the gain by the fact its tight trivial assembler output (move, move,
>not xor and) far outweights any advantages - also remember that for the
>alias list (which is what this is about) you have addr/mask pairs so a large
>number of entries should not be needed.
As a datapoint, we are currently running about 128 "aliases" on a Netra
20 running SunOS 4.1.4 with no adverse effects. Provided the O/S
doesn't crap out, I can see us going to 512 in the reasonably near
future.
That said, I would prefer to search an array than have complex,
difficult to maintain, potentially buggy "smart" code, unless the
routing table lookup code can be utilised.
--
Andrew McNamara (Systems Engineer)
connect.com.au Pty Ltd, Lvl 10, 56 Berry St, North Sydney, NSW 2060, Australia
Internet: andrewm@connect.com.au, Phone: +61 2 9959 5959, Fax: +61 2 9966 1960