About this tool
Check whether CIDR blocks or IP ranges overlap before VPC peering, VPN setup or merging networks.
This checker tests every pair of IPv4 networks you paste — CIDR blocks, start–end ranges or single addresses — for overlap using the interval-intersection rule (two ranges overlap when each starts at or before the other ends). Each conflict is reported with its exact intersecting range, its size in addresses, and whether the relationship is identical, containment or partial overlap. It is built for engineers validating address plans before VPC peering, site-to-site VPNs, mergers or new subnet allocations.
Open IP Range Overlap Checker on AltFTool — it loads instantly in your browser.
Paste your code or data sample into the workspace.
Pick the format, conversion, or analysis you need.
Copy the polished result straight back into your project.
CIDR blocks, dash-separated ranges and single IPs can be compared against each other in one run.
Every conflict shows the precise overlapping range and address count, not just a yes/no.
Results distinguish identical blocks, full containment and partial overlap — each needs a different fix.
Convert each block to its first and last address, then test whether each range starts at or before the other ends: A.start <= B.end AND B.start <= A.end. For example 10.0.0.0/24 (10.0.0.0–10.0.0.255) and 10.0.0.128/25 (10.0.0.128–10.0.0.255) overlap, and the /24 fully contains the /25.
Routing becomes ambiguous: a packet to 10.0.1.5 cannot be attributed to one side when both networks claim 10.0.0.0/16. AWS, Azure and GCP all reject peering connections between VPCs with overlapping address space, so the fix is re-addressing one side or inserting NAT.
No. 10.0.0.0/24 ends at 10.0.0.255 and 10.0.1.0/24 starts at 10.0.1.0, so they touch but share no addresses. Adjacency is actually desirable — two adjacent /24s that align on a /23 boundary can later be summarised as one 10.0.0.0/23 route.
Containment means one range holds every address of the other (10.0.0.0/16 contains 10.0.5.0/24) — often intentional in hierarchical plans but fatal for peering. Partial overlap means each range has addresses the other lacks, which is almost always an allocation mistake. This tool labels each conflicting pair accordingly.