CALCULATE / IP60BPS / MODULE

IPV6 PREFIX COMPARE

Compare two IPv6 CIDR prefixes with exact 128-bit arithmetic and inspect containment, intersection and their smallest common prefix.

ADVERTISEMENT
128-BIT PREFIX RELATIONSHIPLOCAL
EXAMPLES
NETWORK A——
NETWORK B——
RELATIONSHIP—Canonical prefix relation
INTERSECTION——
COMMON PREFIX—Smallest CIDR covering both
HOST BITS—Common-prefix host bits

This compares IPv6 prefix math only. It does not inspect live routes, BGP announcements, ownership or reachability.

ADVERTISEMENT
RESULT / EXPLAINED

Exact address math, with operational claims kept separate.

The network-planning tools perform deterministic IPv4/IPv6 arithmetic locally. They describe address-space relationships, not whether a network is deployed correctly.

ANSWER

What is exact

Network boundaries, containment, ranges, prefix lengths, masks and exact aggregation/splitting results come from deterministic address arithmetic.

INTERPRET

Canonical output

Normalized network values remove host bits where appropriate. Containment means one calculated address range fully includes another; overlap means ranges intersect.

BOUNDARY

No live network validation

The browser does not confirm routing tables, VLANs, DHCP, firewall rules, ownership, reachability or whether the calculated prefix is appropriate for your deployment.

NEXT CHECK

Before deployment

Use the arithmetic result as a planning input, then verify it against the real network design, routing/firewall policy and authoritative address allocation.

0BPS SHOWS MEASURED OR CALCULATED FACTS SEPARATELY FROM INTERPRETATION. WHERE A RESULT IS ADVISORY, ESTIMATED OR DESTINATION-SPECIFIC, THE LIMIT IS STATED IN THE TOOL.

REFERENCE / FAQ

COMMON QUESTIONS

Can one IPv6 prefix contain another?

Yes. IPv6 CIDR prefixes are hierarchical. A shorter aligned prefix can contain a longer prefix when the longer network falls inside its address range.

Does this compare live IPv6 routing?

No. The module performs exact 128-bit prefix arithmetic locally in your browser. It does not test reachability, routing tables or ownership.

Why is BigInt used?

IPv6 addresses are 128 bits wide, so BigInt preserves exact address and prefix boundaries without floating-point precision loss.

PREFIX RELATIONSHIP

Two canonical IPv6 CIDRs can be equal, nested or disjoint. The comparison uses exact 128-bit integer boundaries.

COMMON PREFIX

The smallest common prefix covers both complete input networks and can be broader than either input when they are disjoint.

PRACTICAL / EXAMPLES

PUT THE NUMBER IN CONTEXT.

Short examples using the same units and assumptions as this module.

2001:db8::/32 VS 2001:db8:1::/48

The /32 contains the /48 because every address in the longer prefix falls inside the broader documentation prefix.

2001:db8:1::/48 VS 2001:db8:2::/48

The two /48 networks are disjoint but share a broader common prefix.