Pretty much the above. Does anyone know a nice way to create subnets into a most specific supernet?
There are a good number of answers to this if you were to Google "How to create a supernet from subnets", and one of them is here:
ip - How do you calculate the prefix, network, subnet, and host numbers? - Network Engineering Stack Exchange
You might also use the SolarWinds' free Advanced Subnet Calculator if you love using a GUI.
Swift packets (and subnet / supernet calculation)!
Rick Schroeder
I think you may have misunderstood my question. Out of the existing subnets in IPAM, I need to find which one is the most specific supernet for my new subnet. I could theoretically iterate through each subnet in IPAM and calculate each subnet's mask, etc to find the right one, but I figured someone out there has come up with a better way.
You're right--I didn't take this as an IPAM question. Sorry for offering suggestions that don't meet your need.
Rick
All good!