CIDR (Classless Inter-Domain Routing)
What is CIDR (Classless Inter-Domain Routing)?
CIDR (RFC 4632) is the slash-notation system -- an address followed by a bit count, like 192.168.1.0/24 -- for sizing and routing IP address blocks, replacing the old fixed address classes. AdminKit's subnet calculator takes any CIDR block and works out its network range, mask and usable host count.
By AdminKit team, Netbase JSC · Updated
CIDR (RFC 4632) replaced the old class-based (A/B/C) system for allocating IP address blocks with a flexible prefix-length notation, written as an address followed by a slash and a bit count (for example 192.168.1.0/24), where the prefix marks how many leading bits identify the network. This lets a block be sized to the number of hosts actually needed instead of only the fixed class sizes, and lets routers summarize many smaller blocks into one advertised route — a practice called supernetting — which is what kept the global routing table from growing unmanageably as the internet scaled. The same slash notation is also used for subnetting within a single organization’s own network, not just for the IANA-managed internet-wide allocations it was built to simplify. A /24 block provides 256 addresses and a /32 is a single host; the lower the prefix number, the larger the block it describes. The notation is built into common tooling too: Python’s standard ipaddress module documentation, for instance, explains that the prefix /24 is equivalent to the netmask 255.255.255.0 in IPv4.
CIDR prefix sizes, quick reference:
- /24 — 256 addresses (254 usable hosts), the common small-office or home subnet size.
- /16 — 65,536 addresses, a typical allocation unit for larger networks.
- /32 — a single host address, with no room for a network or broadcast address.
To check whether one specific address falls inside one or more CIDR blocks — the question a firewall or allowlist rule actually answers — paste it into AdminKit’s IP in CIDR tool, which tests an address against any number of ranges at once, offline.
AdminKit groups cIDR (Classless Inter-Domain Routing) under its IP & network cluster — browse the AdminKit glossary index for other related terms.
Frequently asked questions
How many addresses does a /24 CIDR block provide?
256 addresses total, with 254 usable hosts once the network and broadcast addresses are excluded -- the common small-office or home subnet size.
What replaced CIDR's old class-based (A/B/C) system?
CIDR (RFC 4632) replaced the fixed class-based system with a flexible prefix-length notation -- an address followed by a slash and a bit count -- letting a block be sized to the number of hosts actually needed instead of only the old fixed class sizes.
What does a smaller prefix number mean in CIDR notation?
The lower the prefix number, the larger the block it describes -- a /16 covers 65,536 addresses, while a /32 describes a single host with no room for a network or broadcast address at all.
What is supernetting?
Supernetting is using CIDR's prefix notation to let routers summarize many smaller address blocks into one advertised route, which is what kept the global routing table from growing unmanageably as the internet scaled.