ITEngineeringTools

CIDR Overlap Checker

Compare two IPv4 or IPv6 CIDR lists and identify overlapping, identical or contained address blocks.

Input

Result

How it works

Each CIDR is normalized to its first and last address. Compare pairs within the same address family. The report numbers nonblank rows and limits displayed matches while still counting every matching pair.

Formula

Two closed ranges overlap when first A ≤ last B and first B ≤ last A.

Practical examples

Check a private allocation

Left CIDR list: 10.0.0.0/16
Right CIDR list: 10.0.20.0/24

left contains right

Check duplicate IPv6 blocks

Left CIDR list: 2001:db8::1/64
Right CIDR list: 2001:db8::/64

equal

Verify separation

Left CIDR list: 192.0.2.0/25
Right CIDR list: 192.0.2.128/25

Overlaps: 0

Technical references