N.I · Network+ N10-009 practice question

A network administrator needs to divide a Class C network address space into smaller, usable subnets while ensuring a specific number of hosts per subnet. If the administrator needs at least 16 usable host addresses per subnet, what is the required subnet mask when starting with a standard Class C private network address?

Choose one answer
Check answer and explanation

Correct answer: 255.255.255.224

Explanation

To get 16 usable host addresses, you need $2^h - 2 \geq 16$, where $h$ is the number of host bits. $2^4 - 2 = 14$ (too small). $2^5 - 2 = 30$ (enough). Therefore, 5 host bits ($h=5$) are needed. Since an IPv4 address has 32 bits, the number of network bits ($n$) is $32 - 5 = 27$. A subnet mask of /27 means the first 27 bits are set to 1. In decimal, /27 is $255.255.255.(128+64+32+16) = 255.255.255.224$.

Common trap

Candidates might confuse the required host bits for 16 hosts (which would be 4 bits if they are thinking of $2^4=16$ hosts, leading to a /28 mask) versus the actual required usable count, or they might select a mask that allows exactly 16 addresses including network/broadcast, instead of 16 *usable* hosts.

Source: RFC 4632 - Multicast Address Allocation (While this specific RFC details multicast addressing, the fundamental principles of subnetting calculation shown in the explanation are based on standard IP addressing documentation reviewed against the N10-009 obj
Checked against the cited text on 2026-11-27.

Report an error in this question