The Net::CIDR package contains functions that manipulate lists of IP netblocks expressed in CIDR notation. The Net::CIDR functions handle both IPv4 and IPv6 addresses. WWW: http://search.cpan.org/dist/Net-CIDR/ On Thu, May 03, 2012 at 04:58:27PM -0400, chip wrote:
Looks like the most recent NetAddr::IP perl module will do it:
http://search.cpan.org/~miker/NetAddr-IP-4.059/IP.pm#EXPORT_OK
Take a look at the Compact function. I think that's what will do it.
--chip
On Thu, May 3, 2012 at 4:25 PM, Rafael Rodriguez <packetjockey@gmail.com> wrote:
Hi list,
I can't seem to find any tools that'll aggregate a list of IPv6 prefixes. Used to 'aggregate' for IPv4, looking for something similar for IPv6. Thanks!
-- Just my $.02, your mileage may vary, batteries not included, etc....
-- - (2^(N-1))