VLSM Subnetting — Variable-Length Subnet Mask
Easy Networking · 15 min
VLSM Subnetting — Variable-Length Subnet Mask
Scenario
You are designing the IP plan for a small office. You have been assigned the block 192.168.10.0/24 and need to carve it into 4 subnets sized for the following host counts:
| Subnet | Hosts needed | |---|---| | A — Engineering LAN | 50 | | B — Sales LAN | 25 | | C — Server VLAN | 12 | | D — Management VLAN | 5 |
Rules of the game
- Use VLSM — allocate the largest subnet first, smallest last.
- Each subnet must hold at least the required hosts plus the network + broadcast addresses.
- Subnets must be contiguous starting at
192.168.10.0— no gaps. - The right pane shows a worksheet to help you compute.
Answer format
Submit your answer as a comma-separated list of CIDR subnets, sorted by starting IP, no spaces:
192.168.10.0/X,192.168.10.Y/X,192.168.10.Z/X,192.168.10.W/X
Example (NOT the right answer — just shape):
192.168.10.0/26,192.168.10.64/27,192.168.10.96/28,192.168.10.112/29
The flag has the shape of a normal subnet list — there is no TC{…} wrapper for analysis labs. Submit the CIDR string itself.
Tip
For each subnet, the prefix length is determined by: 32 − ceil(log₂(hosts + 2)). The +2 accounts for the network and broadcast addresses.
Hints
Hint 1 (−10 pts)
Engineering needs 50 hosts. The smallest prefix that holds ≥ 52 usable addresses is /26 (62 hosts). Start there.
Hint 2 (−10 pts)
After /26 for Engineering (192.168.10.0–63), the next block starts at 192.168.10.64. Sales needs 25 hosts → /27. Then Server VLAN at .96 needs 12 hosts → /28. Management at .112 needs 5 hosts → /29.
Hint 3 (−10 pts)
Full answer: 192.168.10.0/26,192.168.10.64/27,192.168.10.96/28,192.168.10.112/29
Lab environment · sandboxed iframe · auto-resets every 60 min