OpsPane

Paste labeled IPv4 or IPv6 CIDRs to find every overlap and containment, the merged summary routes, host-bit fixes and private or public ranges.

IPv4 and IPv6, with an optional label before or after each block, e.g. prod-vpc 10.0.0.0/16 or vpc-v6 2001:db8::/56. A bare address counts as /32 or /128; # starts a comment.

Examples:

8 ranges · 3 overlapping pairs · 1 fix available

Overlaps

  • prod-vpc (10.0.0.0/16) contains peered-vpc (10.0.64.0/18)

    10.0.64.0/18 · 10.0.64.0 – 10.0.127.255 · 16,384 addresses

  • staging-vpc (10.1.0.0/16) contains vpn-clients (10.1.4.0/24)

    10.1.4.0/24 · 10.1.4.0 – 10.1.4.255 · 256 addresses

  • on-prem (192.168.0.0/16) and calico-pods (192.168.0.0/16) are the same block

    192.168.0.0/16 · 192.168.0.0 – 192.168.255.255 · 65,536 addresses

Number line, one per address family — each separate group of addresses gets equal width and the gaps between groups are collapsed (dashed). Red bars overlap another block.
prod-vpc 10.0.0.0/16
peered-vpc 10.0.64.0/18
staging-vpc 10.1.0.0/16
vpn-clients 10.1.4.0/24
on-prem 192.168.0.0/16
calico-pods 192.168.0.0/16
k8s-services 10.96.0.0/12
docker0 172.17.0.0/16

LabelCIDRFirst – lastAddressesTypeNote
prod-vpc10.0.0.0/1610.0.0.0 – 10.0.255.25565,536Private · RFC 1918Overlaps another block
peered-vpc10.0.64.0/1810.0.64.0 – 10.0.127.25516,384Private · RFC 1918Overlaps another block
staging-vpc10.1.0.0/1610.1.0.0 – 10.1.255.25565,536Private · RFC 1918Overlaps another block
vpn-clients10.1.4.0/2410.1.4.0 – 10.1.4.255256Private · RFC 1918Overlaps another block · Typed 10.1.4.7/24 — host bits set
on-prem192.168.0.0/16192.168.0.0 – 192.168.255.25565,536Private · RFC 1918Overlaps another block
calico-pods192.168.0.0/16192.168.0.0 – 192.168.255.25565,536Private · RFC 1918Overlaps another block
k8s-services10.96.0.0/1210.96.0.0 – 10.111.255.2551,048,576Private · RFC 1918
docker0172.17.0.0/16172.17.0.0 – 172.17.255.25565,536Private · RFC 1918

Merged summary

4 blocks cover all 1,310,720 unique addresses — 82,176 more are listed twice or more.

  • 10.0.0.0/15
  • 10.96.0.0/12
  • 172.17.0.0/16
  • 192.168.0.0/16
Updated Runs locally in your browser

Quick answer

  • Two CIDR blocks overlap exactly when one contains the other: every block is aligned to its own size, so they never partly overlap.
  • To check, compare the larger block's first and last address with the smaller block: 172.16.0.0/12 runs from 172.16.0.0 to 172.31.255.255, so it contains 172.17.0.0/16 and all 65,536 of its addresses.
  • “Host bits set” means the address is not the start of its block: 10.0.0.1/16 should be written 10.0.0.0/16.
  • An IPv4 block never overlaps an IPv6 one; overlaps are checked within each family.

How to check CIDR blocks for overlaps

  1. Paste one CIDR block per line — VPCs, peered VPCs, on-prem ranges, the Kubernetes Pod and Service CIDRs, docker0, IPv4 or IPv6 — with a label before or after each so the results say which network is which.
  2. Read the overlaps: each pair says whether one block contains the other or both are the same, and gives the shared range and its address count. Red bars on the number line mark every block involved.
  3. Check the table for host bits (10.0.0.1/16), single addresses and the type of each range — private RFC 1918, shared RFC 6598, unique local (ULA), link-local or public — and press Apply fixes to rewrite the list in canonical form.
  4. Copy the merged summary when you need the fewest blocks that cover everything, or copy the link to share the exact list.

Overlaps that keep happening

Default ranges from Docker, kubeadm, EKS, Calico and Flannel against the networks they usually meet — each row computed by the checker's engine:

