CS FundamentalsVery hardGATE CS (PYQ pattern)

How many complete /28 subnets (aligned blocks of 16 addresses) lie entirely within the address range 10.1.1.100 to 10.1.2.200 inclusive?

  1. A. 22
  2. B. 21
  3. C. 20
  4. D. 17

Correct answer: B. 21

The first aligned /28 starting at or after 10.1.1.100 is 10.1.1.112 and the last one ending at or before 10.1.2.200 is 10.1.2.176/28 (ends .191); counting blocks gives 21. Dividing the range length by 16 ignores alignment.

More Computer Networks questions

Exams that ask this topic