BGP Global Statistics
Explore the global BGP routing table: IPv4/IPv6 prefix counts, top transit providers, growth trends, and per-ASN prefix statistics.
Advertisement · Anuncio
Advertisement · Anuncio
The global BGP routing table — sometimes called the Default-Free Zone (DFZ) — contains every publicly routable IP prefix on the internet. As of 2024, it holds over 900,000 IPv4 prefixes and 200,000 IPv6 prefixes, growing steadily each year.
Key Metrics
- IPv4 Prefixes: The number of distinct CIDR blocks announced via BGP globally. Growth is driven by deaggregation and new allocations.
- IPv6 Prefixes: Growing faster than IPv4 as organizations deploy dual-stack networks and IPv4 exhaustion accelerates IPv6 adoption.
- Active ASNs: Unique Autonomous System Numbers actively originating or transiting BGP routes. Each ASN represents a distinct routing policy domain.
- Avg AS-PATH: Average number of ASN hops a packet traverses from origin to destination, reflecting internet topology depth.
Top Transit Providers
Tier-1 networks like Lumen (CenturyLink), NTT, Telia, and GTT form the backbone of the internet, providing transit to thousands of downstream ASNs. They peer with each other settlement-free and collectively carry a significant portion of global internet traffic.
Expert guide · BGP Global Statistics
What it does
BGP Global Statistics puts a single network in the context of the whole routing system. The top cards and the transit-provider ranking are a reference snapshot maintained by the site, covering the approximate size of the IPv4 and IPv6 tables, the number of active ASNs, year-over-year growth and average AS-path length. The ASN lookup is live: it queries RIPEstat for the AS holder name and counts the IPv4 and IPv6 prefixes the AS currently originates.
Why it matters
- Router sizing: A device bought today must hold the full IPv4 and IPv6 tables in its FIB for years of growth, and running out of hardware space causes silent drops or crashes.
- Contribution to table bloat: Comparing your own prefix count with networks of similar size shows whether you deaggregate far more than necessary.
- Vendor evaluation: Knowing that a transit provider sits near the top of the ecosystem helps frame questions about its customer cone, peering and redundancy.
- Capacity planning for route servers and collectors: Anyone running BGP infrastructure needs realistic numbers for memory and convergence time.
- Communicating risk: Table size milestones have caused real outages, and leadership understands a concrete number better than an abstract warning.
How to read the results
- IPv4 and IPv6 Prefixes: Approximate number of routes in the default-free zone from the reference snapshot; check a live table or a regular routing report for exact current values.
- Active ASNs: Approximate number of autonomous systems visible in the global table, which is lower than the total ever assigned by the RIRs.
- IPv4 and IPv6 Growth: Year-over-year percentage increase in routes; IPv6 grows faster in relative terms because it starts from a smaller base.
- Avg AS-PATH: Average number of AS hops between a vantage point and a destination, a rough measure of how flat the Internet has become.
- Top Transit Providers: An illustrative ranking of large transit networks with approximate route counts, not a live measurement.
- ASN stats (live): Holder name from RIPEstat and the current count of IPv4, IPv6 and total prefixes that AS originates.
Technical background
The default-free zone is the set of routers that carry a full Internet routing table and no default route. Its size has grown almost every year since BGP-4 (today specified in RFC 4271) became the Internet's interdomain protocol. In August 2014 the IPv4 table crossed 512,000 routes, the default size of the hardware forwarding tables on several widely deployed router line cards, and some networks suffered outages until they reallocated TCAM space; operators still refer to it as 512k day. The IPv4 table has since grown toward one million routes, and the IPv6 table has passed two hundred thousand, with the relative growth rate of IPv6 well above that of IPv4.
Two forces drive IPv4 growth after exhaustion. First, the transfer market fragments space into small blocks, and the /24 is the smallest unit that can be routed globally, so each sold or leased /24 tends to become a separate route. Second, networks deaggregate for traffic engineering and for protection against more-specific hijacks. Both are rational for the individual network and costly for the system. The CIDR Report and similar long-running analyses list, for every AS, how many routes it could save by aggregating, and the same networks often appear near the top of those lists for years.
The number of ASNs in the table, in the high tens of thousands, tells a similar story of decentralization: every enterprise, university and regional ISP that multihomes adds one. The total assigned by the RIRs is considerably higher because many registered ASNs are not announced. Meanwhile the average AS-path length has stayed around four hops and drifted downward as large content and cloud networks peer directly with access networks at exchanges, flattening the old hierarchy of tier-1 carriers at the top.
The practical consequences are concrete. A router that takes full tables needs FIB space for both families plus headroom, and its control plane needs memory for the RIB and for every additional full-feed session. Convergence after a session reset scales with table size. Many enterprises therefore accept only default routes or partial tables from their providers.
For a single network, a prefix count reveals strategy: an ISP announcing hundreds of IPv4 routes and one IPv6 /32 probably carries legacy or acquired space and deaggregates for traffic engineering. Comparing the live counts for your ASN with networks of similar size and region is a quick way to see whether your announcements are proportionate.
Common errors and how to fix them
- Problem Buying edge routers sized for today's table without headroom.
- Fix Size FIB capacity for both the current IPv4 and IPv6 tables plus several years of growth, and check how the vendor partitions TCAM between families and other features such as ACLs.
- Problem Taking multiple full tables on a small router that only needs to reach two providers.
- Fix Accept a default route plus each provider's customer routes, or a partial table, and keep full tables only on routers that make per-destination decisions.
- Problem Announcing every /24 of a large block when a few aggregates would do.
- Fix Announce aggregates and add more-specifics only where traffic engineering or protection requires them; review your entry in aggregation reports periodically.
- Problem Treating the reference figures on this page as exact current values in reports.
- Fix Use them for scale and trends only, and cite a live table, a routing report or your own router's counts with a date when you need precise numbers.
- Problem Ignoring growth in IPv6 route count because the absolute number is smaller.
- Fix Plan IPv6 FIB space explicitly; on many platforms each IPv6 route consumes more hardware resources than an IPv4 route, so the effective share is larger than the raw count suggests.
Do it from the command line
macOS
# Holder and announcement status for an ASN
curl -s "https://stat.ripe.net/data/as-overview/data.json?resource=AS3356" | python3 -m json.tool | grep -E 'holder|announced'
# Count prefixes it originates
curl -s "https://stat.ripe.net/data/announced-prefixes/data.json?resource=AS3356" | grep -o '"prefix"' | wc -lWindows
# Prefixes originated by an ASN, split by family
$p = (Invoke-RestMethod "https://stat.ripe.net/data/announced-prefixes/data.json?resource=AS6939").data.prefixes.prefix
"IPv4: $(($p | Where-Object { $_ -notmatch ':' }).Count) IPv6: $(($p | Where-Object { $_ -match ':' }).Count)"Linux
# Table size on a Linux router running BIRD
birdc show route count
# Same on FRRouting
vtysh -c 'show ip bgp summary' -c 'show bgp ipv6 unicast summary'
# Routes per family as seen by RIS for a country
curl -s "https://stat.ripe.net/data/country-routing-stats/data.json?resource=AR" | jq '.data.stats[-1]'Frequently asked questions
How big is the global BGP routing table?
The IPv4 table has grown toward roughly one million routes, and the IPv6 table has passed two hundred thousand, with exact numbers varying slightly by vantage point because each network sees a different set of more-specifics. Both keep growing every year, IPv4 mainly through fragmentation of transferred space and IPv6 through new deployments. Check a live router or routing report for the current figure.
What was 512k day?
On 12 August 2014 the IPv4 routing table briefly exceeded 512,000 routes. Several popular router platforms reserved exactly that much hardware forwarding space for IPv4 by default, so when the table crossed the threshold they could not install new routes, causing outages at some providers. It became a lesson in planning FIB capacity ahead of table growth rather than reacting after.
Why does the IPv4 table keep growing if there are no more IPv4 addresses?
Because existing space keeps being divided. Blocks sold or leased on the transfer market are often split into /24s, each announced separately by its new user, and networks deaggregate to steer traffic or protect against hijacks. The total address space does not grow, but the number of routes describing it does, which is why table growth continued after exhaustion.
What does average AS-path length tell me?
It measures how many networks a route typically crosses between source and destination. Values around four have remained stable for years and have tended to fall as large content networks peer directly with eyeball networks at exchanges. A shorter path usually means fewer intermediaries and lower latency, although path length in BGP says nothing about physical distance.
Do I need a full routing table?
Only if you need to choose the best provider per destination. A multihomed enterprise with two upstreams often does fine with default routes plus each provider's customer routes, which require far less memory. ISPs that sell transit, operate many upstreams or do detailed traffic engineering need full tables on their border routers.