The first and last IP within a prefix are assumed to be unusable #506

Closed
opened 2025-12-29 16:22:42 +01:00 by adam · 2 comments
Owner

Originally created by @NetTinkerer on GitHub (Oct 31, 2016).

when a /27 prefix is created only 30 free IPs are mentionned. Although this is valid for Ethernet segments it is confusing when the prefix is used as a pool for nat addresses or aggregating loopbacks. It might be usefull to add a flag to a prefix if it is an ethernet segement or just a container for something else

Originally created by @NetTinkerer on GitHub (Oct 31, 2016). when a /27 prefix is created only 30 free IPs are mentionned. Although this is valid for Ethernet segments it is confusing when the prefix is used as a pool for nat addresses or aggregating loopbacks. It might be usefull to add a flag to a prefix if it is an ethernet segement or just a container for something else
adam added the type: bug label 2025-12-29 16:22:42 +01:00
adam closed this issue 2025-12-29 16:22:42 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 31, 2016):

It's pretty easy to modify this behavior, but we need to figure out how to indicate whether the network/broadcast IPs should be counted. It might make sense to add a new prefix type called "pool" and count otherwise unusable IPs for prefixes of this type. It might also make sense to count them for container prefixes.

@jeremystretch commented on GitHub (Oct 31, 2016): It's pretty easy to modify this behavior, but we need to figure out how to indicate whether the network/broadcast IPs should be counted. It might make sense to add a new prefix type called "pool" and count otherwise unusable IPs for prefixes of this type. It might also make sense to count them for container prefixes.
Author
Owner

@footplus commented on GitHub (Nov 3, 2016):

FWIW, RackTables work around this by using "reserved" addresses, that a checkbox permits to allocate easily while creating the prefix. That way, every prefix is useable as a pool or not.

@footplus commented on GitHub (Nov 3, 2016): FWIW, RackTables work around this by using "reserved" addresses, that a checkbox permits to allocate easily while creating the prefix. That way, every prefix is useable as a pool or not.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#506