CS FundamentalsHardHCL · Tech Mahindra pattern

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

  1. A. 4094
  2. B. 4096
  3. C. 4093
  4. D. 2048

Correct answer: A. 4094

A /20 leaves 12 host bits, giving 2^12 = 4096 total addresses. Subtracting the network and broadcast addresses leaves 4094 usable hosts.

More Computer Networks questions

Exams that ask this topic