Re: Convert CDIR notation to IP range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux