Internet Basics & History

Internet Exchange Points: Where Networks Meet

See how an exchange point lets many networks swap traffic locally, what happens inside one and why it matters to your speed.

Key takeaways

  • An exchange is essentially a large, carefully run Ethernet switching platform that many networks plug into.
  • Participants still make their own peering decisions and exchange routes using BGP.
  • Local exchange cuts delay and transit costs and keeps nearby traffic nearby.
  • Exchanges improve resilience, but a heavily used one is also a piece of infrastructure that needs redundancy.

An internet exchange point, or IXP, is a place where many networks connect to a shared switching system so they can hand traffic directly to one another. Instead of paying a third company to carry data between them, or sending it to a distant city and back, two participants exchange it across the same local fabric.

You never sign up for one, but your video, calls and web pages may well pass through exchanges, and a region with good ones usually has faster, cheaper local connectivity.

The problem an exchange solves

Picture four networks in one city: a cable provider, a fiber company, a university and a hosting firm. To swap traffic directly, each could run a private link to each of the others. That's six links for four networks, and the number grows quickly: twenty networks would need 190.

Without direct links, traffic between two local networks may travel through transit providers whose nearest meeting point is far away. A message between neighbors can make a long round trip, adding delay and cost for both sides.

An exchange replaces the web of links with one port per network into a shared fabric.

One port each, many possible partners
Exchange fabric Shared switches that connect all participants. DNS operators Place name servers close to users. Universities Exchange research and campus traffic. Mobile carriers Reach phone subscribers' destinations. Home internet providers Bring the users. Content networks Deliver video, pages and updates. Cloud and hosting firms Connect services to access networks. Exchange fabric Shared switches that connect all participants. Home internet providers Bring the users. Content networks Deliver video, pages and updates. Cloud and hosting firms Connect services to access networks. Mobile carriers Reach phone subscribers' destinations. Universities Exchange research and campus traffic. DNS operators Place name servers close to users.

What's physically there

An exchange usually lives in one or more colocation facilities, buildings that rent space, power and cooling to network operators. Large exchanges span several buildings across a metropolitan area, linked by fiber.

At the center are Ethernet switches. Each participant brings its own router, installed in the building or reached over a leased circuit, and runs a cross-connect, a cable, to an exchange port. The exchange assigns each participant an IP address on a shared peering network.

Because it's a layer 2 platform in the terms of the network layer models, the exchange forwards frames between participants' routers. It generally doesn't route their traffic for them, and it doesn't provide a path to the whole internet.

How participants actually exchange traffic

Plugging in doesn't make traffic flow. Networks must tell each other what they can reach, using the Border Gateway Protocol. There are two common arrangements.

Bilateral peering is a direct BGP session between two participants who've agreed to peer.

Multilateral peering uses a route server run by the exchange. A participant sets up a session with the route server and receives the routes that other users of it have shared. The route server passes along routing information only; the data packets still go directly between participants across the switch. This lets a newcomer reach many networks with very little configuration.

Peering through a route server
Network A Route server Network B Announces its address prefixes 1 Announces its address prefixes 2 Passes on B's routes 3 After filtering Passes on A's routes 4 After filtering Data flows directly 5 Across the switch, not through the route server Network A Route server Network B Announces its address prefixes 1 Announces its address prefixes 2 Passes on B's routes 3 After filtering Passes on A's routes 4 After filtering Data flows directly 5 Across the switch, not through the route server

Each network keeps control of its policy. It may peer openly with anyone, selectively with networks meeting certain conditions or not at all with particular ones. Heavy traffic between two members often moves to a private direct link, called a private network interconnect.

Why networks join

  • Lower cost. Traffic exchanged through peering doesn't count against paid transit.
  • Lower delay. Local traffic stays local, which matters for calls and games. Distance sets a floor, as described in latency and the speed of light.
  • More capacity and options. An extra path relieves transit links and offers an alternative if one fails.
  • Access to content. Many content delivery networks connect at exchanges, so a smaller provider can receive popular content efficiently.

Participants pay for it: port fees, the circuit to reach the facility, equipment and engineering time. A very small network with little traffic to the members present may find transit simpler. The comparison is the heart of peering vs. transit.

A worked cost comparison

