Why "Jakarta VPS" Does Not Guarantee a Domestic Path
Trace the Actual Path with mtr
mtr combines ping and traceroute into a single tool that continuously probes each hop. It shows packet loss and latency per hop, making it easy to spot where traffic leaves Indonesia and where it re-enters.
Run this from your VPS toward a known IndiHome IP (or any target IP on the ISP you want to test):
BASH
mtr --report --report-cycles 30 --aslookup TARGET_IP--report runs a fixed number of cycles then prints a summary. --report-cycles 30 sends 30 probes per hop (enough to see patterns). --aslookup adds the AS number next to each hop, which is the key piece for identifying which network owns each router.
If mtr is not installed, install it with your package manager (apt install mtr on Debian/Ubuntu, yum install mtr on CentOS/RHEL).
Sample output format (illustrative, not from a real trace):
TEXT
HOST: your-vps Loss% Snt Last Avg Best Wrst StDev AS
1. 10.0.0.1 0.0% 30 0.5 0.4 0.3 0.8 0.1 AS12345
2. core-jkt.provider.net 0.0% 30 1.2 1.1 0.9 2.0 0.2 AS12345
3. sg-peer.transit.net 0.0% 30 12.8 13.1 12.0 15.2 0.8 AS67890
4. sgx-core.transit.net 0.0% 30 13.5 13.8 12.5 16.0 0.9 AS67890
5. jkt-gw.telkom.net.id 0.0% 30 25.1 26.3 24.0 30.5 1.5 AS17974
6. customer-subnet.telkom 0.0% 30 26.0 27.1 25.0 31.0 1.4 AS17974sg (Singapore), AS changed from your provider to a transit network. Traffic left Indonesia. Hop 5 shows it re-entering Telkom's network in Jakarta. That Singapore detour added roughly 12-13 ms each way.
A healthy domestic path looks different: AS numbers go directly from your provider's AS to the destination ISP's AS, hostnames stay in .id or contain jkt/sby (Surabaya) locality markers, and latency between hops stays under a few milliseconds.
Reading Hop Hostnames and ASNs
jkt or cgk for Jakarta, sub or sby for Surabaya, sin or sgp for Singapore, hkg for Hong Kong. Not every hop responds with a hostname (some show only an IP), but when they do, the location code is reliable.
AS numbers. Each network on the internet has an Autonomous System Number. Key ones for Indonesian ISPs:
- Telkom Indonesia (IndiHome, Telkomsel): AS17974 (also AS7713 for some Telkom backbone segments)
- Indosat Ooredoo Hutchison: AS4761
- XL Axiata: AS24203
- Biznet: AS17451
whois AS17974 from a terminal, or use a web-based WHOIS service.
Run the Trace from Both Ends
mtr. From the user side, options depend on the situation:
- Ask the user to run traceroute or mtr. On Windows,
tracert YOUR_VPS_IPworks without installing anything. On macOS or Linux,tracerouteormtrif installed. - Use a looking glass or route server. Some Indonesian ISPs and IXPs run public looking glass tools that let you run traceroute from inside their network. Search for the ISP name plus "looking glass" to find these.
- Reverse traceroute services. Some hosting providers offer a looking glass from their network. Check your VPS provider's website for one.
What to Do When Traffic Takes an International Detour
Domestic Latency as a Measurable Baseline
mtr shows 30, 40, or 50+ ms to an IndiHome subscriber from a Jakarta VPS, that gap is almost certainly an international detour. The numbers give you a concrete baseline to compare against.
Run mtr periodically, not just once. Routing changes. A provider might add or lose a peering session. A submarine cable issue might shift traffic temporarily. Keeping a few saved mtr reports gives you a before-and-after comparison when latency complaints arrive.
The core takeaway: "server is in Jakarta" describes physical location, not network topology. The only way to know if your traffic stays domestic is to trace it. mtr with AS lookup takes 30 seconds to run and answers the question definitively. Do it from both ends, read the AS numbers, and you will know exactly where your packets travel.