Closed israel-lugo closed 7 years ago
Desired output would be something like:
10.64.0.0/13
10.64.0.0/14
10.64.0.0/15
10.66.0.0/15
10.68.0.0/14
10.68.0.0/15
10.70.0.0/15
10.72.0.0/13
10.72.0.0/14
10.72.0.0/15
10.74.0.0/15
10.76.0.0/14
10.76.0.0/15
10.78.0.0/15
[...]
It would be nice to have the ability to split prefixes hierarchically, i.e.:
$ ./netcalc.py split 10.64.0.0/10 13 15
This would print a tree, splitting first with /13, then /14, then /15, with nested indentation, similarly to the
tree
command.