Example—Class A subnetting
The 10.10.150.0/27
network is given. How many subnets and hosts are on this network?
11111111.11111111.11111111.11100000 - the subnet mask 255.255.255.224 represented in bits 11100000 - is the fourth octet in subnet mask 255.255.255.224 111 - is the network portion in the fourth octet 23 = 8 subnets 00000 - is the host portion in the fourth octet 25 - 2 = 32 - 2 = 30 hosts 0 to 31 - is the first subnet with 1 to 30 representing the range of available IP addresses for hosts 32 to 63 - is the second subnet with 33 to 62 representing the range of available IP addresses for hosts ........ 224 to 255 - is the eighth subnet with 225 to 254 representing the range of available IP addresses for hosts The first IP address on each subnet is reserved for network, and the last IP address on each subnet is reserved for broadcast.