The address of a class B host is to be split into subnets with a 6 - bit…

2017

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

  1. A.

    62 subnets and 1022 hosts

  2. B.

    64 subnets and 1024 hosts

  3. C.

    62 subnets and 254 hosts

  4. D.

    64 subnets and 256 hosts

Attempted by 222 students.

Show answer & explanation

Correct answer: A

Answer: 62 subnets and 1022 hosts per subnet

Reasoning:

  1. A Class B address has 16 host bits by default (network mask /16).

  2. Using a 6‑bit subnet number takes 6 bits from the host portion, leaving 10 host bits for each subnet.

  3. Number of subnets: historically calculated as 2^6 − 2 = 64 − 2 = 62 when excluding the all‑zeros and all‑ones subnets. Modern practice may use all patterns, giving 2^6 = 64 subnets.

  4. Number of usable hosts per subnet: 2^10 − 2 = 1024 − 2 = 1022 (subtract network and broadcast addresses).

Therefore, applying the historic rule gives 62 subnets and 1022 hosts per subnet (if using the modern convention that allows all subnet patterns, you would have 64 subnets and still 1022 usable hosts per subnet).

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Tpsc Assistant Technical Officer