CS FundamentalsVery hardGATE CS (PYQ pattern)

A class B network 150.20.0.0 is subnetted with mask 255.255.240.0 under the OLD (RFC 950) rules that forbid the all-zeros and all-ones subnet numbers and the all-zeros and all-ones host numbers. How many usable subnets and how many usable hosts per subnet are available?

  1. A. 16 subnets, 4096 hosts
  2. B. 14 subnets, 4094 hosts
  3. C. 14 subnets, 4096 hosts
  4. D. 16 subnets, 4094 hosts

Correct answer: B. 14 subnets, 4094 hosts

240 = 1111 0000 borrows 4 bits: 2^4 - 2 = 14 subnets under the old rule. 12 host bits give 2^12 - 2 = 4094 hosts.

More Computer Networks questions

Exams that ask this topic