CIDR calculator

Joshua Andrews josh at wavefood.com
Sat Nov 20 17:55:21 UTC 2004


Chris Hewitt wrote:

>On Sat, 2004-11-20 at 16:00, Bill Gradwohl wrote:
>
>>Joshua Andrews wrote:
>>
>>
>>>I am looking for a network calculator that will take input in the form 
>>>of,
>>>67.160.0.0  :  67.191.255.255,  and output the IP block in cidr 
>>>notation, 67.160.0.0/11.
>>>
>>>
>>I remembered I wrote a script to do something like that a few years ago 
>>and I called it cidrcalc.
>>
>>
>
>FC3 has ipcalc, but it only seems to convert from CIDR to address and
>netmask rather than the other way around. Otherwise there is sipcalc and
>net-mgmt but these do not seem to be in FC3. Hint: I did a
>http://www.google.com/linux search for "cidr+calculator+linux".
>
>With Bill's script and ipcalc, I think you are there.
>
>HTH
>Chris
>
>
Thank you all for the replies.

Bill's script works excellent, it was created for doing exactly what I 
am doing.

Joshua




More information about the fedora-list mailing list