id string | family string | before_cidrs list | after_cidrs list | normalized_before_cidrs list | normalized_after_cidrs list | removed_cidrs list | added_cidrs list | before_count int64 | after_count int64 | removed_count int64 | added_count int64 | smallest_removed string | smallest_added string | interpretation string | limitation string | synthetic bool | address_source string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
same-count-membership-shift-ipv4 | ipv4 | [
"198.51.100.0/25",
"203.0.113.0/26"
] | [
"198.51.100.64/26",
"203.0.113.0/25"
] | [
"198.51.100.0/25",
"203.0.113.0/26"
] | [
"198.51.100.64/26",
"203.0.113.0/25"
] | [
"198.51.100.0/26"
] | [
"203.0.113.64/26"
] | 192 | 192 | 64 | 64 | 198.51.100.0 | 203.0.113.64 | Equal totals can hide changed membership. | Mathematical address-set comparison only; not reachability, routing, firewall behavior, security policy, configuration validity, or change approval. | true | IANA documentation prefixes |
same-count-membership-shift-ipv6 | ipv6 | [
"2001:db8:1::/125"
] | [
"2001:db8:1::/126",
"2001:db8:2::/126"
] | [
"2001:db8:1::/125"
] | [
"2001:db8:1::/126",
"2001:db8:2::/126"
] | [
"2001:db8:1::4/126"
] | [
"2001:db8:2::/126"
] | 8 | 8 | 4 | 4 | 2001:db8:1::4 | 2001:db8:2:: | Equal totals can hide changed membership. | Mathematical address-set comparison only; not reachability, routing, firewall behavior, security policy, configuration validity, or change approval. | true | IANA documentation prefixes |
partial-overlap-shift-ipv4 | ipv4 | [
"192.0.2.0/25"
] | [
"192.0.2.64/26",
"192.0.2.128/26"
] | [
"192.0.2.0/25"
] | [
"192.0.2.64/26",
"192.0.2.128/26"
] | [
"192.0.2.0/26"
] | [
"192.0.2.128/26"
] | 128 | 128 | 64 | 64 | 192.0.2.0 | 192.0.2.128 | Overlapping before/after coverage still has exact removed and added fringes. | Mathematical address-set comparison only; not reachability, routing, firewall behavior, security policy, configuration validity, or change approval. | true | IANA documentation prefixes |
normalized-no-change-ipv6 | ipv6 | [
"2001:db8:3::1/126",
"2001:db8:3::4/126"
] | [
"2001:db8:3::/125"
] | [
"2001:db8:3::/125"
] | [
"2001:db8:3::/125"
] | [] | [] | 8 | 8 | 0 | 0 | null | null | Host-bit normalization and aggregation can yield no set change. | Mathematical address-set comparison only; not reachability, routing, firewall behavior, security policy, configuration validity, or change approval. | true | IANA documentation prefixes |
CIDR Set-Difference Reference Examples
Four small, synthetic JSON Lines examples for checking IPv4 and IPv6 CIDR-list normalization and mathematical set differences.
Each row contains:
before_cidrsandafter_cidrs: input lists;normalized_before_cidrsandnormalized_after_cidrs: collapsed network coverage;- exact minimal
removed_cidrsandadded_cidrs; - before, after, removed and added address counts;
- the smallest removed and added address when nonempty;
- a short interpretation and limitation.
The examples cover equal totals with changed membership in both address families, a partial-overlap shift, and a normalization/aggregation no-change case. All addresses use IANA documentation prefixes. The expected values were calculated with Python's standard-library ipaddress module.
Intended use
Use these rows as readable fixtures for parsers, tutorials, comparison UIs, or independent implementations of CIDR-list set difference. They are synthetic reference examples, not an exhaustive conformance suite or certification.
Limits
These rows compare mathematical address sets only. They do not assess reachability, routing, firewall behavior, security policy, configuration validity, or whether a network change should be applied.
Data and rights
The dataset text and expected results are original synthetic material dedicated under CC0-1.0. The IP ranges are reserved documentation prefixes; no user, production, private, credential, telemetry, or customer data is included.
Optional implementation reference
Yumi Network Set Evidence is one public implementation of before/after CIDR-list comparison. The dataset is self-contained and does not require that implementation.
- Downloads last month
- 12