[152866] in North American Network Operators' Group
Re: IPv6 aggregation tool
daemon@ATHENA.MIT.EDU (Michael Hallgren)
Tue May 22 14:19:34 2012
From: Michael Hallgren <m.hallgren@free.fr>
To: Rafael Rodriguez <packetjockey@gmail.com>
In-Reply-To: <6EFA3E54-D989-487B-87A7-A3F1A622B606@gmail.com>
Date: Tue, 22 May 2012 20:18:27 +0200
Cc: "nanog@nanog.org" <nanog@nanog.org>
Reply-To: mh@xalto.net
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org
Le mardi 22 mai 2012 à 14:02 -0400, Rafael Rodriguez a écrit :
> :) thanks! Was wondering how to do that.
$ perldoc Net::IP ;) That doc's a fine one to read also for other
reasons.
Cheers,
mh
>
> Sent from my iPhone
>
> On May 21, 2012, at 9:36, Stefan Jakob <stefan.jakob@de-cix.net> wrote:
>
> > Am 04.05.12 03:35, schrieb Rafael Rodriguez:
> >> Found this tool that works perfectly.
> >>
> >> http://zwitterion.org/software/aggregate-cidr-addresses/aggregate-cidr-addresses
> >>
> >> Hoping this'll help someone else here on the list. Thanks!
> >
> > Thx, this is at least three times faster than what I have here.
> >
> >
> > Just a comment on the final print statement, which doesn't fit my needs
> > for ipv6:
> >
> >
> > - print "prefix: ", $_->prefix(), "\n";
> > + print "print: " , $_->print(), "\n";
> >
> >
> > - prefix: 2001:0db8:0000:0000:0000:0000:0000:0000/32
> > + print: 2001:db8::/32
> >
> >
> > Rgds, Stefan
> >
>