Skip to content

ISRO Scientist/Engineer CSE 2016Computer Networks › IP Addressing and Subnetting

ISRO Scientist/Engineer CSE 2016 PYQ: The address of a class $\text{B}$ host is to be split into subnets with a $6\;\text{-bit}$ subnet number.…

The address of a class $\text{B}$ host is to be split into subnets with a $6\;\text{-bit}$ subnet number. What is the maximum number of subnets and the maximum number of hosts in each subnet?

  1. A
    62 subnets and 262142 hosts.
  2. B
    64 subnets and 262142 hosts.
  3. C
    62 subnets and 1022 hosts.
    Correct answer
  4. D
    64 subnets and 1024 hosts.

Answer

(C) $62$ subnets and $1022$ hosts.

Approach

The address is Class B, so the first 16 bits are the network ID and the remaining 16 bits are available for subnetting and host addressing. A 6-bit subnet number consumes 6 of these 16 bits, leaving 16 − 6 = 10 bits for hosts. In the classic classful subnetting convention used by GATE/ISRO, the all-zero and all-one subnet numbers are reserved, so the number of usable subnets is $2^6 − 2 = 64 − 2 = 62$. For each subnet, the 10 host bits give $2^{10} = 1024$ possible bit patterns, but the all-zero host part is the subnet network address and the all-one host part is the directed broadcast address, so usable hosts are $2^{10} − 2 = 1024 − 2 = 1022$. Thus the maximum usable subnets and hosts per subnet are 62 and 1022, matching option C. Option A mixes a correct 62 with $262142 = 2^{18} − 2$, which would require 18 host bits and is appropriate for a Class A network with a 6-bit subnet field, not a Class B network. Option B uses the same wrong host count and also fails to reserve subnet numbers. Option D uses $2^6 = 64$ subnets and $2^{10} = 1024$ hosts, i.e. it ignores both reservations; under strict classful rules it is incorrect. Even under the later convention that permits all-zero/all-one subnets, the host count would still be 1022, so C remains the only option consistent with standard host-address reservation.

Reviewed by ISRO IQ Editorial Team.