Ipcalc is a simple tool to calculate network, broadcast, netmask, etc. from an IP address.

It also gives the class of the IP. It might facilitate the work of network admins.

Here is an example of using it against a “local” IP address:

Example 1:

Deb:~# ipcalc 192.168.4.25
Address: 192.168.4.25 11000000.10101000.00000100. 00011001
Netmask: 255.255.255.0 = 24 11111111.11111111.11111111. 00000000
Wildcard: 0.0.0.255 00000000.00000000.00000000. 11111111
=>
Network: 192.168.4.0/24 11000000.10101000.00000100. 00000000
HostMin: 192.168.4.1 11000000.10101000.00000100. 00000001
HostMax: 192.168.4.254 11000000.10101000.00000100. 11111110
Broadcast: 192.168.4.255 11000000.10101000.00000100. 11111111
Hosts/Net: 254 Class C, Private Internet

Continue Reading…

Page 1 of 11