VLSM Step by Step
Lesson 34 of 46 in Coddy's IP Addressing and Subnetting course.
Real teams are not all the same size, so real plans use VLSM: Variable Length Subnet Masks, meaning different-sized subnets carved from one block.
The method: right-size each team, then allocate from the start of the block, largest team first, each subnet beginning exactly where the previous one ended.
From 192.168.100.0/24: Sales needs 100 hosts (a /25, taking .0 to .127), then Engineering needs 50 (a /26, starting at .128). Two teams, two right-sized subnets, no waste between them.
Challenge
EasyAllocate from 192.168.100.0/24: Sales needs 100 hosts, Engineering needs 50. Print the two allocations in CIDR notation, Sales first.
Expected output:
192.168.100.0/25
192.168.100.128/26Try it yourself
All lessons in IP Addressing and Subnetting
10Capstone - The Office
The Floor PlanSizing Each TeamCarving the BlockThe Router's ViewRecap - Ship the Plan8Planning Networks
Right-SizingVLSM Step by StepAllocation OrderChecking for OverlapRecap - Plan a NetworkPractice on your own: Terminal playground