Users start reporting slow pages, stalled uploads, and connections that drop halfway through. You check the server and find normal load, no errors in the web server log, and healthy services. Your hosting provider's status page is green too. When everything you control looks fine but a slice of users is clearly suffering, the problem may sit somewhere between them and you, in how the internet is routing traffic to your IP range.
One cause worth checking is a BGP route leak. BGP (Border Gateway Protocol) is the system networks use to tell each other which IP ranges they can reach and through which path. A route leak happens when a network passes those announcements to neighbors it shouldn't, and traffic starts flowing through a network that was never meant to carry it. The research context for this piece describes a January 2026 incident where an automated routing policy error caused one data center in Miami to leak routes. External networks then treated it as an attractive path and sent it traffic it was not provisioned for. The result was congestion, high latency, and packet loss, made worse when edge filters discarded the unexpected traffic. If you want to understand that filtering side, see how internal firewalls made the Cloudflare leak worse.
This walkthrough moves from the symptom down to the routing layer, and drops the red herrings along the way.
Rule out the origin and your own network first
Before looking at BGP, make sure the problem really is outside your server. A route leak usually has a recognizable shape. Some users are affected and others are not, and the affected group tends to cluster by ISP or region rather than by browser, account, or page. Your server-side metrics stay flat, because the packets that get lost never reach you.
A few quick checks help here. Compare response times in your access log for affected and unaffected regions. If requests that do arrive are served quickly, the delay is happening on the way in or out. Then test from a machine inside the same data center or provider. If that path is clean, the server and the local network are probably fine.
This matters at the support desk because "the site is slow" tickets usually land on whoever manages the server. Showing that the server responds normally from nearby is the step that moves the conversation from "fix your hosting" to "something on the path is wrong."
Find where the loss starts with mtr
Next, trace the path from an affected location to your server. mtr combines traceroute and ping, and it can show the AS number (ASN) of each hop. An autonomous system (AS) is a network run under one routing policy, such as an ISP, a transit carrier, or a hosting provider, and each one has a number. Ideally, run this from an affected user's network. If you can't, use a VPS or looking glass in the same region or ISP.
# Report mode, 100 probes, wide output, show ASN and both hostname and IP
mtr -rwzbc 100 203.0.113.10
# Look up which AS owns a given hop IP (Team Cymru IP-to-ASN service)
whois -h whois.cymru.com ' -v 198.51.100.77'
Read the output from the bottom up. The last hop, your server, tells you whether loss is real. Loss on a middle hop that does not continue to later hops is usually just a router that limits how fast it answers ICMP probes. That pattern is the most common red herring in packet loss tickets, so ignore it. Real loss starts at some hop and persists all the way to the destination.
Illustrative output format (documentation addresses and ASNs)
HOST: probe-host Loss% Snt Last Avg Best Wrst
1. AS64496 192.0.2.1 0.0% 100 0.8 0.9 0.6 2.1
2. AS64496 192.0.2.17 0.0% 100 2.4 2.6 2.1 4.0
3. AS64500 198.51.100.5 0.0% 100 11.2 11.5 10.9 14.3
4. AS64510 198.51.100.77 22.0% 100 96.4 98.1 88.0 140.2
5. AS64510 198.51.100.81 21.0% 100 97.0 99.3 89.5 151.7
6. AS64520 203.0.113.1 23.0% 100 101.3 102.0 92.1 160.4
7. AS64520 203.0.113.10 22.0% 100 102.1 103.4 93.0 158.8
In this illustrative trace, loss and a large latency jump begin at AS64510 and continue to the server. That is your suspect. The next question is whether AS64510 normally sits on this path at all. If it does, you are probably looking at ordinary congestion at a carrier. If it never appears on this path, routing has changed.
Keep in mind that traceroute only shows the forward path. Internet routing is often asymmetric, so the reply from your server may take a completely different route back. Run mtr from your server toward the affected user's IP as well. A leak can affect either direction, and you need to know which one is broken before you contact anyone.
Compare current AS paths against the normal ones
Traceroute gives you one path from one place. Public BGP route collectors give you the routing view of many networks at once. Projects such as RIPE RIS and RouteViews peer with networks around the world and record the AS paths those networks use to reach each prefix. An AS path is the list of ASNs a route passed through, with the origin, meaning the network that owns the prefix, at the far right.
You can browse this in web tools like RIPEstat, bgp.tools, or the Hurricane Electric BGP Toolkit. For a quick summary from the command line, the RIPEstat looking glass data call returns the paths currently seen by its collectors:
# Count the distinct AS paths RIPE RIS collectors currently see for your prefix
curl -s 'https://stat.ripe.net/data/looking-glass/data.json?resource=203.0.113.0/24' \
| jq -r '.data.rrcs[].peers[].as_path' \
| sort | uniq -c | sort -rn | head -20
The most common paths should end in your origin AS and pass through your provider's usual upstreams. What you are looking for is an AS that suddenly appears between your upstream and the rest of the internet, especially one that matches the suspect from your mtr trace. If many collectors now show paths through that AS, a large part of the internet is sending your traffic through it.
To know what "normal" looks like, you need a reference point. The best one is a baseline you recorded yourself while things were healthy, covering your upstream ASNs and a handful of typical paths. Without one, RIPEstat's routing history and BGP update views let you look back at the hours before the problem started and see when a new path showed up. A path change that lines up with the moment users started complaining is strong evidence.
If the prefix you are checking is IPv6, the same approach applies, with some differences in tooling covered in verifying an IPv6 route leak with RIPE RIS and traceroute6.
Leak, hijack, or ordinary rerouting
Not every unfamiliar path is a leak. A few patterns can look similar, and telling them apart decides who you contact.
Ordinary rerouting happens all the time. A carrier does maintenance, a link fails, and traffic shifts to a backup path through a known provider. The new path is usually one hop longer or passes through another large carrier, and performance often recovers quickly. If the new AS is a normal upstream of your provider and loss is low, this is probably not a leak.
A hijack changes the origin. If collectors show your prefix, or a more specific slice of it, originating from an ASN that isn't yours, someone else is announcing your addresses. That is a different and more serious problem. RPKI route origin validation is designed to catch it if you have ROAs published and networks enforce them.
A route leak keeps your origin AS intact but puts an AS in the middle of the path that has no business being there. The classic shape is a small network, or a single site of a larger one, sitting between two big transit providers as if it were transit for them. RFC 7908 (datatracker.ietf.org/doc/html/rfc7908) defines and classifies these cases. Because the origin is correct, origin validation as typically deployed does not stop a leak. The leaked path can also look attractive to other networks, because BGP prefers paths through customers and shorter AS paths. That explains how one location can pull in far more traffic than it can handle.
Timing is another hint. Leaks are often fixed within minutes to hours once the leaking network notices. If the odd path appears suddenly, many collectors pick it up at once, and it lines up with your loss, you are likely looking at a leak.
Confirming the cause and what you can do about it
By this point you should have three pieces of evidence: mtr traces showing loss that starts at a specific AS and persists to the destination, collector data showing that AS newly appearing in paths to your prefix with your origin unchanged, and a timeline where the path change matches the user reports. Together, those make a solid case.
You usually can't fix someone else's leak yourself. Send the evidence to your hosting provider or upstream carrier. Include your prefix, the leaking ASN, sample AS paths from the collectors, mtr output from both directions, and the start time in UTC. Providers that run BGP can contact the leaking network, filter the bad routes, or adjust their own announcements. If you run your own ASN, you have more options, such as announcing through a different upstream or temporarily announcing more specific prefixes. Those changes affect how the whole internet reaches you, so coordinate them with your upstreams rather than improvising during an incident.
To verify the fix, re-run the same checks. The collector paths should drop the unexpected AS, mtr from affected locations should show the old route with no persistent loss, and user reports should stop around the same time.
The practical habit to take away is to write down what your normal AS paths and upstreams look like while everything is healthy. When the next "server is fine but users can't connect" report comes in, you can compare against that baseline in a few minutes, spot an unfamiliar AS in the path, and hand your provider evidence they can act on.