Difficulty: Medium
Correct Answer: 255.255.255.224
Explanation:
Introduction / Context:
Subnet design balances host capacity and number of subnets. Given a Class C-like private block 192.168.10.0, we must pick a mask that provides at least 25 usable hosts in each subnet and yields the greatest number of such subnets.
Given Data / Assumptions:
Concept / Approach:
For a /27 mask (255.255.255.224), each subnet has 32 addresses total and 30 usable (subtract network and broadcast). For a /28 (255.255.255.240), there are 16 total, 14 usable—insufficient. A /26 (255.255.255.192) has 62 usable but halves the number of subnets compared to /27.
Step-by-Step Solution:
Check /28: 2^(32-28) = 16 total, 14 usable < 25 → invalid.Check /27: 2^(32-27) = 32 total, 30 usable ≥ 25 → valid.Between valid candidates, choose the one that yields more subnets (/27 over /26).
Verification / Alternative check:
Subnet counts in a /24: /27 yields 8 subnets (0,32,64,96,128,160,192,224), each with 30 usable; /26 yields 4 subnets with 62 usable—fewer subnets than /27.
Why Other Options Are Wrong:
255.255.255.192 (/26): Meets hosts but fewer subnets than /27.
Common Pitfalls:
Forgetting to subtract 2 addresses per subnet for network and broadcast; mixing up total vs usable host counts.
Final Answer:
255.255.255.224
Discussion & Comments