Skip to main content

Subnet 120.89.96.0/19 for 500-2000 hosts

Short answer

Use VLSM, largest first: D gets 120.89.96.0/21, C 120.89.104.0/21, B 120.89.112.0/22, A 120.89.116.0/23. Total host-address wastage is 624.

A large number of consecutive IP addresses are available starting at 120.89.96.0/19. Suppose that four organizations A, B, C and D request 500, 1000, 1500 and 2000 addresses respectively. How can the subnetting be performed so that address wastage is minimum?

A /19 block contains 2^(32−19) = 2^13 = 8192 addresses, so the pool is large enough.

Method (VLSM): each organization needs hosts + 2 addresses (network address and broadcast address cannot be given to hosts). Choose the smallest block 2ⁿ ≥ hosts + 2, where n is the number of host bits and prefix = 32 − n. Allocate the largest block first, one after another without overlap, so every block starts on a boundary that is a multiple of its size and the waste is minimum.

Step 1: Block size for each organization

OrgHostsHosts + 2Block 2ⁿnPrefixSubnet mask
A5005025129/23255.255.254.0
B10001002102410/22255.255.252.0
C15001502204811/21255.255.248.0
D20002002204811/21255.255.248.0

Step 2: Allocation (largest first) from 120.89.96.0/19

OrgNetwork addressUsable host rangeBroadcast addressMaskUnused hosts
D120.89.96.0/21120.89.96.1 – 120.89.103.254120.89.103.255255.255.248.046
C120.89.104.0/21120.89.104.1 – 120.89.111.254120.89.111.255255.255.248.0546
B120.89.112.0/22120.89.112.1 – 120.89.115.254120.89.115.255255.255.252.022
A120.89.116.0/23120.89.116.1 – 120.89.117.254120.89.117.255255.255.254.010

Step 3: Wastage

OrgUsable addressesNeededWasted
D2046200046
C20461500546
B1022100022
A51050010
Total56245000624

Addresses allocated: 5632 of 8192. The remaining 2560 addresses (120.89.118.0/23, 120.89.120.0/21) stay free for future organizations and are not counted as wastage.

Answer: A: 120.89.116.0/23; B: 120.89.112.0/22; C: 120.89.104.0/21; D: 120.89.96.0/21. Total wastage = 624 host addresses.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computer Networks and Security chapter 4 questions →