subnet aggregation script

John Peach john-nanog at johnpeach.com
Mon Sep 21 16:09:40 UTC 2009


netmask:


netmask 192.168.0.0/30 192.168.0.4/30 10.0.0.16/29
      10.0.0.16/29
    192.168.0.0/29

Certainly available in the ubuntu repositories.




On Mon, 21 Sep 2009 11:00:16 -0500
"Ric Moseley" <rmoseley at softlayer.com> wrote:

> Does anyone know of a tool/script that can aggregate subnets feed to
> it via command line?  Meaning if I give it multiple /30s (or any size
> subnet) it will scrunch them together. 
> 
>  
> 
> Example: 
> 
>  
> 
> #aggregate_subnets.script 192.168.0.0/30 192.168.0.4/30 10.0.0.16/29
> 10.0.0.24/29
> 
> #192.168.0.0/29 10.0.0.16/28
> 
>  
> 
> Thanks. 
> 
>  
> 
> Ric Moseley
> 
> VP of Engineering
> 
> rmoseley at softlayer.com
> 
> 214-442-0555 direct
> 
> 972-989-7813 cell
> 
> 214-442-0600 office
> 
> 866-398-7638 toll-free
> 
> 214-442-0601 fax
> 
>  
> 
>  
> 
> 6400 International Parkway, Suite 2000
> Plano, TX 75093
> http://www.softlayer.com
> 
>  
> 
> 
> 
> The contents of this email message and any attachments are
> confidential and are intended solely for the addressee. The
> information may also be legally privileged. This transmission is sent
> in trust for the sole purpose of delivery to the intended recipient.
> If you have received this transmission in error; any use,
> reproduction or dissemination of this transmission is strictly
> prohibited. If you are not the intended recipient, please immediately
> notify the sender by reply email and delete this message and all
> associated attachments. 


-- 
John




More information about the NANOG mailing list