RangeAgainstRelationOverlapAddresses
docker0 172.17.0.0/16VPC 172.17.0.0/16identical172.17.0.0/1665,536
docker0 172.17.0.0/16On-prem 172.16.0.0/12sits inside172.17.0.0/1665,536
kubeadm Service CIDR 10.96.0.0/12VPC 10.100.0.0/16contains10.100.0.0/1665,536
EKS Service CIDR (default) 10.100.0.0/16Peered VPC 10.100.0.0/16identical10.100.0.0/1665,536
EKS Service CIDR (default) 172.20.0.0/16On-prem 172.16.0.0/12sits inside172.20.0.0/1665,536
Calico pool (default) 192.168.0.0/16Office LAN 192.168.1.0/24contains192.168.1.0/24256
Flannel Pod CIDR 10.244.0.0/16On-prem 10.0.0.0/8sits inside10.244.0.0/1665,536
Pod CIDR (custom networking) 100.64.0.0/16Peered VPC 100.64.0.0/20contains100.64.0.0/204,096

Special-purpose IPv4 ranges

How the checker types each block: the most specific range below that contains it, “public” when none does, and “mixed” when a block straddles one (for example 10.0.0.0/7).

CIDRTypeSourceAddresses
0.0.0.0/8“This network”RFC 79116,777,216
10.0.0.0/8PrivateRFC 191816,777,216
100.64.0.0/10Shared address space (CGNAT)RFC 65984,194,304
127.0.0.0/8LoopbackRFC 112216,777,216
169.254.0.0/16Link-localRFC 392765,536
172.16.0.0/12PrivateRFC 19181,048,576
192.0.0.0/24IETF protocol assignmentsRFC 6890256
192.0.2.0/24Documentation (TEST-NET-1)RFC 5737256
192.168.0.0/16PrivateRFC 191865,536
198.18.0.0/15BenchmarkingRFC 2544131,072
198.51.100.0/24Documentation (TEST-NET-2)RFC 5737256
203.0.113.0/24Documentation (TEST-NET-3)RFC 5737256
224.0.0.0/4MulticastRFC 5771268,435,456
240.0.0.0/4Reserved for future useRFC 1112268,435,456
255.255.255.255/32Limited broadcastRFC 9191

Special-purpose IPv6 ranges

The same rule for IPv6, from the IANA IPv6 Special-Purpose Address Registry plus the multicast and deprecated site-local blocks of the IPv6 address space registry. Outside these, 2000::/3 is global unicast (GUA, “public”) and the rest is reserved by the IETF.

CIDRTypeSourceAddresses
::/128UnspecifiedRFC 42911
::1/128LoopbackRFC 42911
::ffff:0:0/96IPv4-mappedRFC 42912³²
64:ff9b::/96IPv4/IPv6 translation (NAT64)RFC 60522³²
64:ff9b:1::/48Local-use IPv4/IPv6 translationRFC 82152⁸⁰
100::/64Discard-onlyRFC 66662⁶⁴
100:0:0:1::/64Dummy IPv6 prefixRFC 97802⁶⁴
2001::/23IETF protocol assignmentsRFC 29282¹⁰⁵
2001::/32TeredoRFC 43802⁹⁶
2001:1::1/128Port Control Protocol anycastRFC 77231
2001:1::2/128TURN anycastRFC 81551
2001:1::3/128DNS-SD SRP anycastRFC 96651
2001:2::/48BenchmarkingRFC 51802⁸⁰
2001:3::/32AMTRFC 74502⁹⁶
2001:4:112::/48AS112-v6RFC 75352⁸⁰
2001:10::/28Deprecated (formerly ORCHID)RFC 48432¹⁰⁰
2001:20::/28ORCHIDv2RFC 73432¹⁰⁰
2001:30::/28Drone Remote ID (DETs)RFC 93742¹⁰⁰
2001:db8::/32DocumentationRFC 38492⁹⁶
2002::/166to4RFC 30562¹¹²
2620:4f:8000::/48Direct delegation AS112RFC 75342⁸⁰
3fff::/20DocumentationRFC 96372¹⁰⁸
5f00::/16Segment Routing (SRv6) SIDsRFC 96022¹¹²
fc00::/7Unique local (ULA)RFC 41932¹²¹
fe80::/10Link-localRFC 42912¹¹⁸
fec0::/10Site-local (deprecated)RFC 38792¹¹⁸
ff00::/8MulticastRFC 42912¹²⁰

ULA or GUA?

Unique local addresses (fd00::/8, RFC 4193) are IPv6's private space: pick a random 40-bit global ID and the /48 is yours, with almost no chance of colliding with a network you later peer with — unlike 10.0.0.0/8. Global unicast addresses (GUA, 2000::/3) are public and routable; clouds hand them out by default (an Amazon-provided VPC block is a GUA /56), and a firewall, not NAT, keeps them private. fc00::/8, the other half of fc00::/7, has no allocation scheme, so use fd00::/8.

