[15237] in North American Network Operators' Group
Re: Managing allocatiions out of a CIDR block
daemon@ATHENA.MIT.EDU (Michael K. Sanders)
Tue Feb 10 16:15:32 1998
To: Mark Prior <mrp@connect.com.au>
cc: nanog@merit.edu
In-reply-to: Your message of "Tue, 10 Feb 1998 19:25:17 +1030."
<199802100855.TAA02809@kuji.off.connect.com.au>
Date: Tue, 10 Feb 1998 12:14:43 -0700
From: "Michael K. Sanders" <msanders@aros.net>
In message <199802100855.TAA02809@kuji.off.connect.com.au>, Mark Prior writes:
>I am trying to rewrite the system that we use to allocate blocks from
>our provider blocks to customers. Previously the smallest block we
>allocated was a class C and so this process was pretty easy but now I
>want to be able to optimally use our allocations and allocate blocks
>down to a /30. Does anyone have any ideas, or code, that will manage
>multiple CIDR blocks and keep track of the currently unused parts of
>the block and given a requirement find an appropriate allocation
>(while not fragmenting it like crazy). It would be also useful if it
>could collect together POP specific blocks so that, for example, two
>parts of the same class C were at the same POP.
>
>Ideas, suggestions?
While I don't know of any existing code offhand (I keep meaning
to write something, but never have the time, yada yada), you might
want to take a look at RFC 1219 for address allocation.
:: Mike ::