A company has a class C network address of 204.204.204.0. It wishes to have…

2005

A company has a class C network address of 204.204.204.0. It wishes to have three subnets, one with 100 hosts and two with 50 hosts each. Which one of the following options represents a feasible set of subnet address/subnet mask pairs?  

  1. A.

    204.204.204.128/255.255.255.192

    204.204.204.0/255.255.255.128

    204.204.204.64/255.255.255.128

  2. B.

    204.204.204.0/255.255.255.192

    204.204.204.192/255.255.255.128

    204.204.204.64/255.255.255.128

  3. C.

    204.204.204.128/255.255.255.128

    204.204.204.192/255.255.255.192

    204.204.204.224/255.255.255.192

  4. D.

    204.204.204.128/255.255.255.128

    204.204.204.64/255.255.255.192

    204.204.204.0/255.255.255.192

Attempted by 112 students.

Show answer & explanation

Correct answer: D

Correct subnet set: 204.204.204.128/255.255.255.128, 204.204.204.64/255.255.255.192, 204.204.204.0/255.255.255.192

Reasoning: You need one subnet that supports at least 100 hosts and two subnets that support at least 50 hosts each.

Subnet sizes required: a /25 (255.255.255.128) provides 126 usable hosts and a /26 (255.255.255.192) provides 62 usable hosts.

  • Choose one /25 for the 100-host subnet: 204.204.204.128/255.255.255.128 -> usable addresses 204.204.204.129–204.204.204.254 (126 hosts).

  • Split the remaining half of the /24 (204.204.204.0–204.204.204.127) into two /26s for the 50-host subnets:

    • 204.204.204.0/255.255.255.192 -> usable 204.204.204.1–204.204.204.62 (62 hosts).

    • 204.204.204.64/255.255.255.192 -> usable 204.204.204.65–204.204.204.126 (62 hosts).

  • All subnets are aligned to appropriate boundaries (/25 boundaries at .0 and .128; /26 boundaries every 64 addresses) and they do not overlap, so the allocation is valid.

Conclusion: The set 204.204.204.128/255.255.255.128, 204.204.204.64/255.255.255.192, and 204.204.204.0/255.255.255.192 is a feasible subnetting scheme for the stated requirements.

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

Explore the full course: Gate Guidance By Sanchit Sir