nanog mailing list archives

Re: CIDR cleanup


From: Job Snijders <job () ntt net>
Date: Fri, 2 Oct 2020 10:03:41 +0000

On Thu, Oct 01, 2020 at 02:15:01PM -0300, Marcos Manoni wrote:
Check https://github.com/job/aggregate6 (thank you, Job)

Marco Marzetti (PCCW) wrote an even faster compression tool!

    https://github.com/lamehost/aggregate-prefixes

Both these python implementations are meant as replacements for ISC's
vintage 'aggregate' Unix utility, with the notable difference that they
also support IPv6.

Example:

    job@bench ~$ pip3 install aggregate-prefix

    job@bench ~$ wc -l dfz_ipv4
    810607
    job@bench ~$ cat dfz_ipv4 | time aggregate-prefixes - | wc -l
    141645
    1m40.17s real     1m37.39s user     0m01.60s system

Compressing the whole IPv4 DFZ prefix list takes only 100 seconds.

Kind regards,

Job


Current thread: