Subnetting Questions 11
You are working with a network that has the network ID 192.168.10.0. What subnet should you use that supports up to 12 hosts and a maximum number of subnets?
A. | 255.255.255.192 |
B. | 255.255.255.224 |
C. | 255.255.255. 240 |
D. | 255.255.255.248 |
Solution
Hence the IP Address starts from 192, it indicates it is a Class C Address. By default, in Class C Address 24 bits are reserved for the network and 8 bits are reserved for the host.
Let’s the count the number of hosts first.
A/Q we need the maximum number of subnets with minimum 12 host on each.
It means, we have to reserved 4 bits for the host.
(11111111.11111111.11111111.11110000)
The formula for calculating the number of hosts is
2n – 2 (n indicates the number of host bits and subtracted 2 because on every network first IP Address is reserved for the network ID and the last IP Address is reserved for the Broadcast ID)
= 24 – 2
= 16 – 2
= 14 hosts on each subnet
Let’s count the number of Subnets.
As we have reserved 4 bits for the host. it means there are remaining 4 bits are available for the network.
The formula for counting the number of networks is
2n (n indicates the number of networks bits)
24 = 16 (16 Subnets can be created)
Now, let’s find the subnet mask.
(11111111.11111111.11111111.11110000)
(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 + 24)
Therefore the subnet mask is 255.255.255.240
Class C Subnetting Tutorial
SUBSCRIBE to my YouTube channel TECHNICAL TECH for more videos on networking.