This page demonstrates how Variable Length Subnet Masks (VLSM) can be used to divide a larger IP network into subnets of different sizes without wasting addresses.

We start from the base network 192.168.10.0/24 and need four subnets:

  • Subnet A: 50 hosts (e.g. servers)
  • Subnet B: 20 hosts (e.g. staff PCs)
  • Subnet C: 10 hosts (e.g. lab PCs)
  • Subnet D: 5 hosts (e.g. management network)

The visualization walks through:

  1. Sorting requirements from largest to smallest
  2. Choosing the smallest mask that fits each subnet
  3. Assigning address ranges from the remaining pool
  4. Verifying that all subnets fit inside the original /24

Use the controls to step through the allocation. The diagram shows the base network and allocated subnets, while the details panel shows the current calculation.

How 192.168.10.0/24 is divided into unequal subnets

Allocation Steps

1
Overview
2
Sort Requirements
3
Allocate Subnet A
4
Allocate Subnet B
5
Allocate Subnet C
6
Allocate Subnet D
7
Summary

Current Explanation

We start with base network **192.168.10.0/24** (**256** addresses, **254** usable) and host requirements: A: **50**, B: **20**, C: **10**, D: **5**. Step forward to see how VLSM allocates unequal subnets efficiently.
Base Network Pool
192.168.10.0/24 — 256 addresses
Largest requirement allocated first Subnet currently being calculated Remaining address pool
Subnet A Servers
Required hosts 50
Mask ?
Network Not allocated
Host range Not allocated
Broadcast Not allocated
Subnet B Staff PCs
Required hosts 20
Mask ?
Network Not allocated
Host range Not allocated
Broadcast Not allocated
Subnet C Lab PCs
Required hosts 10
Mask ?
Network Not allocated
Host range Not allocated
Broadcast Not allocated
Subnet D Management
Required hosts 5
Mask ?
Network Not allocated
Host range Not allocated
Broadcast Not allocated

Final Subnet Summary Not yet fully allocated

Subnet Network / Mask Usable hosts Host range Broadcast
Step through the visualization to fill the table.