Convert CDIR notation to IP range

Steve Foutty steve at foutty.org
Thu Jul 29 00:17:54 UTC 2004


Does anyone have any suggestions on a program to do CIDR that is for an
IPAQ?
I can do them, but would rather have the ability to do it on the IPAQ..

Thanks,
  Steve

-----Original Message-----
From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com]
On Behalf Of Jack Bowling
Sent: Wednesday, July 28, 2004 7:24 PM
To: For users of Fedora Core releases
Subject: Re: Convert CDIR notation to IP range


On Wed, Jul 28, 2004 at 07:02:05PM +0200, Alexander Dalloz wrote:
> Am Mi, den 28.07.2004 schrieb John Nichel um 18:21:
> 
> >    My binary skills are lacking, so does anyone know of a tool 
> > (online
> > or otherwise) to convert CDIR notation into the physical IP range?  eg 
> > convert 192.168.0.0/24 into 192.168.0.0 through 192.168.0.255 (so I can 
> > see what the actual range is).  TIA
> 
> > John C. Nichel
> 
> #!/usr/bin/perl -w
> # $Id: cidr,v 0.1 2002/08/26 15:18:45 gm Exp $
> # convert CIDR notation to network/broadcast/netmask notation $Usage =  
> "usage: $0 [-s] ipaddr/bits\n\tipaddr in dotted squad\n";
<snip>

Just one typo, Alexander: that should be "dotted quad" not "dotted squad"
althought the thought of a troop of Dalmation-suited IP Ubergeeks marching
toward me is rather funny.

-- 
Jack Bowling
mailto: jbinpg at shaw.ca


-- 
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list






More information about the fedora-list mailing list