TCP/IP Practice Question

Home     Next

Q1. You have a network address of 196.202.56.0 with four subnets. You want to allow for maximum number of Hosts. What is the subnet mask you need to apply?

A. 255.255.255.224

B. 255.255.224.0

C. 255.255.255.128

D. 255.255.255.192

Correct Answer: A

Explanation:

I. The number of subnets required are four. We need to add subnets of all ones and all zeros to this. This is because all zeros and all ones subnets belong to "this subnet" and "all subnets" broadcasts and can not be used. Therefore, the total number of subnets to be reserved is 4+2 = 6.

II. We want to implement maximum possible Hosts. Therefore, we need to minimize the number of subnets. This minimum number is 6 here. If we reserve 2 bits, it results in only 2^2=4 subnets which is less than 6. Therefore, we have to reserve 3 bits for implementing subnets, resulting in 2^3=8 subnets. This is now optimized for maximum number of Hosts (as we have optimized for minimum number of subnets).

III. Write the 3 bits available for subnetting in fouth octet in the form 11100000 (Five 0s being Host bits). The decimal equivalent is 2^7+2^6+2^5

= 128 + 64 +32 = 224.

II. Now the subnet mask required is 255.255.255.224.

Home     Next


Disclaimer: Simulationexams.com is not affiliated with any certification vendor, and Sim-Ex™ Practice Exams are written independently by SimulationExams.com and not affiliated or authorized by respective certification providers. Sim-Ex™ is a trade mark of SimulationExams.com or entity representing Simulationexams.com.CCNA™ is a trademark of Cisco® systems