ITEngineeringTools

IPv4 VLSM Subnet Planner

Allocate named IPv4 subnets by host count and see exactly which requests fit inside a parent CIDR block.

Input

Result

How it works

The planner orders requests by decreasing power-of-two block size. Each allocation starts at the next aligned address. The model reserves two addresses per subnet for network and broadcast. A request that does not fit leaves room for any smaller request that follows.

Formula

Required block = smallest power of 2 at least hosts + 2. Child prefix = 32 − log2(block).

Practical examples

Campus departments

Parent IPv4 CIDR: 10.0.0.0/24
Subnet requests, one name,host count per line: Engineering,60
Support,30

Engineering: 10.0.0.0/26

Remote offices

Parent IPv4 CIDR: 192.0.2.0/27
Subnet requests, one name,host count per line: Lab,10
Store,6

Store: 192.0.2.16/29

Space shortage

Parent IPv4 CIDR: 198.51.100.0/30
Subnet requests, one name,host count per line: Lab,6
Sensor,1

Lab: does not fit

Technical references