CCNA 200-301 · Network Fundamentals · medium

An engineering department requires an IPv4 subnet capable of addressing at least 110 hosts (workstations + printers + router gateway) while conserving as much address space as possible under VLSM (Variable Length Subnet Masking). What is the most specific CIDR prefix length and dotted-decimal subnet mask that supports 110 usable host IPv4 addresses?

Published · Last updated · checked before publication — how we verify questions

Options

  • A/26 (255.255.255.192) providing 62 usable host addresses
  • B/25 (255.255.255.128) providing 126 usable host addressesCorrect answer
  • C/24 (255.255.255.0) providing 254 usable host addresses
  • D/27 (255.255.255.224) providing 30 usable host addresses

Answer: B. /25 (255.255.255.128) providing 126 usable host addresses

The requirement is at least 110 usable hosts, so the host portion must satisfy 2^h - 2 >= 110. With h = 6 the block has 64 addresses and 62 usable, which is too few. With h = 7 the block has 128 addresses and 126 usable, which is enough. The prefix length is 32 - 7 = 25, and the mask is 255.255.255.128 (the last octet has the top bit set, 128). Under VLSM you pick the smallest block that fits, so /25 is the tightest fit. The wording 'most specific prefix' means the longest prefix that still works. The common trap is forgetting to subtract two addresses for the network and broadcast addresses, or choosing a block that is too small or needlessly large. Counting the router gateway among the 110 hosts is already built into the requirement.

Why the other options are wrong

  • A. /26 (255.255.255.192) providing 62 usable host addresses — A /26 (255.255.255.192) has 6 host bits, giving 64 addresses and only 62 usable. That is correct arithmetic for a /26, but it falls short of the 110 hosts required.
  • C. /24 (255.255.255.0) providing 254 usable host addresses — A /24 (255.255.255.0) does provide 254 usable hosts, so it would work, but it is not the most specific prefix that fits. It allocates twice the needed space, which defeats the purpose of VLSM.
  • D. /27 (255.255.255.224) providing 30 usable host addresses — A /27 (255.255.255.224) has 5 host bits, giving 32 addresses and 30 usable. It is a valid subnet but far too small for 110 hosts.

All Network Fundamentals questions and the topic overview →

Cisco and CCNA are trademarks of Cisco Systems, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Cisco Systems, Inc.