CS FundamentalsHardCognizant · Capgemini pattern

A network uses the prefix /22 (as in 172.31.9.60/22). How many usable host addresses does this subnet provide?

  1. A. 1024
  2. B. 1021
  3. C. 512
  4. D. 1022

Correct answer: D. 1022

A /22 leaves 10 host bits, giving 2^10 = 1024 total addresses. Subtracting the network and broadcast addresses leaves 1022 usable hosts.

More Computer Networks questions

Exams that ask this topic