VLAN Planner & IP Address Plan Generator

Plan IPv4 or IPv6 VLAN IDs, subnets, gateways, static reservations, and DHCP pools from one parent CIDR. This free, browser-based planner supports editable FLSM and VLSM plans, validation, local saving, and export—no account required.

All calculations and saved plans stay in this browser. Validate production changes against IPAM, routing, DHCP, firewall, and change-control records.

Start with a realistic plan

Templates are editable starting points with different requirements and sensible exclusions.

Advertisement

Plan requirements

1. Parent address block
Enter conventional CIDR notation. IPv4 supports /0 through /30; host addresses are normalized to the network boundary.
2. Sizing mode

Enter required hosts per row. The planner adds growth and static reservations, chooses the smallest suitable IPv4 subnet, and allocates larger blocks first. An optional row prefix overrides the recommendation.

Applied to required hosts before IPv4 prefix selection.
/28
14 usable
/27
30 usable
/26
62 usable
/25
126 usable
/24
254 usable
/23
510 usable
3. Editable VLAN rows

Add, remove, reorder, or edit requirements. Requested subnet, gateway, DHCP range, and prefix are optional expert overrides.

Editable VLAN requirements
OrderVLAN IDNamePurposeRequired DHCP hostsPrefix overrideRequested subnetGateway rule / addressDHCP policy / rangeStatic hostsOwnerNotesStatusRemove
Advanced allocation, numbering, gateway, and DHCP options
Contiguous blocks summarize cleanly; gaps help growth; distribution spreads blocks across the parent.
Enabled only for the growth-gap strategy.
Enabled only when custom convention is selected.
Import CSV

Validation and plan summary

Generate the plan to run conflict and capacity checks.
Plan statusNot generated
VLANs allocated-
Parent utilization-
Summary route-
Parent block
Normalized parent CIDR:-
Address space used:-
Address space remaining:-
Allocation order:-

Generated VLAN plan

Validated VLAN address plan. Scroll horizontally to see advanced values.
VLANName / purposeSubnetMask / wildcardTotal / usableGatewayStatic rangeDHCP rangeBroadcastUtilizationOwner / notesCopy
Generate a plan to populate the table.
Validated vendor configuration snippets
A snippet is available only after the plan passes validation.

Worked example: four /24 VLANs from 10.20.0.0/22

Choose IPv4 FLSM, enter 10.20.0.0/22, select /24, and use four rows. Each /24 contains 256 total addresses and 254 traditional usable host addresses.

Expected results using first-usable gateways, 20 low static addresses, and no high exclusion
VLAN subnetGatewayStatic reservationDHCP poolBroadcastCapacity
10.20.0.0/2410.20.0.110.20.0.1–10.20.0.2010.20.0.21–10.20.0.25410.20.0.255254 usable
10.20.1.0/2410.20.1.110.20.1.1–10.20.1.2010.20.1.21–10.20.1.25410.20.1.255254 usable
10.20.2.0/2410.20.2.110.20.2.1–10.20.2.2010.20.2.21–10.20.2.25410.20.2.255254 usable
10.20.3.0/2410.20.3.110.20.3.1–10.20.3.2010.20.3.21–10.20.3.25410.20.3.255254 usable

Parent utilization: 4 × 256 / 1,024 = 100%. The first subnet is 10.20.0.0/24; the last is 10.20.3.0/24. Leave a larger parent or deliberate gaps if the site needs future VLANs.

Advertisement

Subnet sizing and allocation guidance

For IPv4, required capacity is ceil(DHCP hosts × (1 + growth margin)) + max(static hosts + gateway, low exclusion) + high exclusion. The planner then selects the smallest prefix whose traditional usable capacity, 2^(32 − prefix) − 2, meets that total. A /26 has 62 usable addresses; a /24 has 254. Size for leases, infrastructure, static devices, exclusions, and growth—not just today’s device count.

Sequential allocation keeps site blocks contiguous and usually produces the clearest summary route. Growth gaps trade address efficiency for easier expansion. Even distribution is useful when separating future functional groups, but it can create more specific routes. VLSM always evaluates larger requirements first so a small early subnet cannot fragment space needed by a later large subnet.

IPv6 mode uses IPv6 semantics: /64 per VLAN by default, no broadcast address, no IPv4 usable-host subtraction, and no IPv4 DHCP-pool arithmetic. The displayed ::1 router address is a convention to review, not an IPv6 requirement.

Import, export, and configuration formats

CSV import columns: vlanId,name,purpose,requiredHosts,prefix,requestedSubnet,gatewayMode,customGateway,dhcpPolicy,customDhcpRange,staticHosts,owner,notes. The header is required; unrecognised columns are ignored. CSV and JSON exports include calculated masks, wildcard, capacity, static range, DHCP range, broadcast, and validation status. Print / PDF uses the browser’s print dialog. Local save uses this browser’s local storage.

Vendor snippets are intentionally available only after a conflict-free plan. They are documentation starters, not complete switch, routing, relay, firewall, or VRF configurations.

Methodology, limits, and test vectors

Supported inputs: IPv4 parent prefixes /0 through /30 and child prefixes through /30; IPv6 parent prefixes /0 through /127 with /64 VLANs by default. VLAN IDs are checked from 1 through 4094. IPv4 host addresses in a parent or requested CIDR are rounded down by applying the prefix mask, and the correction is shown. Host-driven IPv4 demand is rounded up before prefix selection.

Validation: the planner checks duplicate VLAN IDs, CIDR boundaries, blocks outside the parent, subnet overlap, gateway membership, required capacity, DHCP membership, DHCP/static overlap, and parent exhaustion. Automatically allocated rows are ordered largest-first in VLSM. Manual subnets remain fixed and are checked before automatic allocation.

Known limits: it does not query an IPAM, detect addresses used elsewhere, model IPv4 /31 point-to-point rules, model IPv6 SLAAC/DHCPv6 lease behavior, configure equipment, or prove route reachability. Distributed allocation is deterministic but is a planning aid, not an optimizer for an existing route table.

Published calculation test vectors
InputExpected result
Host address 10.20.1.17/22Normalize to 10.20.0.0/22
50 DHCP hosts + 20% growth + 1 static + gateway, no high exclusion62 needed → /26, 62 usable
10.20.0.0/22, four FLSM /24 rows10.20.0.0/24 through 10.20.3.0/24; 100% parent use
2001:db8:1200::/48, sequential IPv6First VLAN 2001:db8:1200::/64; next 2001:db8:1200:1::/64

CIDR and IPv4 aggregation follow RFC 4632; private IPv4 examples follow RFC 1918; DHCP terminology follows RFC 2131; IPv6 addressing follows RFC 4291 and RFC 8200; VLAN tagging is standardised by IEEE 802.1Q. Last technically reviewed: 15 July 2026.

VLAN planning FAQs

Disclaimer

This is an infrastructure planning aid. Review address ownership, route summarization, DHCP failover, security segmentation, and operational change-management requirements before applying a VLAN or IP address plan in production.

Explore more tools