A subnet mask is a 32-bit value made up of all 0s for the host bits and all 1s for the network bits. The subnet mask divides the IP address into network and host addresses in this fashion. A broadcast address is always assigned to the "255" address, while a network address is always assigned to the "0" address.