CIDR Overlap Checker

Detect overlapping address space across lists or tenants.

Conflict detect Tenant safety Policy guard

Review

Compare two lists to avoid routing conflicts.

List A List B Overlap

What This Tool Does

This page checks two lists of CIDR blocks for overlap without changing the existing form, report selector, or result card layout. It is designed for situations where a simple two subnet comparison is not enough and you need to validate larger planned or inherited address lists.

Inputs explained

Paste one CIDR per line into list A and list B. The report mode changes how much detail you want to see, while the owner field helps label the comparison in operational workflows.

How it works

Each CIDR is converted into a numeric start and end boundary, then every relevant range is compared for containment or intersection. The result is technical overlap analysis, not a business judgment about whether the conflict matters in your environment.

Step-by-Step Example

If list A contains 10.0.0.0/24 and list B contains 10.0.0.0/25, the result should report containment because the smaller prefix fits inside the larger one. If list B instead contains 10.0.1.0/24, the result should show no overlap.

Use Cases

Use this page for tenant isolation reviews, mergers, VPN integration, cloud migration planning, and cleaning up address spreadsheets that were assembled by multiple teams.

Assumptions and limitations

The output is strictly mathematical overlap analysis. It does not know whether NAT, VRFs, or policy isolation make a collision acceptable in practice. Use the result as evidence, then apply your environment rules separately.

Frequently Asked Questions

How do I check if two CIDR ranges overlap?

To check whether two CIDR blocks overlap, compare their first and last IP addresses. If any part of the address ranges intersects, they overlap. For example, 192.168.1.0/24 overlaps with 192.168.1.128/25 because the /25 is inside the /24. But 192.168.1.0/25 and 192.168.1.128/25 do not overlap; they are adjacent. This check is important before assigning VLAN subnets, adding firewall rules, or migrating routes. A clean overlap result prevents duplicate addressing problems that can be painful to trace later.

Do these subnets conflict with each other?

A CIDR block is inside another block when every address in the smaller block fits within the larger block's range. For example, 10.10.10.64/26 is inside 10.10.10.0/24. The /26 has fewer addresses and a longer prefix length, so it is more specific. Do not judge this only by the first few octets, because boundaries matter. The calculator should show containment clearly. In real work, this helps verify whether a planned subnet belongs to the approved site, VRF, cloud VPC, or summarization range.

How do I find overlapping IP ranges?

Overlapping CIDR ranges are risky because two parts of the network may believe they own the same addresses. That can break routing, NAT, VPN tunnels, firewall rules, and troubleshooting. For example, if a branch office and a cloud VPC both use 10.0.1.0/24, a VPN route may not know where traffic should go. Overlap is also a common problem during mergers and cloud migrations. Check overlap early, before building tunnels or ACLs, because fixing the addressing plan later is usually more disruptive.

How can I compare VPC CIDR overlap?

To find the shared address range between CIDRs, convert each CIDR to a start IP and end IP, then take the later start address and the earlier end address. If the later start is less than or equal to the earlier end, that interval is the overlap. For example, if one range ends at .255 and the other starts at .128, the shared part begins at .128. A calculator does this quickly, but the logic is worth learning because it explains why some ranges touch but do not actually overlap.

Can two CIDR blocks share addresses?

Overlap checking is very useful for firewall rules because broad rules can silently include addresses covered by another rule. If two CIDRs overlap, rule order and device behavior may decide which policy wins. For example, a deny rule for 10.1.0.0/16 and an allow rule for 10.1.5.0/24 need careful ordering on many platforms. Before cleanup, compare the CIDRs, identify shared ranges, and document the intended policy. This avoids the common mistake of deleting a rule that looked duplicate but had a specific security purpose.

How do I detect duplicate subnet allocations?

Overlapping CIDRs can cause routing conflicts, but the exact effect depends on the routing table. Routers use longest-prefix match, so a more-specific prefix usually wins over a broader one. For example, 10.0.0.0/8 and 10.1.2.0/24 can coexist, and traffic to 10.1.2.10 follows the /24 route. The problem starts when the overlap is accidental or points to the wrong next hop. In VPNs, clouds, and multi-site networks, overlapping private ranges often create unreachable hosts or asymmetric paths.

How do I check an AWS VPC CIDR conflict?

Before assigning a new subnet, check it against the existing IP plan, routing table, DHCP scopes, VPN ranges, and cloud networks. Enter the proposed CIDR and compare it with current allocations. If the tool shows overlap or containment, stop and review before deployment. A subnet may look free in one spreadsheet but already be used in another site or tunnel. A useful practice is to record network address, mask, gateway, VLAN, location, and owner so future overlap checks are not guesswork. That small habit saves time.

Related Tools

Compare IPv4 Subnets

Check one IPv4 pair at a time with more focused detail.

IPv6 Compare

Review overlap relationships for IPv6 prefixes.

IPv4 Range to CIDR

Convert raw address spans into prefixes before list based comparison.