ExerciseDifficulty: Advanced1 min

Practice: Dividing a /16 Between Three Teams

Three teams need 500, 200 and 60 hosts; give each a block that fits without overlapping the others.

Dividing a range between several needs is the subnet skill used most in practice, whenever a network is planned. Your company has 10.20.0.0/16. Three teams each need their own subnet, with room for at least the number of hosts below, counting the two reserved addresses in each block but nothing extra:

  • Team A: 500 hosts
  • Team B: 200 hosts
  • Team C: 60 hosts

Give each team the smallest block that fits, place the three blocks so that none overlaps another, and write each as CIDR with its first and last address.

Before you check, say why it helps to place the largest block first.

Show one plan that works
The smallest block for each team, laid out from the start of 10.20.0.0/16
TeamNeedsPrefixUsable hostsCIDR blockFirst to last
A500/2351010.20.0.0/2310.20.0.0 to 10.20.1.255
B200/2425410.20.2.0/2410.20.2.0 to 10.20.2.255
C60/266210.20.3.0/2610.20.3.0 to 10.20.3.63

Each prefix is the longest that still fits. A /24 has 254 usable hosts, too few for 500, so Team A needs a /23. A /25 has 126, too few for 200, so Team B needs a /24. A /26 has 62, just enough for 60.

Placing the largest block first keeps every block on its natural boundary: a /23 must start on an even third byte, a /24 on any third byte, a /26 at .0, .64, .128 or .192. Laid out from largest to smallest, each block starts exactly where the last one ended. Other plans are correct too, as long as each block starts on its own boundary and no two share an address.