VLSM and address planning
Variable-Length Subnet Masking lets you fit subnets of different sizes inside one address block without waste. This chapter walks through the standard 'biggest-first' planning method with a worked enterprise example.
What you'll learn
- Design a VLSM plan for an organization with mixed subnet sizes.
- Justify the order in which subnets are allocated.
- Detect overlapping or wasteful allocations in a given plan.
Why VLSM exists
Real organizations need subnets of very different sizes. A user LAN may need 200 hosts, a printer VLAN may need 14, a serial link needs 2. Allocating /24 to all of them wastes thousands of addresses. VLSM lets every subnet take exactly the prefix it requires.
Without VLSM, every subnet of a network uses the same mask, which is called fixed-length subnetting. With it, each subnet takes the smallest prefix that fits its hosts, and the space left over stays together in one piece for later.
The 'biggest-first' rule
Always allocate the largest subnet first, then the next largest, and so on. If you allocate small subnets first you fragment the block and end up unable to fit the larger ones later.
Biggest-first works because of the alignment rule explained below. Every block size is a power of two, and each one divides every larger one, so a smaller block always fits exactly where a bigger one ended.
8 more sections in this chapter, plus a 4-question quiz and a hands-on lab.
Modules 2–8 are part of the Course & Lab Pass and All-Access Max — start with a free account
You can see the title, summary, learning objectives and the opening sections. The rest of this chapter, like all of modules 2–8, comes with the Course & Lab Pass and All-Access Max. A free account opens Module 1: How Networks Work end-to-end and saves your labs — start there, no card required.
- Read every chapter in Module 1 — How Networks Work
- Save labs of up to 5 devices
- Save up to 3 topologies
- See the full course syllabus + chapter titles
Free account · no card required · compare plans any time
Build it step by step
- VLSM for two sitesCarve one /24 into a /26, a /27 and a /30 sized to what each site needs, then route between them with masks that match the plan. · 5 steps · ~18 min · 4 devices
- Static routes across a WANJoin three sites with point-to-point WAN links and route between them by hand, one line at a time. · 9 steps · ~22 min · 6 devices