On Wed, 2004-07-28 at 15:47, Rick Stevens wrote: > Sam Varshavchik wrote: > > John Nichel writes: > > > >> Hi, > >> > >> 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 > > > > > > Get the perl Net::CIDR module from CPAN. > > I know I'm late, but did you try the dread "ipcalc" program that comes > with Linux?. E.g. > > [root@prophead root]# ipcalc -n 192.168.0.71/26 > NETWORK=192.168.0.64 > > That's your first address (the network) > > [root@prophead root]# ipcalc -b 192.168.0.71/26 > BROADCAST=192.168.0.127 > > And that's the last address (the broadcast). So, 192.168.0.71/26 > covers 192.168.0.64 through 192.168.0.127, inclusive. Not too hard, eh? > "man ipcalc" for more details. ---- ROFLMAO ! winner of the easiest method - makes my google search complicated. Craig