Difficulty: Medium
Correct Answer: 255.255.255.224
Explanation:
Introduction / Context:
Choosing a subnet mask is a balancing act between hosts per subnet and number of subnets. The requirement here is to support at least 25 hosts while maximizing subnet count, so we should pick the smallest mask that still yields ≥25 usable addresses.
Given Data / Assumptions:
Concept / Approach:
Usable hosts = 2^(host_bits) - 2. Evaluate candidate masks and find the smallest number of host bits that gives ≥25. The fewer host bits used, the more network (subnet) bits available, which increases the number of subnets.
Step-by-Step Solution:
Verification / Alternative check:
Subnet tables show /27 yields 8 subnets in a /24 space and 30 hosts each, which aligns with the requirement. A quick test block: 192.168.10.0/27 ranges 192.168.10.1–.30 with .31 broadcast.
Why Other Options Are Wrong:
a: /26 allows 62 hosts; it meets the host count but does not maximize subnets.
c, d, e: /28, /29, /30 allow 14, 6, and 2 hosts respectively—insufficient for 25 hosts.
Common Pitfalls:
Forgetting to subtract network and broadcast addresses, or picking a larger host pool than needed, which reduces the number of subnets and wastes address space.
Final Answer:
255.255.255.224
Discussion & Comments