…
…
This page is a containment validator: is this IPv6 address range fully inside that CIDR block? It’s a fast, low-risk check before you commit changes to firewalls, routing, or IPAM. If you searched for “IPv6 CIDR to Range Calculator” but what you really need is “does this range fit,” this tool is the direct answer.
address/prefix formats.2001:db8::10).2001:db8::ff).2001:db8::/48).Result interpretation tip: if your start is inside but your end is outside, you probably meant a different prefix length (for example /23 instead of /24) or you captured the first address of the next subnet.
A CIDR block represents a contiguous set of addresses. Containment is true when:
In practice, the tool normalizes the CIDR into a network boundary and compares both endpoints against that boundary. If you’re still deciding what the parent CIDR should be (rather than validating it), start with a calculator view like subnet calculator to see network/broadcast/host ranges and block sizes.
2001:db8::10–2001:db8::ff inside 2001:db8::/48Expected: in range (both endpoints sit within the parent block).
10.0.1.0–10.0.1.255 fit inside 10.0.0.0/23?Yes—/23 covers two consecutive /24 blocks.
192.168.1.250–192.168.2.10 inside 192.168.1.0/24Expected: not in range because the end address is in the next /24.
python
import ipaddress
net = ipaddress.ip_network("2001:db8::/48", strict=False)
start = ipaddress.ip_address("2001:db8::10")
end = ipaddress.ip_address("2001:db8::ff")
contained = (start in net) and (end in net) and (int(start) <= int(end))
print("contained:", contained)IPv6 ranges must be ordered. If start > end, the range is invalid./16, /24, /25 mistakes are frequent when copying rules between environments.If you have the opposite requirement—convert a range into the smallest set of CIDR blocks that covers it—that’s a conversion problem, not containment. After converting, run containment checks again to confirm you didn’t accidentally widen the allowed space.
What’s the difference between a CIDR block and an IP range?
CIDR is defined by a prefix (network + /n). A range is defined by a start and end. A CIDR block always maps to one contiguous range; a manually-entered range may not align to subnet boundaries.
What is IPv6 address in CIDR format?
It’s an address written with a prefix length (example: 192.168.1.10/24 or 2001:db8::1/64).
What is 255.255.255.0 in CIDR format?
It is /24.
What is the range of 100.64.0.0/10?
It runs from 100.64.0.0 through 100.127.255.255 (CGNAT space). Use this tool to confirm whether a smaller range is contained within it.
Make everything as simple as possible, but not simpler.
…