City-Level Routing Insights: New Method Unlocks BGP Location Communities
Researchers at IIJ’s Research Laboratory and CAIDA have unveiled a groundbreaking method to infer city-level routing information from Border Gateway Protocol (BGP) location communities—a crucial step in understanding the physical geography of internet routing, according to APNIC.
BGP location communities signal where networks peer with each other, but their lack of standardization and documentation has long hindered operators and researchers from interpreting their true geographic meaning. The newly proposed approach leverages spatial correlations between a network prefix’s origin and the router applying the location community for city-level analysis.
Unveiling the Methodology

BGP communities are notoriously opaque, carrying values that can encode location data but cannot be directly decoded. For instance, both 35280:3120 and 1299:37200 are location communities set by different Autonomous Systems (ASes) yet both refer to Singapore. To decode these, researchers relied on techniques like mapping prefixes tagged with these communities to known geographic coordinates from databases like MaxMind. Spatial clustering of prefixes revealed city-level locations, providing an unprecedented way to infer routing behavior.
Using validation datasets, the team successfully inferred 1,482 out of 1,595 community locations, achieving 93% recall. For 80% of these inferences, the results were accurate within 70 kilometers of the ground truth. This marks a significant advance in making undocumented community information accessible.
Market Context: The Need for City-Level Routing Data

Internet routing has typically been studied at the AS-level, focusing on high-level interconnection structures. However, the physical routing behavior—how traffic flows between specific cities—offers deeper insights critical for optimizing interconnection strategies and detecting geography-driven anomalies.
Historically, a lack of standardized tools for analyzing city-level BGP communities has stymied this research. Current internet infrastructure investments, such as metro-based data centers and edge computing deployments, stand to benefit immensely from such granular routing insights.
Additionally, this research builds momentum at a time when geopolitical tensions around internet infrastructure are growing. Understanding how routes traverse specific regions or cities is vital for network security, capacity planning, and compliance with new data localization laws.
Future Challenges and Applications

While the method achieves impressive accuracy, researchers noted limitations, especially in communities where the tagging AS lacked a local presence. In these cases, tagging and origin locations can significantly diverge, complicating assessments. However, such anomalies were found to be valuable in their own right, revealing unique interconnection patterns.
Broader implications of the method include its potential to detect misconfigurations, monitor interconnection health, and study cold-potato or hot-potato routing behaviors at scale. Experts believe this research could lead to breakthroughs in traffic engineering, latency optimization, and internet resiliency planning.
The researchers plan to expand this work by automating the classification of undocumented BGP communities and creating frameworks for operational application. The full paper is available in the ACM Networking Proceedings, with datasets and code accessible on GitHub.
What’s at Stake?

This breakthrough in BGP routing analysis opens the door to addressing longstanding gaps in our understanding of internet geography. With 93% recall and city-level granularity, this research sets a new benchmark, signaling exciting possibilities for telecom operators, researchers, enterprises, and regulators grappling with dynamic routing challenges.
What remains unclear is how quickly such methods can be operationalized and what additional layers of transparency need to be achieved across the internet ecosystem to standardize city-level routing information further. Could this innovation reshape our approach to internet routing altogether?
For more details, visit the original source: APNIC Blog.