Large subnet patch

David W. Hankins David_Hankins at isc.org
Wed Mar 30 23:42:44 UTC 2005


our mailing list software strips non-text/plain attachments as
'binary'.

can you send a copy of this patch to dhcp-suggest at isc.org?

i can't promise it will ge integrated in the next feature release, i
haven't looked at it yet, but i'm very interested in the idea since
it's something we'll have to do for ipv6 support (it would be impossible
to enumerate all the leases all the time in a 2^64 address space).

so i'm actually interested in how you solved the problem more than
why.

On Wed, Mar 30, 2005 at 05:37:38PM -0500, Bin Guo wrote:
> Content-Type: text/plain;
> 	charset="Windows-1252"
> Content-Transfer-Encoding: quoted-printable
> This patch is only useful when you want to serve a full class A
> subnet without the required memory to allocate all free leases:
> it defers the free lease allocation until required.
> 
> Of course you will still run out of memory eventually, but a bit
> later...

which leads into the next feature - either forgetting leases in the free
states that are older than 'x', or some lowater/hiwater that deletes
the oldest leases to maintain a memory footprint.

-- 
David W. Hankins		"If you don't do it right the first time,
Software Engineer			you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins


More information about the dhcp-hackers mailing list