The Physics-Blind Nature of BGP Selection
AS_PATH, origin type, lowest Multi-Exit Discriminator (MED), eBGP over iBGP, and lowest IGP metric to the BGP next hop.
Notice what is absent: geographic proximity. If an enterprise or transit provider announces an IP prefix to an Internet Exchange Point (IXP) in Frankfurt (AS_PATH: 1) and to a local cross-connect in Nairobi (AS_PATH: 1), BGP treats both paths as topologically equivalent. If the cloud provider's internal routing policies favor cold-potato routing—carrying traffic across their own private global backbone as far as possible before offloading it—the packet will cruise across the ocean on the provider's transcontinental links and dump into the transit network in Europe, rather than handing it off locally.
Conversely, hot-potato routing by client access networks produces the same stretch. Many regional ISPs and mid-market transit networks avoid paying for local private network interconnects (PNIs) or ports at regional exchange points. Instead, they rely on existing Indefeasible Rights of Use (IRU) long-haul fiber contracts to dump all traffic at mega-IXPs in Amsterdam, London, or Northern Virginia. The resulting path traverses thousands of kilometers of unmonitored intermediary glass, directly contradicting architectural diagrams.
Sovereignty Hazards in Continental Detours
Engineering Deterministic Egress with Scoped Communities
TEXT
# FRRouting / Edge Router configuration
# Tag outbound prefixes to restrict advertisement within the local cloud region
route-map CLOUD_EGRESS_OUT permit 10
match ip address prefix-list REGIONAL_SUBNETS
set community 7224:9100 # Example: AWS local-region only scope
set metric 50
route-map CLOUD_EGRESS_OUT permit 20
match ip address prefix-list REGIONAL_SUBNETS
set community 7224:9300 # Fallback: Continental scope with high MED
set metric 200local-preference must be degraded below the score of the regional link, preventing the internal core from selecting a stretched long-haul route simply because an IGP cost tie-break failed.
TEXT
# Demote non-local transit routes arriving via foreign points of presence
route-map BGP_IMPORT permit 10
match community REGIONAL_COMMUNITY
set local-preference 200
route-map BGP_IMPORT permit 20
set local-preference 50Validating the Border: Active Egress Telemetry
- Continuous Traceroute Campaigns: Standard pings only show RTT changes, which can be disguised by asymmetric routing. Run Paris traceroute or scamper instances inside the cloud VPC targeting your edge endpoints. Parse the returned ICMP Time Exceeded IP addresses against geolocation databases (such as MaxMind GeoLite2 or IP2Location) and PeeringDB facility records.
- RTT-Based Boundary Alarms: Calculate baseline RTT using the speed of light in fiber (≈ 5 μs per kilometer of distance traveled). If the baseline round-trip between your cloud VPC and your on-premises data center is 8 ms, an elevation to 65 ms indicates that the traffic path has stretched out of the metropolitan envelope and into an external peering loop.
- Flow Log ASN Audits: Ingest AWS VPC Flow Logs or GCP Packet Mirroring metadata into your telemetry pipeline. Alert immediately if the
egress_interfaceor next-hop ASN changes from your local interconnect to a public transit provider's autonomous system.
