Skip to tool
ecech.
🌐 Network & IP

CIDR Overlap Checker That Tells Containment Apart From a Real Conflict

10.0.0.0/8 and 10.1.0.0/16 look unrelated and one sits entirely inside the other. Paste a list and see which blocks collide, and which merely contain another.

Blocks

Overlapping pairs

Addresses covered

counted once

Findings

Advertisement

How the calculation works

These look like different networks. One is inside the other. 10.0.0.0/8 16,777,216 addresses — 10.0.0.0 to 10.255.255.255 10.1.0.0/16 65,536 addresses — entirely within the block above Containment is deliberate in routing and accidental in firewall lists. The tool says which pairs, you decide which.

How to Use This Tool

Paste your blocks, one per line. Every overlapping pair is listed with the relationship between them, so you can tell an intentional override from a real mistake.

Overlap is not automatically wrong

Routers resolve overlapping routes by longest-prefix match: the most specific block that matches an address wins. That is a feature. A default route of 0.0.0.0/0 overlaps everything by design, and a /24 deliberately carved out of a /16 is how you send one subnet somewhere different.

The overlap becomes a problem in three situations, and the tool distinguishes them:

  • Containment you did not intend. The narrower block silently takes precedence, so a rule you thought applied to the whole range applies only to the part outside it.
  • Partial overlap — two blocks share addresses without either containing the other. In practice this cannot happen with well-formed CIDR, which is why seeing it means one entry is malformed or was written as a host address rather than a network.
  • Duplicates. The same block appearing twice, sometimes written differently, which usually means two people added the same rule and neither knows the other exists.

The host-address mistake

10.1.2.3/24 is not a block starting at .3. The prefix length fixes the first 24 bits, so the block is 10.1.2.0/24 and the .3 is discarded. Most tools accept this silently and you end up reasoning about a network that starts somewhere other than where you typed. This checker normalises it and tells you it did.

What a host address does when you give it a prefix 10.1.2.3/24 10.1.2.0/24 the .3 is discarded 10.1.2.3/32 10.1.2.3/32 /32 keeps every bit If you meant one host, the prefix has to be /32. Anything shorter widens it.
The prefix length decides how much of the address survives.

Where this bites in practice

The common real-world case is connecting two networks — a VPN, a VPC peering, a site-to-site link — where both sides use a private range from the same block. Two networks that both chose 10.0.0.0/16 cannot be routed to each other, and the conflict is only discovered at the point of connection. Checking the address plans against each other first is cheaper than renumbering one of them afterwards.

Advertisement

Frequently Asked Questions

Is it a problem if my CIDR blocks overlap?
Not always. Routers use longest-prefix match, so a more specific block deliberately overriding a broader one is normal and is how most routing works. It is a problem when the containment was not intended, because the narrower block silently takes precedence over part of the wider one.
Why do 10.0.0.0/8 and 10.1.0.0/16 overlap?
Because /8 fixes only the first octet, so 10.0.0.0/8 covers everything from 10.0.0.0 to 10.255.255.255 — over sixteen million addresses, including all of 10.1.0.0/16. CIDR notation makes this hard to see because the two look like unrelated networks.
What does 10.1.2.3/24 actually mean?
The block 10.1.2.0/24. A /24 fixes the first 24 bits, so the final octet you typed is discarded. If you meant that single host, the prefix has to be /32. Most tools apply this silently; this one normalises the entry and tells you it did.
Can two CIDR blocks partially overlap?
With well-formed CIDR, no — any two blocks are either disjoint or one fully contains the other, because block boundaries are always aligned to powers of two. If a partial overlap appears, one of the entries is malformed, which is why it is worth flagging rather than ignoring.
Why do VPN or VPC connections fail with overlapping ranges?
Because both sides cannot route to the same address space. If two networks each use 10.0.0.0/16, an address in that range is ambiguous once they are joined. The conflict usually surfaces only at connection time, so comparing address plans in advance saves renumbering one network later.
Does this check IPv6 blocks?
Not currently — it handles IPv4. The same containment logic applies to IPv6, but the address space is large enough that overlapping allocations are far less common in practice.

Related tools in Network & IP

Browse all Network & IP tools
The person who builds ecech., at the desk where the tools are written.

Made by one person

ecech. is not a content farm. Every tool here is written and checked by hand, one at a time, by someone who wanted the tool to exist and could not find a version that showed its working.

No accounts and no sign-in, and nothing you type reaches a server — every calculation on this page runs inside your browser. The ads are served by Google and do set their own cookies, which is set out in full on the privacy page. More about the site.