List of questions
Related questions
Question 669 - N10-008 discussion
To find the best subnet mask that meets the requirement of six usable IP addresses, we need to calculate the number of host bits and the number of host addresses for each option. The number of host bits is the number of 0s in the binary representation of the subnet mask, and the number of host addresses is 2^host bits - 2 (the -2 is to exclude the network address and the broadcast address). The option that has the smallest number of host addresses that is greater than or equal to six is the best choice. Here are the calculations for each option:
A.
255.255.255.128 Binary: 11111111.11111111.11111111.10000000 Host bits: 7 Host addresses: 2^7 - 2 = 126 - 2 = 124 This option has too many host addresses for the requirement.
B.
255.255.255.192 Binary: 11111111.11111111.11111111.11000000 Host bits: 6 Host addresses: 2^6 - 2 = 64 - 2 = 62 This option also has too many host addresses for the requirement.
C.
255.255.255.224 Binary: 11111111.11111111.11111111.11100000 Host bits: 5 Host addresses: 2^5 - 2 = 32 - 2 = 30 This option has the smallest number of host addresses that is greater than or equal to six, so this is the best choice.
D.
255.255.255.240 Binary: 11111111.11111111.11111111.11110000 Host bits: 4 Host addresses: 2^4 - 2 = 16 - 2 = 14 This option has fewer host addresses than the requirement, so this is not a valid choice.
Your answer:
0 comments
Sorted by
Leave a comment first