Skip to main content

Class C pool for 10, 12, 8, 14

Short answer

VLSM: all departments need /28 blocks (16 addresses). D: 200.1.1.0/28, B: 200.1.1.16/28, A: 200.1.1.32/28, C: 200.1.1.48/28. Total wastage 12 host addresses.

How can you dedicate 10, 12, 8 and 14 public IP addresses to departments A, B, C and D respectively from the pool of class C with minimum losses of IP? Explain.

Assumption: the public Class C pool is 200.1.1.0/24 and each number is the count of hosts.

Method (VLSM): each department 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 department

DeptHostsHosts + 2Block 2ⁿnPrefixSubnet mask
A1012164/28255.255.255.240
B1214164/28255.255.255.240
C810164/28255.255.255.240
D1416164/28255.255.255.240

Step 2: Allocation (largest first) from 200.1.1.0/24

DeptNetwork addressUsable host rangeBroadcast addressMaskUnused hosts
D200.1.1.0/28200.1.1.1 – 200.1.1.14200.1.1.15255.255.255.2400
B200.1.1.16/28200.1.1.17 – 200.1.1.30200.1.1.31255.255.255.2402
A200.1.1.32/28200.1.1.33 – 200.1.1.46200.1.1.47255.255.255.2404
C200.1.1.48/28200.1.1.49 – 200.1.1.62200.1.1.63255.255.255.2406

Step 3: Wastage

DeptUsable addressesNeededWasted
D14140
B14122
A14104
C1486
Total564412

Addresses allocated: 64 of 256. The remaining 192 addresses (200.1.1.64/26, 200.1.1.128/25) stay free for future departments and are not counted as wastage.

Answer: A: 200.1.1.32/28; B: 200.1.1.16/28; C: 200.1.1.48/28; D: 200.1.1.0/28. Total wastage = 12 host addresses.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computer Networks and Security chapter 4 questions →