Re: Convert CDIR notation to IP range

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

 



John Nichel said the following on 28/07/2004 18:21:
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


the initscripts package comes with a nifty tool called ipcalc.

So for you example above,

  ipcalc -b -n 192.168.0.0/24

gives

  BROADCAST=192.168.0.255
  NETWORK=192.168.0.0

which tells me that the usable range is 192.168.0.1 - > 192.168.0.254

whala!


-- Redmond, we have a problem.



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

  Powered by Linux