Allocating IP Addresses
The subnet mask is used to define size of a network
E.g a subnet mask of 255.255.255.0 or /24 implies 32-24=8 host bits
- 2^8 minus 2 = 254 possible hosts
Similarly a subnet mask of 255.255.255.224 or /27 implies 32-27=5 hosts bits
- 2^5 minus 2 = 30 possible hosts