Subnetting Questions 7
You are working with a network that has the network ID 192.168.10.0 and requires nine subsets for your company and the maximum number of hosts. What subnet mask should you use?
A. | 255.255.255.192 |
B. | 255.255.255.224 |
C. | 255.255.255.240 |
D. | 255.255.255.248 |
E. | 255.255.255.252 |
Solution
Hence, the IP Address start from 192, it indicates it is a class C Address. By default, in class C 24 bits are reserved for the network and 8 bits are reserved for the host.
A/Q we need minimum 9 subnets with the maximum host. So, we have to borrow 4 bits from the last octet (2n = 24 = 16 Subnets)
(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)
So the subnet mask is: 255.255.255.240