Host bits and canonical blocks

A CIDR's address should be the first address of its block. When it isn't, tools disagree about what you meant — the checker shows the block that the address actually falls in:

TypedCanonical blockAddresses
10.0.0.1/1610.0.0.0/1665,536
192.168.1.130/25192.168.1.128/25128
172.31.255.255/20172.31.240.0/204,096
10.1.4.7/2410.1.4.0/24256
2001:db8:1200:1::7/642001:db8:1200:1::/642⁶⁴
fd00:10:244:1::/48fd00:10:244::/482⁸⁰

Parsing rules

The checker prints every IPv6 block in RFC 5952 canonical form, so the same network always reads the same:

TypedCanonical (RFC 5952)
2001:0DB8:0000:0000:0000:0000:0000:0001/1282001:db8::1/128
2001:db8:0:0:1:0:0:1/1282001:db8::1:0:0:1/128
2001:db8:0:1:1:1:1:1/1282001:db8:0:1:1:1:1:1/128
fd00:0:0:0:0:0:0:0/8fd00::/8
0:0:0:0:0:ffff:c000:0201/128::ffff:192.0.2.1/128

Verification

FAQ

How do I know if two CIDR blocks overlap?

Two CIDR blocks overlap exactly when one contains the other — they can never partly overlap, because every block is aligned to its own size. Compare the larger block's first and last address with the smaller block: 172.16.0.0/12 runs from 172.16.0.0 to 172.31.255.255, so it contains 172.17.0.0/16 and all 65,536 of its addresses.

Why does Docker's 172.17.0.0/16 break VPC connectivity?

docker0, Docker's default bridge, takes 172.17.0.0/16 on every host that runs Docker. The host gets a connected route for that /16 on the bridge, which beats its default route, so packets to VPC addresses in 172.17.x.x outside the host's own subnet go to docker0 instead of the VPC. AWS advises against 172.17.0.0/16 for VPCs because Cloud9 and SageMaker use it; when you can't move the VPC, set Docker's bip and default-address-pools to another range.

Can a Kubernetes Service CIDR overlap a peered VPC?

It shouldn't. EKS warns that when the Service CIDR overlaps a connected VPC, Service IPs take priority and routing to the real hosts becomes unpredictable. EKS picks 10.100.0.0/16 or 172.20.0.0/16 when you don't choose one — so a peered VPC on 10.100.0.0/16 is identical to it, all 65,536 addresses.

What does “host bits set” mean, and how do I fix it?

The address has bits set below the prefix, so it isn't the start of its block: 10.0.0.1/16 should be written 10.0.0.0/16, and 2001:db8:1200:1::7/64 is 2001:db8:1200:1::/64. The AWS API quietly stores the canonical form, which hides typos such as a /24 meant as a /16. The checker shows the canonical block for every such line, and Apply fixes rewrites them in place.

Can I check IPv6 and IPv4 ranges together?

Yes. Paste both in one list: each line is read as IPv4 or IPv6 from its text, overlaps are only reported within a family (an IPv4 block never overlaps an IPv6 one), and the number line and the merged summary are drawn per family. IPv6 addresses are printed in RFC 5952 canonical form — lowercase, leading zeros dropped, the longest run of zero groups as ::.

Is ::ffff:10.0.0.0/104 the same as 10.0.0.0/8?

Not to the checker. ::ffff:0:0/96 is the IPv4-mapped range (RFC 4291): a dual-stack socket API's way to show an IPv4 peer, never an address on the wire. Like Go's net/netip, the checker keeps it an IPv6 block, so it doesn't overlap 10.0.0.0/8 — and it labels the block IPv4-mapped so the mix-up is visible.

Is 100.64.0.0/10 private?

Not in the RFC 1918 sense — it is “Shared address space (CGNAT)” from RFC 6598, meant for carrier-grade NAT, and the checker labels it that way. AWS and Azure both accept it inside a VPC/VNet, and EKS custom networking often uses it for Pods; just make sure no carrier-grade NAT path also routes it.

What is the merged summary for?

It is the fewest CIDR blocks covering exactly the same addresses as your list — a summary route for a route table, firewall or allowlist. 10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/23, 10.0.4.0/22 merge into 10.0.0.0/21. Blocks that touch but don't align stay separate, since a CIDR block must start on a multiple of its size.

Private by design

Your input is processed in this browser tab and never sent to our servers. Privacy policy