A common assumption among hosting operators and ISPs in Indonesia: once you join IIX-APJII (Indonesia Internet Exchange), your network automatically peers with every other member AS, so domestic traffic stays local. Packets from your Jakarta VPS to a user on another IIX-connected ISP should hop across the exchange fabric and never leave the country. In practice, a large portion of that domestic traffic still transits through upstream providers, often hairpinning through Singapore or Hong Kong before coming back to Indonesia.
This is not a bug in IIX. It is how Internet Exchange Points work everywhere, and misunderstanding it leads to latency complaints that no amount of bandwidth upgrades will fix.
What joining an IXP actually gives you
IIX-APJII, managed by APJII (Asosiasi Penyelenggara Jasa Internet Indonesia), is a shared Layer 2 fabric. When your AS connects a port to IIX, you get physical connectivity to the exchange switch. That is it. You can now potentially exchange traffic with every other member connected to that same fabric, but "potentially" is doing heavy lifting in that sentence.
For traffic to actually flow between two member ASes at the exchange, one of two things must happen:
-
Bilateral peering session: AS-A and AS-B explicitly configure a BGP session between their routers at the exchange. They agree on prefix announcements, filters, and policies. This is a deliberate, negotiated relationship.
-
Route server peering: Both AS-A and AS-B establish a BGP session with the IXP's route server. The route server collects prefixes from all participants who peer with it and redistributes them. If both sides peer with the route server and accept its announcements, they can exchange traffic without configuring a direct session between themselves.
Neither of these happens automatically by plugging in a cable.
Why route-server peering does not cover everyone
Route servers are the closest thing to "automatic" peering at an IXP, but they have gaps.
Not every IIX member peers with the route server. Some large networks prefer bilateral-only policies. They want control over exactly who sends them traffic and what prefixes they accept. If a major ISP does not peer with the route server, your network will not learn their prefixes through it, no matter how many other members do.
Even among members who do peer with the route server, prefix filtering matters. A member might announce only a subset of their prefixes to the route server, keeping some behind bilateral agreements. Or they might set BGP communities that restrict redistribution to certain peers.
The result: the route server gives you reachability to some members for some prefixes. Not all-to-all.
You can check who peers at IIX-Jakarta and whether they list a route server session on PeeringDB. Look at the participant list. Compare it against the ASes you actually need to reach. The gap is often larger than expected.
The upstream fallback path
Here is where the hairpin happens. When your router does not have a route to a destination prefix learned via the IXP (either through a bilateral session or the route server), it falls back to the next best path in its BGP table. That path typically comes from your upstream transit provider.
Upstream transit providers route traffic through their own backbone. For many Indonesian ISPs, upstream transit connects through submarine cables to Singapore, Hong Kong, or other regional hubs. So a packet destined for another AS in Jakarta, whose prefix your router only knows via upstream, travels:
Your router in Jakarta -> upstream provider -> Singapore or Hong Kong -> upstream provider's peer or transit -> destination AS in Jakarta.
Round trip: instead of sub-millisecond across an exchange fabric, you get tens of milliseconds bouncing internationally. Users notice. Support tickets appear.
How BGP path selection makes this worse
Even when your router does learn a prefix from both the IXP and upstream, BGP path selection might still prefer the upstream path. This depends on how your network's BGP policy is configured.
BGP selects routes based on a sequence of tiebreakers. The first and most influential is local preference (local-pref). If your upstream routes have a higher local-pref than your IXP routes, BGP picks upstream every time, regardless of AS path length.
As an illustrative example: if your upstream routes default to local-pref 200 and your IXP peering routes default to local-pref 100, every prefix learned from both sources takes the upstream path. The IXP route sits in the BGP table, unused.
This is a configuration issue, not an IXP issue. Many networks set it up this way unintentionally, especially when the initial BGP config was templated from upstream setup guides without adjusting preferences for peering.
To check which path your router actually uses for a given prefix, look at the BGP best path:
# On a router running BIRD, FRRouting, or similar (syntax varies)
show ip bgp <prefix>
The output shows all known paths and marks the best one. If the best path goes through your upstream AS rather than the IXP peer, your local-pref or other policy attributes are overriding the shorter path.
How to verify where your domestic traffic actually goes
From a server or VPS, run mtr toward a destination you expect to be reachable via IIX:
mtr -rwbzc 100 <destination-ip>
Look at the intermediate hops. If you see hostnames or IPs belonging to international transit providers, or if latency jumps significantly at a hop that corresponds to a submarine cable crossing, your traffic is not staying domestic.
For a deeper look, use a BGP looking glass if your upstream or IXP provides one. Query the prefix of the destination and examine the AS path. A path like [your-AS] [upstream-AS] [international-transit-AS] [destination-AS] when both your AS and the destination AS are IIX members tells you peering is missing or not preferred.
We covered the mtr approach for tracing domestic paths in more detail in Thinking a Jakarta VPS Keeps IndiHome Traffic Domestic? Trace the Path with mtr.
What to do about it
Audit your peering sessions. List every AS you exchange significant traffic with domestically. Check which ones you have bilateral sessions with at IIX, which ones you reach via the route server, and which ones you only reach via upstream. The third group is where your latency problems live.
Peer with the route server if you have not already. This is the lowest-effort way to pick up reachability to many members at once. It will not cover everyone, but it covers more than zero.
Set local-pref correctly. Routes learned from IXP peers (both bilateral and route server) should typically have a higher local-pref than routes learned from upstream transit, assuming you want domestic traffic to prefer the exchange. The exact values depend on your network's policy hierarchy, but the principle is: prefer peering over transit for the same prefix.
Negotiate bilateral sessions with high-traffic peers. For the ASes that carry the most traffic between your network and theirs, a bilateral session gives you direct control over the relationship: prefix filters, traffic engineering communities, and guaranteed path selection independent of the route server.
Monitor continuously. Peering sessions go down. Route server sessions reset. A bilateral peer might stop announcing a prefix. Without monitoring, you will not notice until users complain. Export your BGP table periodically and diff it against expected domestic prefixes.
For related monitoring considerations, see Thinking IIX and OpenIXP Are the Same Thing? Key Differences That Affect Your Peering Choice.
The short version
IXP membership gives you a port on a shared fabric. It does not give you peering. Peering requires active BGP sessions, either bilateral or via a route server, and correct policy to prefer those paths over upstream transit. Without both pieces, your domestic traffic takes the long way around, and no amount of port speed at the exchange changes that. Check your BGP table, trace your paths, and fix the policy before blaming the network.