in reply to Unsorted IP Addr list to sorted IP list with ranges
Update: Fwiw, I found these modules through http://search.cpan.org using these terms: netmask, subnet, ip address, and cidr.
Update II: Anonymonk provides below what was beginning to percolate into my brain - that is, convert the dotted quad addresses to their (real) binary values, then sort and look for sequential blocks. ++anonymonk.
|
|---|