VLSM Address Planning for Multiple Networks
Why different subnet sizes help
Variable Length Subnet Masking (VLSM) allocates differently sized prefixes within a parent block. A fictional office needs 50, 25 and 10 usable interface addresses in three conventional LANs, including gateways. A /26 supplies 62, /27 supplies 30 and /28 supplies 14. Giving every LAN a /26 would use 192 addresses instead of 112.
Choose the smallest sufficient block
Add two to the required usable capacity for a conventional LAN. Round up to a power of two, then select the corresponding prefix. For 50, 52 rounds up to 64, giving /26. For 25, 27 rounds up to 32, giving /27. For 10, 12 rounds up to 16, giving /28. Include infrastructure and growth in the requirement before sizing.
Allocate largest first
Start with documentation block 192.0.2.0/24. Assign largest requirements first as a useful planning heuristic. Check each start is aligned to its own block size. The following three non-overlapping allocations fit within the parent. The unassigned .112–.255 interval is not a single CIDR prefix.
LAN A 192.0.2.0/26 .0–.63 hosts .1–.62LAN B 192.0.2.64/27 .64–.95 hosts .65–.94LAN C 192.0.2.96/28 .96–.111 hosts .97–.110Free 192.0.2.112/28 .112–.127Free 192.0.2.128/25 .128–.255Check capacity and future growth
All three blocks consume 64 + 32 + 16 = 112 of 256 addresses, leaving 144 unallocated. Keep the aligned /25 free for future expansion. If LAN B grows to 40 interfaces, its /27 cannot hold them. Expanding it in place to 192.0.2.64/26 would overlap LAN C; moving to a free block is one planning option, with renumbering and routing changes to review.
Practice
Plan 198.51.100.0/24 for LANs requiring 60, 28 and 12 usable addresses. Include the gateway in each requirement. Allocate largest first, report usable intervals and identify the remaining aligned free blocks.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
VLSM address planning — knowledge check
Apply subnetting concepts to fictional offline scenarios.
A conventional LAN needs 40 usable addresses including its gateway. What is the smallest sufficient prefix?
After allocating 192.0.2.0/26, what is the first aligned free /27 start?
How many total addresses do /26, /27 and /28 blocks consume together?
How many addresses remain after those three blocks are allocated from a /24?
LAN B at 192.0.2.64/27 grows to 40 interfaces; LAN C occupies .96/28. What is the issue with expanding B to .64/26?