Example—Class C subnetting
The 192.168.150.0/29
network is given. How many subnets and hosts are on this network?
11111111.11111111.11111111.11111000 - the subnet mask 255.255.255.248 represented in bits 11111000 - is the fourth octet in subnet mask 255.255.255.248 11111 - is the network portion in the fourth octet 25 = 32 subnets 000 - is the host portion in the fourth octet 23 - 2 = 8 - 2 = 6 hosts 0 to 7 - is the first subnet with 1 to 6 representing the range of available IP addresses for hosts 8 to 15 - is the second subnet with 9 to 14 representing the range of available IP addresses for hosts ........ 248 to 255 - is the eighth subnet with 249 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.