The decision to join often comes down to simple arithmetic. Say a regional provider buys transit priced by the amount of capacity it uses, and finds that a large share of its busy-hour traffic goes to a handful of content and neighboring networks, all present at an exchange in a nearby city.

Joining has mostly fixed costs: the port, the circuit to reach it, space and hardware. Every unit of traffic moved from transit onto the exchange lowers the transit bill. Below some volume, the fixed costs outweigh the savings. Above it, the exchange pays for itself, and the lower delay and extra path come as a bonus.

The analysis has to be honest about a few things. Some traffic assumed to move won't, because a particular network may not peer with you or may prefer to hand traffic over elsewhere. The circuit to the exchange is a new thing that can break. And someone has to maintain sessions, filters and contacts. Networks usually measure their traffic by destination AS number first, then check which of those appear in the exchange's participant list.

Port speed deserves attention as well. A port that runs close to full at the busiest hour drops packets exactly when users notice most, so operators watch utilization and upgrade, or add a second port, well before it saturates.

Who runs exchanges

Models vary. Many exchanges, particularly in Europe, grew up as member associations or nonprofits. Others are run by data center companies or commercial operators, and some began with universities, research networks or government support. Well-known examples include DE-CIX in Frankfurt, AMS-IX in Amsterdam and LINX in London, alongside a great many small regional ones.

In regions that previously sent local traffic abroad to be exchanged, establishing a domestic exchange has been a common development goal, promoted by organizations including the Internet Society. Success usually depends less on the switch than on getting enough networks to take part, affordable circuits to the site and trust in neutral operation.

Exchanges and your experience

Say your provider and a game company's servers both connect at an exchange in your city. Packets can cross from one network to the other in that building. If the only connection were through a transit carrier's hub in a distant city, they'd travel there and back, adding delay you couldn't remove with a faster plan.

You can sometimes spot an exchange in a traceroute, since a hop's hostname or address may belong to the exchange's peering network. On Windows use tracert example.com; on macOS or Linux use traceroute example.com. Not every hop is labeled or visible, so don't read too much into one trace.

Public databases, including the community-run PeeringDB, list which networks are present at which exchanges and facilities. Network operators consult it when planning where to connect.

Keeping a shared platform safe

A shared switching fabric means one participant's mistake can affect others. Exchanges set technical rules to prevent that.

  • Port restrictions, such as allowing only registered hardware addresses on each port.
  • Limits on broadcast and unwanted protocols, so local chatter or a loop doesn't flood the fabric.
  • Route filtering on route servers, using registry data and RPKI origin validation, explained in signatures on internet routes.
  • Blackholing services in some places, letting a participant ask others to drop traffic aimed at an address under attack.

Participants should filter too, accepting from each peer only what they expect and never treating an exchange peer as a free path to the rest of the internet.

Resilience and concentration

Exchanges add paths, but popularity concentrates traffic. Well-run ones use redundant switches, power and sites. Participants protect themselves by keeping transit as a backup, connecting to more than one exchange where it makes sense and making sure the backup has enough capacity to absorb the shift. A failover path that is too small turns one outage into widespread congestion.

Because exchanges are important meeting places, they also attract policy attention: questions about their security obligations, lawful access and whether they should be treated as critical infrastructure. Rules differ by country. Those favoring formal obligations point to the public's dependence on them; those wary of heavy rules note that much of their success came from voluntary, low-cost participation.

Joining one, in outline

For an organization considering membership:

  1. Confirm you have your own AS number and address space, and routers that run BGP.
  2. Measure how much of your traffic goes to networks present at the exchange.
  3. Price the port, circuit, hardware and staff time against expected transit savings.
  4. Review the exchange's technical rules and connect your port.
  5. Set up route server and bilateral sessions with strict filters.
  6. Monitor traffic and keep contact details current for other operators.

Common questions

Is an exchange point part of the backbone?

It's an interconnection point that backbone, access and content networks all use. It links networks together and isn't a long-haul network itself, although some operators let remote participants connect through partners.

Does an exchange see or filter my browsing?

Its job is to forward traffic between participants. Encryption such as HTTPS protects content along the way. Legal obligations concerning monitoring depend on the country.

Is a data center the same as an exchange?

No. A data center or colocation facility is the building. An exchange is a service, a shared peering platform, that operates inside one or several of them.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Internet Basics & History →

Latest news on this topic