What it is used for

CIDR describes a whole block of addresses without listing each one. It underlies firewall rules, allowlists, and internal network segmentation.

A /24 network in IPv4 gives 256 total addresses, while a /30 only gives 4, with 2 usable for hosts.