Re: Subnet Mask

From: Gert Doering (gert@greenie.muc.de)
Date: Thu Mar 28 2002 - 15:13:59 EST


Hi,

On Thu, Mar 28, 2002 at 09:00:18PM +0200, Hank Nussbacher wrote:
> >If you want to see source code, look into the Linux or BSD kernel
> >networking code. The basic stuff ("lookup of IP routes and masks")
> >has to follow the same rules everywhere.
>
> Not always. Read "Routing with a Clue":
> http://www.acm.org/sigcomm/sigcomm99/papers/session6-1.html

Basically that's just an optimization. The netmask/base address match has
to be done anyway, you can just save a few lookups. Interesting idea,
though.

Nevetherless I doubt whether this would be faster than a no-special-cases-
no-caching optimized-data-structure thing like CEF (or whatever the
competition is doing to that effect).

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:13:09 EDT