What Is CIDR Notation?
Updated Date:
What is CIDR notation?
CIDR (Classless Inter-Domain Routing) is a standard format used to represent a range of IP addresses in a single, compact line.
Think of it as shorthand for defining a whole "street" or "neighborhood" of IP addresses, rather than just a single "house."
How to Read CIDR Notation
Let’s break down a common example: 123.45.67.0/24
This notation has two parts:
The IP address (
123.45.67.0): The starting address of the block. It tells you where the IP range begins.The suffix (
/24): Called the prefix length, it sets the size of the block. A smaller number means a larger block of IP addresses.
Here’s a quick guide to some common suffixes:
| CIDR suffix | Number of IP addresses in the range |
|---|---|
| /32 | 1 (a single IP address) |
| /27 | 32 |
| /24 | 256 |
| /16 | 65,536 |
Why This Matters for Your Protection
Using CIDR notation is critical for efficiently managing the IP exclusion limit in Google Ads.
Instead of using up 256 of your valuable exclusion slots to block 256 individual fraudulent IPs, we can use just one slot by blocking their entire /24 range.
This gives our system a broader and more durable defense against large-scale botnets and malicious data center networks. In short, CIDR is the technical language we use to block entire bad neighborhoods on the internet, not just individual bad actors.