CCNA 200-301 · Network Fundamentals · medium

A workstation has been assigned the IPv4 address 172.24.149.180/21. What are the network address and the directed broadcast address for the /21 subnet to which this host belongs?

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

Options

  • ANetwork 172.24.148.0 and Broadcast 172.24.151.255 (block size 4)
  • BNetwork 172.24.128.0 and Broadcast 172.24.159.255 (block size 32)
  • CNetwork 172.24.144.0 and Broadcast 172.24.151.255 (block size 8)Correct answer
  • DNetwork 172.24.149.0 and Broadcast 172.24.149.255 (block size 1)

Answer: C. Network 172.24.144.0 and Broadcast 172.24.151.255 (block size 8)

A /21 mask (255.255.248.0) has a block size of $2^{24 - 21} = 8$ in the third octet. Multiples of 8 in the third octet include 144 ($18 \times 8 = 144$) and 152 ($19 \times 8 = 152$). Because 149 falls between 144 and 151, the network address is 172.24.144.0 and the broadcast address is 172.24.151.255.

Why the other options are wrong

  • A. Network 172.24.148.0 and Broadcast 172.24.151.255 (block size 4) — A block size of 4 in the third octet corresponds to a /22 mask (255.255.252.0), not /21.
  • B. Network 172.24.128.0 and Broadcast 172.24.159.255 (block size 32) — A block size of 32 in the third octet corresponds to a /19 mask (255.255.224.0), not /21.
  • D. Network 172.24.149.0 and Broadcast 172.24.149.255 (block size 1) — A block size of 1 in the third octet corresponds to a /24 mask (255.255.255.0), not /21.

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.