IPAM - Blockout entire prefix as utilised

346 views
Skip to first unread message

Aaron Christensen

unread,
Jun 25, 2017, 10:01:53 PM6/25/17
to NetBox
Hi guys,

I'm a Network Engineer for a medium-sized ISP.  We're in the process of updating our ageing IPAM tool and process (thank $%^#), and we're quite interested in NetBox for it's IPAM and other features.

We have a use case where a prefix is allocated for customer use, and would like mark that entire range as utilised.  Without resorting to bulk allocating IP Addresses in Netbox.  For example,
  • A /38 IPv6 prefix is assigned from the aggregate, to a geographical area for customer (and our own) allocations
  • Customers are assigned a /64 or /48 for their own use
We don't care what each individual address is assign for by the customer, but would like the usage of the prefix (and parent prefix) to reflect that the entire /48 or /64 is fully utilised. Again, without resorting to bulk creating IP Addresses.

I've done some searching, and it doesn't look like it can be done out-of-the-box.  My guess is we'll need to muck around with the code.

Any feedback or points in the right direction are appreciated.


Thanks,
Aaron

Jeremy Stretch

unread,
Jun 26, 2017, 4:42:45 PM6/26/17
to Aaron Christensen, NetBox
Hi Aaron,

So in NetBox, utilization is considered in two contexts: prefixes available within an aggregate, and IPs available within a prefix. An aggregate is considered fully utilized if it has no available child prefixes, regardless of whether it has any child IP addresses.

It would probably make more sense to display child prefix utilization rather than IP utilization for prefixes designated as containers (e.g. those which are used to summarize other prefixes). I'm not sure yet how feasible that is from a performance standpoint but I'll give it some thought. Would you mind submitting a feature request for this please?

Jeremy


--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to netbox-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/c24c67fd-2d76-4574-8831-151b6b47016c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeremy Stretch

unread,
Jun 26, 2017, 5:34:22 PM6/26/17
to Aaron Christensen, NetBox
Scratch that. I went ahead and opened #1298. Should be implemented in the next release (v2.0.7).

On Mon, Jun 26, 2017 at 4:42 PM, Jeremy Stretch <jstr...@digitalocean.com> wrote:
Hi Aaron,

So in NetBox, utilization is considered in two contexts: prefixes available within an aggregate, and IPs available within a prefix. An aggregate is considered fully utilized if it has no available child prefixes, regardless of whether it has any child IP addresses.

It would probably make more sense to display child prefix utilization rather than IP utilization for prefixes designated as containers (e.g. those which are used to summarize other prefixes). I'm not sure yet how feasible that is from a performance standpoint but I'll give it some thought. Would you mind submitting a feature request for this please?

Jeremy

On Sun, Jun 25, 2017 at 10:01 PM, Aaron Christensen <aaro...@gmail.com> wrote:
Hi guys,

I'm a Network Engineer for a medium-sized ISP.  We're in the process of updating our ageing IPAM tool and process (thank $%^#), and we're quite interested in NetBox for it's IPAM and other features.

We have a use case where a prefix is allocated for customer use, and would like mark that entire range as utilised.  Without resorting to bulk allocating IP Addresses in Netbox.  For example,
  • A /38 IPv6 prefix is assigned from the aggregate, to a geographical area for customer (and our own) allocations
  • Customers are assigned a /64 or /48 for their own use
We don't care what each individual address is assign for by the customer, but would like the usage of the prefix (and parent prefix) to reflect that the entire /48 or /64 is fully utilised. Again, without resorting to bulk creating IP Addresses.

I've done some searching, and it doesn't look like it can be done out-of-the-box.  My guess is we'll need to muck around with the code.

Any feedback or points in the right direction are appreciated.


Thanks,
Aaron

--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to netbox-...@googlegroups.com.

Aaron Christensen

unread,
Jun 26, 2017, 6:05:45 PM6/26/17
to Jeremy Stretch, NetBox
Hi Jeremy,

Thanks very much for looking into it, much appreciated!  


Cheers,
Aaron
Reply all
Reply to author
Forward
0 new messages