Closed bschaatsbergen closed 1 month ago
What are your thoughts on this feature request @DanielRieske, @mmourick and @mvanholsteijn?
Sounds like a very nice feature to add to cidr
. I'd also like to take a crack at implementing this.
Created a PR for you.
The CIDR range division feature allow users to easily divide a given CIDR range into a specified number of smaller subnets.
Why: this enhancement is crucial for users dealing with IP address management, allowing them to efficiently and accurately divide CIDR ranges as needed. Improving this feature will enhance the overall usability of
cidr
.Example:
Introduce a
divide
subcommand, where you specify both a CIDR range as well as an integer to divide it respectively.h/t @steynovich for proposing this enhancement to cidr in a 1-on-1.