Verified: 2026-10-17By Alex Chen (Lead BGP Architect)RFC 4632 & RFC 74548 Min Read

Understanding CIDR Blocks and Subnet Allocation in IP Lookups

An engineering guide to interpreting CIDR prefix notations, routing table boundaries, and hierarchical subnet allocations within IP intelligence lookups.

Quick Answer

In an IP lookup, a CIDR block (such as 198.51.100.0/24 or 2606:4700::/32) identifies the aggregated network prefix announced by the host's Autonomous System across the global BGP routing table. CIDR notation defines the exact routing boundary, allocation hierarchy, and firewall granularity governing that IP.

  • Routing aggregation: Internet backbones route CIDR blocks, never single IP addresses.
  • BGP filter limit: The global Internet drops IPv4 prefixes smaller than /24 and IPv6 prefixes smaller than /48.
  • Reputation radius: Subnet reputation scoring evaluates the surrounding CIDR block to detect neighborhood abuse.

1. The Hierarchical Allocation of CIDR Blocks

IP address allocation follows a strict administrative hierarchy. Understanding this hierarchy allows network engineers to correctly interpret lookup data:

1. IANA (Global Root):Allocates massive /8 IPv4 blocks to Regional Registries.
2. RIR (ARIN, RIPE, APNIC):Allocates /12 to /20 blocks to ISPs and Cloud Providers.
3. Autonomous System (BGP DFZ):Announces /16 to /24 prefixes to global transit providers.
4. End-User Assignment:Customer assigned a /29 static pool or single /32 dynamic host.

2. Allocation Scope and Routing Filter Comparison

Compare the key layers of address blocks encountered during network diagnostics:

Classification of CIDR Blocks across Network Layers
LayerTypical Prefix RangeRoutability ScopeGoverning BodyDiagnostic Meaning
RIR Allocation/8 to /16Administrative RegistryARIN, RIPE, APNIC, LACNIC, AFRINICIdentifies the parent telecommunications carrier
BGP Route Prefix/16 to /24 (IPv4) /32 to /48 (IPv6)Global BGP BackbonesAutonomous System OperatorsThe routing granularity recognized by Tier-1 transit
Carrier CGNAT Pool/10 (100.64.0.0/10)Internal Carrier Core3GPP / ISP Core NetworkIndicates carrier-shared NAT middleboxes
Enterprise Subnet/24 to /28Local Area Network (LAN)Network AdministratorPhysical switch VLAN or office broadcast domain
Host Single Address/32 (IPv4) /128 (IPv6)Host Interface / LoopbackDevice OS KernelThe specific device endpoint being probed

CIDR Block Interpretation Decision Tree


                 [ Queried IP Address (e.g. 198.51.100.42) ]
                                      |
                     +----------------+----------------+
                     |                                 |
           [ BGP Global Routing ]            [ RIR Organization Lease ]
           Announced Prefix: /24 to /19       Allocated Block: /16 to /12
           How backbones route traffic       Legal ownership entity in WHOIS
                     |                                 |
                     +----------------+----------------+
                                      |
                           [ Local LAN DHCP Pool ]
                            /24 to /29 subnet mask
                            Internal broadcast boundary

3. The Global BGP /24 and /48 Routing Boundary

Why do IP lookup tools almost never show BGP prefixes like /25, /28, or /30 for public Internet routing?

The global Internet routing table contains over 950,000 IPv4 prefixes. To prevent memory and CPU exhaustion on backbone routers, Tier-1 carriers enforce RFC 7454 route filtering policies. Any IPv4 announcement longer than /24 and any IPv6 announcement longer than /48 is discarded. Therefore, even if a company owns only a /28 subnet, their upstream ISP must announce the enclosing /24 to the global Internet.

4. Practical Diagnostics: Querying BGP CIDR Announcements

Inspect the live BGP prefix and origin Autonomous System for any IP address:

DNS-based BGP Route Lookup (Team Cymru):dig +short 1.1.1.1.origin.asn.cymru.com TXT
WHOIS Origin Prefix Query:whois -h whois.radb.net "104.28.16.1"
Direct IPinfo ASN and Prefix Probe:curl -s https://ipinfo.io/8.8.8.8/org

Frequently Asked Questions

Why does an IP lookup report both my IP address and a CIDR block?

While your computer uses a single 32-bit IP address, Internet routers do not route individual IP addresses. Instead, routers aggregate millions of IPs into CIDR (Classless Inter-Domain Routing) blocks. An IP lookup shows the specific BGP prefix (e.g., 104.28.16.0/20) under which your IP travels across global Tier-1 transit backbones.

What is the smallest IPv4 CIDR block routable across the global Internet?

The global Default-Free Zone (DFZ) BGP routing table enforces a strict minimum prefix filter of /24 (256 addresses) for IPv4. If an organization attempts to announce a smaller block (such as /25 or /28) to transit providers, Tier-1 and Tier-2 border routers automatically filter and discard the advertisement to prevent routing table explosion.

What is the minimum BGP prefix length for IPv6?

For IPv6, the standard globally accepted minimum BGP routing prefix is /48. Any prefix longer than /48 (such as /56 or /64) is routinely dropped by Tier-1 Internet service providers, ensuring the global IPv6 routing table remains scalable.

How do CIDR blocks affect IP reputation and security firewalls?

Threat intelligence feeds and firewalls often block entire CIDR subnets (e.g., a /24 or /22) rather than single IPs. If an attacker or botnet operates several abusive nodes inside a single /24 block, security appliances may ban the entire subnet, inadvertently affecting legitimate neighbors.

Data & Technical Sources