Compute the subnet mask, number of subnets and number of hosts in each subnet, in each of the given scenarios.
Required Number of Networks: 80
Minimum Number of Hosts: 3000
Network Address: 10.0.0.0
Required Number of Networks: 20
Minimum Number of Hosts: 800
Network Address: 188.8.131.52
Required Number of Networks: 5
Minimum Number of Hosts: 25
Network Address: 184.108.40.206
If we breakup the 32 bit IP address as (net : subnet : host), then
number of hosts in each subnet = (2 ^ number_of_host_bits) - 2 , as host numbers consisting of all 0 and all 1 bits are reserved.
Similar restriction is also applied to subnets by older standards, however recent standards do allow use of all 0 bits and all 1 bits subnets. Hence,
number of subnets = (2 ^ number_of_subnet_bits) , as per recent standards.
number of subnets = (2 ^ number_of_subnet_bits) - 2 , as per older standards.
This answer is following recent standards.
Solution shows stepwise computations with detailed explanations, following which, the reader should be able to solve similar problems easily. It also has a brief comment about recent vs older subnetting standards.