A subnet has been assigned a subnet mask of 255.255.255.192. What is the…

2004

A subnet has been assigned a subnet mask of 255.255.255.192. What is the maximum number of hosts that can belong to this subnet?

  1. A.

    14

  2. B.

    30

  3. C.

    62

  4. D.

    126

Attempted by 381 students.

Show answer & explanation

Correct answer: C

Answer: 62 usable hosts.

Explanation:

  • Determine the prefix length: 255.255.255.192 corresponds to /26.

  • Calculate host bits: 32 total bits − 26 network bits = 6 host bits.

  • Compute usable hosts: 2^6 − 2 = 64 − 2 = 62 (subtract the network and broadcast addresses).

Common related masks (to explain the other numeric choices):

  • 14 = /28 (255.255.255.240), host bits = 4 → 2^4 − 2 = 14.

  • 30 = /27 (255.255.255.224), host bits = 5 → 2^5 − 2 = 30.

  • 126 = /25 (255.255.255.128), host bits = 7 → 2^7 − 2 = 126.

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

Explore the full course: Gate Guidance By Sanchit Sir