ipcalc – Network Subnet Calcualator Toolbox Essential

ipcalc is a Linux package that can automatically calculate the address, netmask, wildcard, network address, broadcast address and more.

It can be installed under Ubuntu with the command

apt install ipcalc

To use it is simple, for example to calculate the subnet for we enter:

ipcalc -n
ipcalc -n
Address: 01111111. 00000000.00000000.00000001
Netmask: = 8 11111111. 00000000.00000000.00000000
Wildcard: 00000000. 11111111.11111111.11111111
Network: 01111111. 00000000.00000000.00000000
HostMin: 01111111. 00000000.00000000.00000001
HostMax: 01111111. 11111111.11111111.11111110
Broadcast: 01111111. 11111111.11111111.11111111
Hosts/Net: 16777214 Class A, Loopback

I enter -n to avoid colour formatting in my terminal window.







Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.