How Do You Calculate IP Range From Subnet?
The network mask, sometimes still called the subnet mask, identifies the size of an IP network. A network mask consists of 32 bits. The mask is used to separate the network part of the address from the host part. It is always the high-order bits of the mask that are set to 1 and the low-order bits that are set to 0. The mask can be expressed in one of two ways: dotted decimal notation or slash notation. Look at the mask to see if it consists entirely of 255s and 0s. If it does, there is no split octet. If the mask has any other values, use the step value described in Section 2. Calculate the starting address of the range. Write the address values wherever the mask is 255, and write 0 wherever the subnet mask is 0. For example, for an IP address of 192.168.222.74 with a mask of 255.255.255.0, the starting address would be 192.168.222.0. For an IP address of 132.34.33.7 with a mask of 255.255.0.0, the starting address would be 132.34.0.0. Calculate the ending address of the range. Write