do we support non contiguous netmasks ?

Anders Lowinger anders.lowinger at packetfront.com
Mon Apr 5 06:14:29 PDT 2004


Luigi Rizzo wrote:
> Hi,
> i was wondering if anyone knows what kind of support we have
> in FreeBSD networking code, for non contiguous netmasks.
> While it is trivial to support them for interface addresses,
> managing them in the routing table is probably far from trivial
> and I believe also mostly useless... and anyways, i have no
> idea how our kernel code deals with them

Not sure why you wonder? Do you need it?

If we implement a mtrie for faster routing-lookups,
non-contiguous masks need to go.

Not even Cisco implements anything else than contiguous masks,
and I have a very hard time to understand why they are needed.

/Anders


More information about the freebsd-net mailing list