CS FundamentalsHardTCS NQT · Infosys pattern

For the host 131.45.214.9/22, how many usable host addresses does its subnet have, and what is the last usable host address?

  1. A. 1022 hosts; last host 131.45.214.254
  2. B. 1022 hosts; last host 131.45.215.254
  3. C. 1024 hosts; last host 131.45.215.255
  4. D. 510 hosts; last host 131.45.215.254

Correct answer: B. 1022 hosts; last host 131.45.215.254

/22 → third octet in blocks of 4: 212–215. Network 131.45.212.0, broadcast 131.45.215.255. Host bits = 10 → 2¹⁰ − 2 = 1022 usable, and the last usable is one below the broadcast: 131.45.215.254.

More Computer Networks questions

Exams that ask this topic