CIDRworkbench

NETWORK TOOLKIT / 03

IP Range to CIDRs.

Split, compare, and consolidate address space.

Convert an address range into CIDR blocks for firewall rules or address inventories. Read all result rows together: they cover exactly the range using the fewest blocks, with no extra addresses. /31 and /32 blocks may be needed at either end. Use Subnet Planner to size LAN subnets by host capacity.

Cover Exactly the Addresses You Specify

Enter the first and last address of an inclusive IPv4 or IPv6 range. Read all result rows together: their union covers the requested range with no gaps and no extra addresses, using the fewest CIDR blocks. This is useful when a firewall, allowlist or address inventory accepts CIDRs instead of start and end addresses.

Worked Example: 10.0.0.10 Through 10.0.0.50

These 41 addresses require six aligned blocks:

All rows together cover the inclusive range
CIDRFirst AddressLast AddressAddresses
10.0.0.10/3110.0.0.1010.0.0.112
10.0.0.12/3010.0.0.1210.0.0.154
10.0.0.16/2810.0.0.1610.0.0.3116
10.0.0.32/2810.0.0.3210.0.0.4716
10.0.0.48/3110.0.0.4810.0.0.492
10.0.0.50/3210.0.0.5010.0.0.501

The /31 rows cover two addresses each; the /32 covers the final address. These describe address membership, not recommended LAN sizes. One 10.0.0.0/26 would contain the range, but would also include .0–.9 and .51–.63, so it is not an exact result.

Splitting, Comparing & Summarizing

Split Subnet divides a parent into equal child prefixes. Compare checks containment and overlap. Analyze & Summarize merges only the exact union of pasted CIDRs, including mixed inventories analyzed separately by address family. It does not fill gaps to create a larger supernet.

Use the VLSM Subnet Planner when the goal is enough usable hosts in each LAN. Use the subnet calculator to inspect one block’s mask and address boundaries.