CS FundamentalsModerateGATE CS · Product company CS fundamentals

With a /20 mask, which pair of addresses lies in the SAME subnet?

  1. A. 172.16.31.200 and 172.16.32.1
  2. B. 172.16.15.1 and 172.16.16.1
  3. C. 172.16.47.255 and 172.16.40.0
  4. D. 172.16.63.1 and 172.16.64.1

Correct answer: C. 172.16.47.255 and 172.16.40.0

/20 makes blocks of 16 in the third octet: 0–15, 16–31, 32–47, 48–63, 64–79. 40 and 47 both fall in 32–47; 31|32, 15|16 and 63|64 each straddle a boundary even though the addresses are numerically close.

More Computer Networks questions

Exams that ask this topic