CS FundamentalsModerateTCS NQT · Infosys pattern

A host has the address 172.16.45.200/20. What is the network address of its subnet?

  1. A. 172.16.32.0
  2. B. 172.16.40.0
  3. C. 172.16.45.0
  4. D. 172.16.48.0

Correct answer: A. 172.16.32.0

A /20 mask is 255.255.240.0, so the third octet moves in blocks of 16. 45 lies in 32–47, so the network is 172.16.32.0 (broadcast 172.16.47.255). 172.16.45.0 is what you get by wrongly assuming /24.

More Computer Networks questions

Exams that ask this topic