Disclosure up front: I run IPYE, a company that leases IP space. This is a practical how-to, and IPYE comes up where it helps, with a short call to action at the end.
A pool of 1,000 addresses sounds like more capacity than 250. But if all 1,000 sit in four adjacent /24s announced by one ASN, many anti-bot systems see them as four clients, or one. Sites and reputation services group addresses at several levels, and the grouping decides how your traffic is judged. This guide explains those levels and how to plan diversity sensibly, using leased /24s from IPYE. The examples use the documentation prefixes 198.51.100.0/24 and 203.0.113.0/24.
Levels of aggregation
Systems that judge traffic commonly group by:
- Single IPv4 address: basic rate limits.
- /24: the smallest routable IPv4 block. Many reputation systems and blocklists track and score whole /24s, because abusers often control entire blocks.
- Announced prefix: what appears in BGP, for example a /22.
- ASN: the network originating the prefix. Some systems apply ASN-wide policies, especially to hosting ASNs.
- For IPv6, /64 and wider: as discussed elsewhere, the address alone means little.
A block at a higher level overrides all the addresses below it.
What this means for planning
- Per-address rate limits spread nicely across a large pool.
- Per-/24 reputation means 256 addresses share one fate. A burst of bad behaviour from a few addresses can affect the whole /24.
- ASN-level policies affect every prefix you announce from that ASN.
So the useful questions are how many /24s you have, how they're split across jobs, and how your behaviour looks at the /24 level. "How many IPs?" matters much less.
Plan diversity by purpose, not to evade
The legitimate reason for multiple /24s is isolation. One job's problems shouldn't affect another, and production services shouldn't share reputation with crawlers.
- One /24 per class of traffic: crawler A, crawler B, customer proxies, internal tools.
- Locations per region: each /24 announced from one location, with geolocation matching.
- Production separate: your websites and mail never share a /24 with scraping.
Using more /24s to keep hitting a site that has blocked you isn't diversity. It's evasion, and it tends to end with blocks at the ASN level that affect everything.
Measure at the right level
In monitoring, aggregate block rates per /24 as well as per address:
sum by (subnet) (rate(scrape_requests_total{outcome=~"blocked|captcha"}[1h])) where subnet is a label you add, such as 198.51.100.0/24. If one /24's block rate rises across many sites, look at the traffic from that /24 as a whole.
Contiguous vs separate blocks
- One /22 (four contiguous /24s): one announcement and simple routing. Reputation systems may group the whole /22, especially once they see it announced as one prefix.
- Separate /24s: independent announcements and better isolation between jobs.
For isolation, separate /24s usually work better. For a single job that needs many addresses, a /22 is simpler.
Keep each /24's behaviour consistent
A /24 that sends polite crawler traffic one week and aggressive bursts the next gets scored on its worst behaviour. Assign each /24 a role and keep it there.
Getting separate blocks
IPYE leases IPv4 from /24 to /22, in several US and European locations, each with a LOA, a ROA and reverse DNS. You can lease separate /24s for each class of traffic.
Next step
Map your traffic classes to /24s, add a subnet label to your metrics, and set up the blocks you need in the IPYE portal.
About IPYE
IPYE leases IPv4, IPv6 and ASN space with instant setup. Your first IPv6 /48 is free for the first year, a real allocation you can announce on your own ASN, with a LOA from the portal and the ROA created automatically. IPv4 /24 to /22 leases include LOA, ROA and per-/24 rDNS, and ASN and region changes apply automatically. Locations: Los Angeles, New York, Ashburn, Salt Lake City, London, Amsterdam, Frankfurt. More at ipye.com. Questions: ipye@turnel.com.
Disclosure: I run IPYE
