Skip to the content
Start free

Network block (/24)

A network block is a group of internet addresses that share the same first part; a /24 is a block of 256 IPv4 addresses that share their first three numbers. Analytics tools cut addresses down to a block so they can group traffic and place it roughly, without keeping the exact address of any one device. In URSY.com, the full address is never stored.

What is a network block? #

Every request to a website comes from an IP address. An IPv4 address has four numbers, such as 203.0.113.57. The block notation, called CIDR, writes a slash and a number after an address. RFC 4632 explains that the number is how many leading bits form the network part. A /24 fixes the first 24 bits, the first three numbers, and leaves 8 bits free. That is 256 addresses: 203.0.113.0 to 203.0.113.255.

What about IPv6? #

IPv6 addresses are 128 bits long, so blocks are bigger. A common unit is the /48, which fixes the first 48 bits. RFC 3177 once recommended a /48 as the default for an end site. RFC 6177 later said a single /48 default “is no longer recommended”, but the /48 is still a familiar size. Cutting an IPv6 address to its first 48 bits removes the part that points to one network inside a site and one device on it.

Why do analytics tools cut addresses? #

Two reasons: privacy and grouping.

  • Privacy. The ICO says the UK GDPR includes online identifiers such as IP addresses, which may be personal data if they can tell one user from another. Keeping less of the address lowers that risk. See UK GDPR.
  • Grouping. A crawler or a company network often uses many addresses in one range. Grouping by block shows them as one source.

Is this how Google Analytics did it? #

Yes, in the old version. Google’s help page says Universal Analytics IP anonymisation set the last octet of IPv4 addresses and the last 80 bits of IPv6 addresses to zeros, in memory, so the full address was never written to disk. That leaves a /24 for IPv4 and the first 48 bits for IPv6. The same page says that in Google Analytics 4, IP addresses are not logged or stored at all. Read Google Analytics 4.

Why does it matter for search and AI bots? #

Bots are checked by address. Google lets you verify Googlebot by matching the address to its published IP ranges, and OpenAI and Anthropic publish address lists for their bots too, such as GPTBot and ClaudeBot. That check needs the full address for a moment. After it, the block is enough to group a crawler’s requests into visits and to see if one range is hammering your site. See verified bots, AI crawler and search crawler.

What can a block still tell you? #

  • Roughly where a request came from, often to a country.
  • Which network sent many requests, for rate limiting or a firewall rule.
  • Whether a famous bot name came from that company’s published range.

What can it not tell you? #

  • Which device or person in the block sent it.
  • Whether two requests from one block came from the same person. Offices, schools, mobile networks and homes share addresses.

Common mistakes #

  • Thinking a block is anonymous by itself. It is less identifying, not nothing. Combine it with little else.
  • Keeping full addresses “just in case”. Old server logs can hold every full address for years. Set a data retention limit.
  • Blocking a whole /24 for one bad request. You may block real people or a real crawler sharing that range. A softer step is a challenge, such as a CAPTCHA or a managed challenge.
  • Treating a block as a person. Many people can share one.
  • Checking a bot after cutting the address. Verify first, then cut. A block is not enough to match a list.

A worked example #

Addresses below are from the ranges set aside for documentation.

Full address (used in memory only) Block kept Addresses in the block
203.0.113.57 203.0.113.0/24 256
203.0.113.201 203.0.113.0/24 (same block) 256
198.51.100.9 198.51.100.0/24 256
2001:db8:4f2a:12:a1b2::7 2001:db8:4f2a::/48 2 to the power of 80

The first two requests group together. Neither full address is written anywhere.

How to check it #

Links marked Pro are in URSY Pro, opening in stages. The rest are free and live today.

  1. Open your server logs. If each line starts with a full address, as the common log format does, decide how long you keep them. Our entries on PECR and cookieless analytics cover the privacy side.
  2. Take a bot address from the log and check it with our free Verify an AI Bot tool before you cut it. Read reverse DNS bot check and user agent.
  3. See which AI bots your rules let in with the free AI Bot Checker and Robots.txt Checker. A block rule in a firewall is stronger than robots.txt, so use it with care. See block AI crawlers.
  4. Check your own site’s headers with the free HTTP Header Checker. If a CDN sits in front, the address your origin sees may be the CDN’s, not the visitor’s.
  5. Group requests by block and look for one range taking a large share. The scraper and flood detector (Pro) does this. Read DDoS attack and bot score.
  6. See every bot check by block in the bot verification log and impostors in the fake bot detector (both Pro). Set allow or block per bot with the bot rules manager (Pro).
  7. Upload a log to the log file analyser (Pro) to see bots by block without keeping the full addresses in the report.
  8. Read countries from blocks in countries and devices (Pro), and count people without cookies in cookie-free analytics (Pro).

What URSY.com counts #

A network block is the first three parts of an IPv4 address (a /24, 256 addresses) or the first 48 bits of IPv6. The full address is never stored. The bot check uses the full address in memory only; then it is cut to the /24 block. A machine visit is the same bot name from the same block, with a new visit after 30 minutes of quiet. Country comes from the CDN’s location of the address. We keep no full IP addresses, do no fingerprinting and set no cookies from the counter. Full rules: how URSY.com counts.

Questions #

Is a /24 the same as a “Class C”? #

In size, yes. RFC 4632 lists /24 as 256 addresses and calls it “legacy Class C”. Classes are no longer used for routing.

Can a network block identify me? #

On its own it points to a range of 256 addresses, not one device. Combined with other data it could narrow things down. That is why our methodology lists what we never keep: full IP addresses, fingerprints, what people type, cookies from the counter and query strings.

Why /48 for IPv6 and not /64? #

Our methodology uses the first 48 bits. That keeps less than a /64 would, and it matches what Universal Analytics kept when it zeroed the last 80 bits.

Does URSY.com’s visitor code use the full address? #

Our methodology says the daily visitor code is made from a random daily secret, the network address and the browser name, as a one-way code that cannot be turned back. The full address is never stored.

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: Network block (/24). URSY. Updated 26 November 2026. https://ursy.com/wiki/network-block/ · Section links

Tools for this

  • LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
  • LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
  • LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
  • LiveSchema Markup CheckerRun the check →
  • ProAI training opt-out managerAllow or block each AI, one switch eachIn URSY Pro →
  • ProBot rules managerAllow / block each bot: robots.txt + firewall rules written for youIn URSY Pro →

All 871 wiki entries, A to Z →