GATE / CS ARCHIVE

GATE CSE 2007 / QUESTION 67

Class B subnet and host counts

Computer Networks · IP Addressing, Fragmentation & Address Resolution · Full GATE CSE 2007 paper

GATE 2007, Q67 2 marks · MCQ
Report issue

IP Addressing, Fragmentation & Address Resolution

Question 67, GATE 2007: A class B address is divided into subnets using a 6-bit subnet number. What maximum numbers of subnets and hosts per subnet are intended?
Options:
(A) 62 subnets,262142 hosts
(B) 64 subnets,262142 hosts
(C) 62 subnets,1022 hosts
(D) 64 subnets,1024 hosts
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

1. Approach. A class B prefix originally leaves 16 bits. Assigning six of those to subnet IDs leaves ten for hosts. Distinguish historical reserved subnet IDs from reserved host IDs and modern subnet conventions.

2. Derivation and interpretation. A class B network leaves 16 bits after its network prefix. Borrowing 6 subnet bits leaves 10 host bits, so usable ordinary unicast hosts per subnet are 210-2=1022. Under the historical convention excluding all-zero and all-one subnet numbers, the subnet count is 26-2=62, giving C. Modern subnetting permits those two subnet numbers and gives 64 subnets with 1022 hosts each; that pair is absent from the options. C is conditional on the obsolete convention, not a modern universal maximum.

Original paper, page 16