[59022] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

anyone has netrange -> cidr conversion script to share?

daemon@ATHENA.MIT.EDU (william@elan.net)
Thu Jun 12 04:58:15 2003

Date: Wed, 11 Jun 2003 23:12:54 -0700 (PDT)
From: william@elan.net
To: nanog@nanog.org
Errors-To: owner-nanog-outgoing@merit.edu


 Does anyone here has a script (or perl procedure) for converting range 
of ips (i.e. 10.0.0.0 - 10.0.2.255) into cidr (i.e. result would be 
10.0.0.0/23,10.0.2.0/24 from the example before). If not I'll do it, I'm 
just hoping somebody is already done something this for another project...

Reply off the list.

-- 
William Leibzon
Elan Communications Inc. 
william@elan.net


home help back first fref pref prev next nref lref last post