CS FundamentalsHardGATE CS · ISRO Scientist

Under old classful rules that forbid the all-zeros and all-ones subnets, a Class B network uses the mask 255.255.255.192. How many usable subnets and how many hosts per subnet does it provide?

  1. A. 1024 subnets, 62 hosts
  2. B. 1022 subnets, 64 hosts
  3. C. 254 subnets, 62 hosts
  4. D. 1022 subnets, 62 hosts

Correct answer: D. 1022 subnets, 62 hosts

A Class B default mask is /16, so /26 borrows 10 bits: 2¹⁰ − 2 = 1022 subnets under the old rule, each with 2⁶ − 2 = 62 hosts. Modern CIDR practice allows subnet zero and would count 1024.

More Computer Networks questions

Exams that ask this topic