Why your office ping lies to you
mtr from an office on a business-grade fiber connection, your packets typically travel a short, well-peered path. Business ISPs in Indonesia often have direct peering at local internet exchange points (IXPs) like IIX, OpenIXP, or CDIX. Your traffic hops from your ISP's edge router straight to the data center's network, sometimes in two or three hops.
Mobile carriers operate differently. Telkomsel and XL serve tens of millions of subscribers behind layers of infrastructure that office connections never touch. The most significant layer is CGNAT (Carrier-Grade NAT), where thousands of mobile subscribers share a pool of public IP addresses. CGNAT adds processing overhead and, more importantly, the traffic path from a mobile subscriber to your server often routes through different upstream providers or transit links than what your office fiber uses.
A mobile user in the same city as your server might have their traffic exit through a gateway in a different city entirely, then come back. Or their carrier might peer with your hosting provider's upstream rather than directly at a local exchange. The result: different AS path, different hop count, different latency.
If you have ever looked at support tickets where users report slowness but your monitoring dashboard shows everything green, this mismatch is often the cause. The monitoring probes from your office or from the data center itself only test one path out of many.
The CGNAT factor on mobile networks
- Every connection from the phone goes through an extra translation layer at the carrier's NAT device.
- The NAT device has finite session table capacity. Under heavy load, session setup can slow down.
- Traceroute and mtr from behind CGNAT often show incomplete or misleading paths because ICMP handling through NAT varies by carrier.
- The public IP your server sees belongs to the carrier's NAT pool, not the user. Geolocation databases may map that IP to a different city than where the user actually sits.
How to actually test from other networks
RIPE Atlas
Scheduled mtr from a VPS on a different ISP
mtr in report mode on a cron job:
BASH
# Run mtr every 30 minutes, append results to a log file
*/30 * * * * /usr/sbin/mtr --report --report-cycles 10 --no-dns YOUR_SERVER_IP >> /var/log/mtr-probe.log 2>&1Looking Glass services
Real user monitoring (RUM)
Reading the results: what to look for
A practical check schedule
- Pick three or four Indonesian ISPs that represent your user base. Typically this means one fixed-line broadband provider, one or two mobile carriers, and possibly a business fiber provider.
- Set up RIPE Atlas measurements from probes on those ASNs, targeting your server IP. Schedule them to run every 30 to 60 minutes.
- Set a threshold alert. If median latency from any single ISP crosses a value you consider unacceptable for your application (this depends on your use case), investigate the path.
- Review the data weekly. Look for trends, not just spikes. A gradual increase in latency from one carrier over weeks might indicate a peering change that is not going to fix itself.
What you can actually do about bad paths
- Talk to your hosting provider. Ask whether they peer with that carrier at a local IXP. If they do not, the traffic is going through transit, which adds hops and latency. Some providers can add peering if there is enough demand.
- Use a CDN with local PoPs. A CDN that peers well with Indonesian mobile carriers can serve static assets from a closer edge. But verify that the CDN actually routes that carrier's traffic to a local PoP. CDN presence in Jakarta does not automatically mean every ISP gets served from Jakarta.
- Consider a second origin or edge in a different data center. If your primary data center has poor connectivity to mobile carriers but good connectivity to business ISPs, a second presence in a facility with better mobile carrier peering can help.
