10.0.0.0/24 — the /24 is CIDR notation, the modern way of describing an IP range. It replaces the old “subnet mask” style (255.255.255.0) and appears in every firewall rule, cloud VPC, and routing table.
What the slash means
An IPv4 address is 32 bits. The /n says: the first n bits are the network, the rest are hosts.
/24= first 24 bits network → 8 bits for hosts → 256 addresses (254 usable)./16= 16 host bits → 65,536 addresses./32= a single address.
That’s the whole trick: the smaller the number, the bigger the range.
The powers-of-two ladder
| CIDR | Addresses |
|---|---|
| /24 | 256 |
| /23 | 512 |
| /22 | 1,024 |
| /20 | 4,096 |
| /16 | 65,536 |
| /8 | 16.7 million |
Where CIDR shows up
- Cloud security groups: “allow from
10.0.0.0/16” = allow the whole internal network. - Firewall rules: blocking
203.0.113.0/24blocks one /24 block. - Routing: the entire internet’s routing table is built from CIDR prefixes.
Calculating
The CIDR subnet calculator takes a network like 192.168.1.0/24 and shows the usable range, the broadcast address, and the subnet mask — the three numbers every network task asks for.
The two classic mistakes
- Confusing /24 with “24 addresses” — it’s 256. The slash counts network bits, not hosts.
- Off-by-one ranges: a /24 spans 0–255, so “the last address” is
.255— the broadcast, not a host. Using it for a device produces mysterious failures.
CIDR looks cryptic for about ten minutes. After that, it’s the fastest way to say “this whole block of addresses” — which is exactly why the whole internet uses it.