CS FundamentalsVery hardGATE CS

For how many prefix lengths from /20 to /30 (inclusive) is 10.17.83.191 the directed broadcast address of its subnet?

  1. A. 6
  2. B. 3
  3. C. 4
  4. D. 5

Correct answer: D. 5

An address is a broadcast when all host bits are 1. The last octet 191 = 10111111 ends in six 1s and is preceded by a 0, so the host part may have at most 6 bits: prefixes /26 to /30, which is 5.

More Computer Networks questions

Exams that ask this topic