Subnetting Questions 13
You are working on a class C network. You are required to configure it for five subnets, each of which will support 25 nodes. What subnet should you use?
A. | 255.255.255.0 |
B. | 255.255.255.224 |
C. | 255.255.255.240 |
D. | 255.255.255.248 |
Solutions
Let’s count the number of hosts first,
A/Q we need minimum 25 hosts on each network. It means, we have to reserved 5 bits for the host.
The formula of counting the host is
2n – 2 (n indicates the number of host bits, substracted to 2 because on every network first and last address is always reserved for the network and broadcast ID)
= 2n – 2
= 25 – 2
= 32- 2 = 30 (You have 30 host on each network)
Let’s count the number of Networks
The formula for counting the number of networks is,
2n (n indicates the number of reserved network bits)
= 23
= 8 (You will have minimum 8 bits)
Let’s find the subnet mask
(11111111.11111111.11111111.11100000)
(27 + 26 + 25 + 24 + 23 + 22 + 21 + 20) . (27 + 26 + 25 + 24 + 23 + 22 + 21 + 20) . (27 + 26 + 25 + 24 + 23 + 22 + 21 + 20) . (27 + 26 + 25)
Therefore the subnet mask is 255.255.255.224