Editor: Whatmask is a small C program that will help you with network settings.
Whatmask will echo back the following:
-The netmask in the following formats: CIDR, Netmask, Netmask (Hex) Wildcard Bits
-The Network Address
-The Broadcast Address
-The number of Usable IP Addresses
-The First Usable IP Address
-The Last Usable IP Address