Subnet Planning Suite
Plan IPv4 child subnets from a parent CIDR, compare usable host capacity with reserve, pack VLSM demand rows, and export address ledgers.{{ summaryTitle }}
| {{ heading }} | Copy |
|---|---|
| No rows available for this artifact. | |
| {{ cell }} |
Introduction:
A clean IPv4 plan is part arithmetic and part inventory discipline. The arithmetic says which ranges fit inside a larger allocation. The inventory discipline decides whether those ranges are usable for real VLANs, routed links, firewall objects, DHCP scopes, cloud networks, or lab segments without colliding with addresses that already exist.
CIDR notation writes a network as an address plus a prefix length, such as 10.24.0.0/20. The prefix length says how many of the 32 IPv4 bits identify the network. The remaining bits identify addresses inside that network. Moving from a /20 parent to /24 children adds four network bits, which creates 16 equal child blocks. Moving the child prefix one step longer doubles the child count and cuts the raw address capacity of each child in half.
| Planning term | Plain meaning | Why it changes the plan |
|---|---|---|
| Parent block | The larger network you are allowed to split. | It sets the total address budget and the first valid network boundary. |
| Child prefix | The subnet size carved from the parent. | Longer prefixes create more children with fewer addresses each. |
| Usable hosts | Addresses normally assignable to devices or endpoints. | Network, broadcast, /31, and /32 rules can change this number. |
| Reserve headroom | Capacity held back for growth, spares, or policy. | A range can fit today's hosts while still failing a conservative growth target. |
Real subnet plans often mix several pressures. A campus may need one range per VLAN, a data center may need predictable ranges for firewall objects, a lab may need disposable blocks that are easy to reset, and a WAN design may use very small point-to-point links. Cloud networks add provider-specific reservations, while enterprise networks add route summarization, DHCP boundaries, monitoring systems, and address-management records.
The common mistake is to treat subnet math as proof that a range is available. It only proves that the proposed blocks fit inside the parent. Availability still depends on address-management records, existing routes, DHCP leases, firewall policy, provider reservations, and device support for special cases such as /31 links.
How to Use This Tool:
Start with the parent network from your allocation request, route plan, site design, or lab note. Enter it as CIDR notation or as an address with a dotted mask. If the address is a host inside the block, the result will show the normalized network base so you can catch accidental boundary errors.
- Set the child prefix you want to carve from the parent. Use a broader child prefix for more host capacity, or a longer child prefix when you need more small ranges.
- Enter the usable hosts per child and the number of child subnets needed. Set the host target to
0when you only need an address ledger and prefix math. - Choose the reserve percentage that should remain outside normal allocation. This changes the deployable capacity check without hiding the full usable-host count.
- Use LAN or VLAN mode for ordinary shared subnets. Use point-to-point
/31mode only for two-endpoint links where both devices support RFC 3021 addressing. - Open the advanced controls when you need custom row labels, a gateway host offset, a mixed demand list, more rendered ledger rows, a shareable parameter link, or a specific export filename stem.
- For a mixed demand plan, enter one segment per line as a label and host count. Rows are packed in the order you enter them, so place fixed, large, or high-priority segments first.
Use the table, chart, and JSON exports as planning artifacts for review, not as deployment approval. A copied link includes the current planning parameters in the URL, so avoid sharing sensitive internal address plans more broadly than intended.
Interpreting Results:
Allocation Brief is the first place to check. It reports the normalized parent, planned child count, host fit, reserve impact, rendered-row limit, and recommendation status. A Ready result means the entered plan is internally consistent.
Subnet Ledger lists equal child ranges in address order. Each row includes the CIDR block, first usable address, suggested gateway, last usable address, broadcast address, usable-host count, and whether the row is part of the requested allocation count.
Demand Fit Plan is separate from the equal-size ledger. Each demand row receives the smallest fitting prefix after reserve is considered, then the next row starts at the next valid boundary. A later segment can fail when earlier rows used enough space or forced alignment gaps.
Prefix Ladder and Address Math explain the mechanics behind the recommendation. The ladder compares every valid child prefix from the parent boundary through /32; address math exposes masks, wildcard masks, integer spans, and binary prefix boundaries.
Prefix Capacity Curve, Subnet Fit Stack, and Demand Fit Bars are visual checks. Use them to spot steep capacity changes, reserve pressure, and rows that overflow the available host capacity.
Warnings such as Reserve is tight, Child prefix too small, and Needs broader parent are planning blockers unless a network owner accepts the tradeoff. Verify the selected ranges against live IP address management and routing sources before making production changes.
Technical Details:
IPv4 has 2^32 possible addresses. A CIDR prefix divides those bits into a network part and a host part. A child subnet must keep all parent network bits and add zero or more child bits, which is why a child prefix cannot be numerically smaller than its parent prefix.
Subnet capacity has two related numbers. Raw address capacity is the power-of-two block size. Usable-host capacity applies IPv4 addressing rules, then deployable capacity removes the selected reserve headroom. For ordinary LAN and VLAN networks, the network and broadcast addresses are not assignable to hosts. A /32 represents one address, and an RFC 3021 /31 point-to-point link treats both addresses as endpoint addresses.
Formula Core:
| Case | Usable-host rule | Planning effect |
|---|---|---|
LAN or VLAN, /1 through /30 |
Raw addresses minus the network and broadcast addresses. | A /24 has 256 raw addresses and 254 usable hosts before reserve. |
LAN or VLAN /31 |
0 usable hosts under ordinary shared-subnet rules. |
Choose a broader prefix for user, server, or Wi-Fi segments. |
Point-to-point /31 |
2 endpoint addresses. |
Appropriate only for two-node links that support RFC 3021 behavior. |
/32 |
1 usable address. |
Useful for host routes, loopbacks, or single-address planning rows. |
For equal-size planning, the child count comes directly from the added prefix bits. For mixed demand planning, the host target and reserve percentage determine the smallest prefix that can still meet each segment. After a segment is placed, the next segment is aligned to its own block size. That alignment can leave gaps, which is why demand order can change whether the full list fits.
| Status | Condition | Practical response |
|---|---|---|
Ready |
Requested child count and host target fit within usable and deployable capacity. | Continue with external allocation checks. |
Reserve is tight |
Hosts fit the usable address count but exceed deployable capacity after reserve. | Use a broader child prefix or accept reduced growth headroom. |
Child prefix too small |
The host target is larger than usable hosts per child. | Move to a broader child prefix, such as /24 instead of /25. |
Needs broader parent |
Requested child subnets exceed the number available inside the parent. | Reduce the count, choose smaller child ranges, or allocate a larger parent. |
Child prefix adjusted |
The requested child prefix was broader than the parent boundary. | Review the normalized result before using the plan. |
Limitations, Privacy, and Accuracy Notes:
The calculation is deterministic subnet arithmetic. It does not query routers, DHCP servers, cloud accounts, spreadsheets, or IP address management systems, so it cannot prove that a proposed range is unused. Treat the result as a planning draft that still needs operational review.
The entered addresses and host targets are processed in the browser for calculation. Exported files, copied rows, copied JSON, and copied links can contain internal network details. Share those artifacts only through channels appropriate for your organization.
Vendor and cloud platforms sometimes reserve extra addresses or disallow certain prefix lengths. Apply those platform-specific rules after confirming the generic IPv4 plan.
Worked Examples:
- Site VLAN split. A
10.24.0.0/20parent split into/24children produces16equal subnets. In LAN mode, each child has254usable hosts. With15%reserve,39hosts are held back and215remain deployable. - Host target too large. Keeping the same parent but using
/25children gives126usable LAN hosts before reserve. A target of180hosts producesChild prefix too small, so the plan needs a broader child prefix. - Ordered demand packing. Demand rows such as
Core services, 180,Office users, 120,Guest Wi-Fi, 60, andNetwork gear, 30are placed in that order. Each row gets the smallest prefix that satisfies its host count after reserve, then the next row is aligned. - Point-to-point link. A
/31child in point-to-point mode has two endpoint addresses. The same/31in LAN mode has no ordinary usable host addresses, so it should not be used for a shared subnet.
Advanced Tips:
- Put fixed or large rows first in Demand list. Ordered VLSM packing is predictable, but a smaller early row can create an alignment gap that later blocks a larger segment.
- Use Reserve headroom to test a growth policy, not to hide known hosts. A warning that hosts only fit by using reserve usually means the child prefix is too long for normal deployment.
- Keep Host address rule on LAN or VLAN subnet unless the range is a two-endpoint link. Point-to-point
/31mode changes the usable-host rule and should match device support. - Change Gateway host offset only after matching your network standard. The suggested gateway helps documentation, but it does not change the subnet boundaries or usable-host count.
- Lower Ledger rows to render for very large parents when you only need the summary and charts. The brief still reports the full child count while the page avoids rendering thousands of rows.
- Compare Prefix Capacity Curve with Demand Fit Bars before reserving addresses. One chart shows what each prefix can hold; the other shows whether the current demand order wastes space or spills past the parent.
FAQ:
Why did the parent network change?
The entered address may be a host inside the parent block rather than the network address itself. For example, 10.24.3.19/20 normalizes to 10.24.0.0/20.
Why are raw addresses different from usable hosts?
Raw addresses count every address in the block. Usable hosts remove addresses that ordinary IPv4 subnets reserve for network and broadcast meanings, then deployable hosts remove the chosen reserve headroom.
Does the demand plan optimize the whole parent?
No. It packs demand rows in the order entered. That makes the result predictable for handoffs, but changing row order can change alignment gaps, remaining space, and fit.
Can I use the result directly in production?
Use it as a planning artifact first. Check IP address management records, routing policy, DHCP scopes, firewall objects, cloud subnet limits, and device support before deployment.
When should I use point-to-point /31 mode?
Use it only for a two-endpoint link where both sides support RFC 3021 addressing. Keep LAN or VLAN mode for ordinary user, server, wireless, and management subnets.
Glossary:
- Broadcast address
- The highest address in an ordinary IPv4 subnet, reserved for broadcast meaning rather than host assignment.
- CIDR
- Classless Inter-domain Routing, a notation and routing method that describes IPv4 blocks by prefix length.
- Deployable hosts
- Usable hosts minus reserve headroom.
- Gateway offset
- The selected usable-address position used for a suggested gateway address inside each planned subnet.
- Wildcard mask
- The inverse of the subnet mask, commonly seen in routing and access-list contexts.