Re: CIDR Utilization

2015-11-02 Thread Owen DeLong
The results appear to be missing 192.168.0.0/32. Is this intended behavior? 192.168.0.8/27 is not a valid CIDR — It actually represents an address within 192.168.0.0/27, so actually, rather than missing 192.168.0.0/32, one could argue that there are erroneous reports for 192.168.0.2/31, 192.168

Re: CIDR Utilization

2015-11-02 Thread inetjunkmail
Learned that attachments do make it to the list. Here's a link: http://pastebin.com/tMdcfvji On Sat, Oct 31, 2015 at 10:29 AM, inetjunkmail wrote: > Attached is a perl script I wrote for a coworker that you can tweak as > you'd like. It's designed to log into a router and dump the route table

Re: CIDR Utilization

2015-10-31 Thread Baldur Norddahl
On 31 October 2015 at 01:51, John Steve Nash wrote: > I'm looking for any tool or a way I could specify a CIDR and the prefixes > that are being used within this CIDR and the tool show me all free > supernets. > For the weekend exercise I wrote a small script that does this. You can find it at h

Re: CIDR Utilization

2015-10-31 Thread inetjunkmail
Attached is a perl script I wrote for a coworker that you can tweak as you'd like. It's designed to log into a router and dump the route table(s) and find used/unused subnets in a given supernet. Available routes are green and used routes are red. Yellow routes are routes where we have route and

RE: CIDR Utilization

2015-10-31 Thread Jeremiah Millay
John, Without going through the hassle of installing a full-blown IPAM solution you could use Python's netaddr library to accomplish what you are asking: >>> from netaddr import * >>> cidr = IPSet(['192.168.0.0/24']) >>> used = IPSet(['192.168.0.1','192.168.0.8/29','192.168.0.64/26']) >>> cidr ^

Re: CIDR Utilization

2015-10-30 Thread Theodore Baschak
> On Oct 30, 2015, at 7:51 PM, John Steve Nash > wrote: > > Hi, > > I'm looking for any tool or a way I could specify a CIDR and the prefixes > that are being used within this CIDR and the tool show me all free > supernets. > I've used subnetsmngr for this in the past. Proper usage of it thr

Re: CIDR Utilization

2015-10-30 Thread joel jaeggli
most reasonable ipam tools will track or express unallocated vs allocated space. netdot has a lovely address-space container/block view for managing free vs allocated space joel On 10/31/15 9:51 AM, John Steve Nash wrote: > Hi, > > I'm looking for any tool or a way I could specify a CIDR and th