Difficulty: Medium
Correct Answer: 255.255.255.224
Explanation:
Introduction / Context:When choosing a subnet mask, you must meet both the required number of subnets and the minimum hosts per subnet. This is a classic capacity-planning exercise.
Given Data / Assumptions:
Concept / Approach:Check host capacity first. For a mask to support at least 16 usable hosts, usable hosts = 2^(host_bits) - 2 must be >= 16. /27 (255.255.255.224) yields 30 hosts, /28 yields 14 hosts (insufficient). Then ensure number of subnets is enough.
Step-by-Step Solution:
/28 (255.255.255.240): hosts = 14 < 16 → not acceptable./27 (255.255.255.224): hosts = 30 ≥ 16 → acceptable./27 subnets in a Class C: 2^(borrowed_bits) = 2^3 = 8 (with subnet-zero), enough for 5.Therefore choose 255.255.255.224.Verification / Alternative check:Even without subnet-zero (legacy), /27 still provides 6 usable subnets—still ≥5. With subnet-zero (modern default), you get 8.
Why Other Options Are Wrong:
Common Pitfalls:Confusing “at least 16 hosts” with “16 addresses total.” Remember to subtract network and broadcast.
Final Answer:255.255.255.224
Discussion & Comments