Difficulty: Medium
Correct Answer: 240
Explanation:
Introduction:
Subnetting trades host capacity for additional network segments. For a Class B network (e.g., 150.x.x.x), choosing the right mask depends on the required number of subnets and the desire to maximize hosts per subnet.
Given Data / Assumptions:
Concept / Approach:
In Class B, subnetting borrows bits from the third octet first. To get ≥16 subnets, borrow 4 bits (since 2^4 = 16). A /16 becomes /20. The corresponding third-octet value is 240, yielding the dotted mask 255.255.240.0, maximizing hosts while meeting exactly 16 subnets.
Step-by-Step Solution:
1) Start with /16 (255.255.0.0).2) Need 16 subnets → borrow 4 bits: /16 + 4 = /20.3) Third-octet mask with 4 high bits set is 240.4) Final mask: 255.255.240.0 → correct choice corresponds to “240.”
Verification / Alternative check:
Hosts per /20 subnet = 2^(32-20) - 2 = 4094, which is ample for most sites and larger than alternatives that borrow more bits.
Why Other Options Are Wrong:
Common Pitfalls:
Forgetting the goal to maximize host counts leads to borrowing more bits than needed. Always match the minimum required subnet count to minimize host loss.
Final Answer:
240
Discussion & Comments