Which Subnet Mask Fits 320 Users on One Subnet?
An office has 8 floors with approximately 30-40 users per floor. One subnet must be used. Which command must be configured on the router Switched Virtual Interface to use address space efficiently?
Community Insight
You must size one subnet for the worst-case total user count (~320), so the trap is picking a mask that is either too small (a /25 or /27) or wastefully large (a /16) instead of the tight-fitting /23.
This CCNA subnetting question asks which SVI IP address/mask command covers 8 floors of 30-40 users in a single subnet while wasting the least address space. The answer is a /23 (255.255.254.0), because it is the smallest mask that still provides enough usable host addresses for roughly 320 devices.
The most common wrong pick is C, ip address 192.168.0.0 255.255.255.128, chosen by learners who size the subnet for one 40-user floor (/25 gives 126 usable hosts) and forget that ALL 8 floors share one subnet; D is even worse at 30 usable hosts, and A (/16) works but throws away over 65,000 addresses.
Community Discussion (39 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option B, ip address 192.168.0.0 255.255.254.0, is a /23 prefix, which borrows 7 subnet bits from a Class C boundary and leaves 9 host bits. Nine host bits yield 2^9 = 512 total addresses, or 510 usable hosts after reserving the network and broadcast addresses, comfortably exceeding the 8 x 40 = 320 device worst case. It is also the tightest fit available among the choices, which is exactly what the question's phrase "use address space efficiently" is testing. Option A (a /16 with 65,534 usable hosts) would technically connect everyone but wastes more than 65,000 addresses, so it fails the efficiency requirement.Why the Other Options Are Wrong
Option C is a /25 with only 126 usable hosts — enough for a single 40-user floor but not for all 8 floors sharing one subnet, so hosts on the upper floors would get no address. Option D is a /27 with a mere 30 usable hosts, which does not even cover one floor, let alone the whole office. Option A is not "wrong" in connectivity terms but is grossly oversized; on an exam that asks for efficient use of address space, the smallest sufficient prefix is the graded answer. Note also that on a real Cisco multilayer switch SVI you would normally apply the first usable host address (192.168.0.1/23) rather than the network ID itself, but the mask is the deciding factor in every option here.Community Comment Notes
Most commenters converged on B and showed the math cleanly: one wrote "40*8<=2^H-2, will give H=9 which is a /23 OR 255.255.254.0 = Answer B", and another framed it as "40 cannot fit in 32 so it must fit in the 64" and multiplied 64 x 8 = 512 to land on /23. Freitas512 reached the same mask a different way, going from a /26 per floor and borrowing 3 subnet bits to get /23. Agribaba emphasized covering printers, IP phones and future growth rather than the bare 320. Only one comment pushed for C, arguing "255.255.255.128 as at last octet bits will 10000000", which misreads the requirement by sizing for one floor; another comment bluntly warned that a previously posted "chatgpt generated answer is wrong", which the community math confirms.Official Reference
Exam Strategy
On subnetting questions, first multiply out the worst-case host count (8 x 40 = 320), then solve 2^H - 2 >= 320 to get H = 9 host bits, which means /23 = 255.255.254.0. Always read whether the question asks for the SMALLEST sufficient subnet — phrases like "use address space efficiently" are the exam's signal that a /16 answer is a trap.
Frequently Asked Questions
Why isn't a /25 (255.255.255.128) enough if each floor only has 40 users?
Because all 8 floors share ONE subnet, so the subnet must hold up to 320 addresses at once. A /25 gives only 126 usable hosts, so it would exhaust after roughly three floors.
Why is 255.255.254.0 considered more efficient than 255.255.0.0 if both work?
Both would connect the office, but 255.255.0.0 (/16) reserves 65,534 usable hosts when only about 320 are needed. The /23 wastes nothing unnecessary, which is what "use address space efficiently" asks for.
Shouldn't the SVI use 192.168.0.1 instead of the 192.168.0.0 network address?
On a real Cisco device you would assign the first usable address, 192.168.0.1/23. Every option here lists the network ID, so the intended discriminator is the subnet mask, and only B has the correct one.
Related Analysis
Practice All 200-301 Questions
Access 220 questions with complete answers and detailed explanations.
View Full 200-301 Practice Test →