Find missing ranges within a set, optionally constrained by an envelope.
The CIDR Gaps finder identifies the complement of a set of IP ranges, either globally or within a specified envelope. Gaps represent addresses that are not covered by any of the provided CIDR blocks.
Unconstrained Gap Detection (No Envelope):
Envelope-Constrained Gap Detection:
Example - Complete Coverage (No Gaps):
Algorithm:
Practical Applications:
Gap detection is crucial for efficient IP address management. Common scenarios include finding available space in a /16 that's been subdivided into multiple /24s, identifying where new data center racks can be allocated addresses, or discovering unused ranges in legacy network allocations that can be reclaimed for modern use.
Performance Note:
For very large IPv6 envelopes with small allocated blocks, gap calculation can be computationally intensive. The tool optimizes by working with CIDR representations rather than individual addresses whenever possible.