ISP Postmortem: Fixing Asymmetric IXP Return-Path Packet Loss at DE-CIX

Incident Symptom: 255 KB/s Debian Mirror Downloads & 10% Loss

Incident Trigger: A customer reported agonizingly slow Golang package downloads from the official Debian repository (255 kB/s) alongside roughly 10% packet loss to 1.1.1.1. Based on their observations, the customer suspected packet loss on our DE-CIX peering port and asked us to investigate.

Get:http://deb.debian.org/debian buster/main amd64 golang-1.11-go amd64 1.11.6-1+deb10u3 [41.9 MB] 
255 kB/s 1min 24s

Root Cause Summary: Our DE-CIX peering circuit was experiencing 10–20% continuous packet loss. Even though our outbound path toward Fastly CDN used clean Transit, Fastly accepted our prefixes over DE-CIX without exporting routes back—forcing return TCP segments across the degraded DE-CIX link, triggering relentless TCP retransmissions and collapsing the congestion window.

Troubleshooting: Monitoring Evidence, Outbound Checks & Asymmetric Return

First, inspecting our Grafana packet-loss dashboard (pve-decix2 → 8.8.8.8) immediately confirmed persistent 10–20% packet loss across the DE-CIX port (with spikes approaching 50%):

Grafana network packet loss dashboard showing persistent 10 to 25 percent packet loss and 50 percent spikes on loss pve-decix2→8.8.8.8
Figure 1: Grafana monitoring graph confirming sustained 10–20% packet loss across DE-CIX (loss pve-decix2 → 8.8.8.8).

Next, checking our BGP routing table for deb.debian.org (fronted by Fastly CDN) revealed a classic puzzle: we were receiving zero Fastly CDN routes over DE-CIX—our outbound route already used Transit! Testing the Transit circuit with iperf3 confirmed the outbound path was completely clean at 919 Mbits/sec:

[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.07 GBytes   919 Mbits/sec                   sender
[  4]   0.00-10.00  sec  1.05 GBytes   906 Mbits/sec                  receiver

So if outbound routing never touched DE-CIX and Transit delivered 919 Mbps, why did an HTTP download stall at 255 KB/s? Seeing an iperf3 run full of TCP retries triggered the key realization about asymmetric IXP peering:

Many CDNs on Internet Exchanges import member prefixes without exporting their own routes across the IXP fabric. Checking the official DE-CIX Connected Networks directory immediately confirmed Fastly CDN was present on DE-CIX—meaning Fastly was returning all TCP payload packets to us across the lossy DE-CIX circuit!

Asymmetric IXP return routing diagram: before the fix, outbound traffic used clean Transit (919 Mbps) while Fastly CDN returned TCP packets over lossy DE-CIX (10-20% loss, 255 KB/s); after suppressing prefix advertisement to DE-CIX, bidirectional Transit restored 73 MB/s throughput
Figure 2: Asymmetric return traffic hitting the lossy DE-CIX link (left) and symmetric Transit recovery after suppressing DE-CIX prefix export (right).

Mitigation & Verification: Suppressing DE-CIX Export Restores 73 MB/s

To immediately protect customer traffic while DE-CIX NOC investigated the physical circuit fault, we suppressed BGP prefix advertisements toward the DE-CIX peering session. With our prefix withdrawn from DE-CIX, Fastly CDN automatically shifted return traffic onto the healthy Transit path.

Re-testing a 98 MB Golang package download immediately afterward completed in 1 second at 73 MB/s (up from 255 kB/s):

Total download size: 98 M
Installed size: 320 M
Downloading packages:
(1/4): golang-1.13.6-1.el7.x86_64.rpm                                                                                                                             | 3.2 MB  00:00:00     
(2/4): golang-bin-1.13.6-1.el7.x86_64.rpm                                                                                                                         |  86 MB  00:00:01     
(3/4): golang-src-1.13.6-1.el7.noarch.rpm                                                                                                                         | 7.1 MB  00:00:00     
(4/4): mercurial-2.6.2-10.el7.x86_64.rpm                                                                                                                          | 2.6 MB  00:00:00     
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                     73 MB/s |  98 MB  00:00:01     

Once customer speeds were fully restored, we shared the complete postmortem with the customer and escalated the Grafana packet-loss metrics to the DE-CIX NOC for circuit repair.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.