A subnet mask is a number that defines a range of IP addresses that can be used in a network. A subnet mask hides, or “masks,” the network part of a system’s IP address and leaves only the host part as the machine identifier. A common subnet mask for a Class C IP address is 255.255.255.0.