A classless address is given as 167.199.170.82/27. The number of addresses in…

2022

A classless address is given as 167.199.170.82/27. The number of addresses in the network is

  1. A.

    64 addresses

  2. B.

    32 addresses

  3. C.

    28 addresses

  4. D.

    30 addresses

Attempted by 281 students.

Show answer & explanation

Correct answer: B

Step 1: Determine the number of host bits. The prefix is /27, so host bits = 32 − 27 = 5.

Step 2: Calculate the total number of addresses: 2^5 = 32 addresses.

Note: This total includes the network and broadcast addresses. The number of usable host addresses is 32 − 2 = 30.

Common incorrect answers and why they are wrong:

  • 64 addresses: This would correspond to 6 host bits (2^6), not 5 host bits.

  • 30 addresses: This is the count of usable hosts (total minus network and broadcast) for a /27, not the total number of addresses.

  • 28 addresses: Not derived from the host-bit calculation for /27; likely a mistaken subtraction or confusion with another prefix.

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

Explore the full course: Tpsc Assistant Technical Officer