CS FundamentalsVery hardGATE CS · ISRO Scientist

10.0.0.0/8 is divided into /22 subnets numbered from 0 in address order. Host 10.45.200.17 uses the mask 255.255.252.0. What is the number of its subnet and the subnet's broadcast address?

  1. A. Subnet 2931, broadcast 10.45.203.255
  2. B. Subnet 2930, broadcast 10.45.200.255
  3. C. Subnet 2930, broadcast 10.45.203.255
  4. D. Subnet 5860, broadcast 10.45.201.255

Correct answer: C. Subnet 2930, broadcast 10.45.203.255

Each /22 spans 4 values of the third octet, so there are 64 per second-octet value. The subnet starts at 10.45.200.0 and ends at 10.45.203.255; its number is (45 × 256 + 200) / 4 = 2930. Counting from 1 gives 2931.

More Computer Networks questions

Exams that ask this topic