Peering vs. Transit: How Networks Pay (or Don't Pay) Each Other
See how networks buy transit, swap traffic through peering, and why those private deals shape the speed and cost of your connection.
Key takeaways
- Transit means paying a provider to carry your traffic to and from the entire internet.
- Peering means two networks trade traffic between their own customers, usually with no money changing hands.
- Peering saves money and often shortens paths, but it only reaches the peer and the peer's customers.
- Routing preferences follow the money: networks generally favor routes through customers, then peers, then transit providers.
- Disputes over who should pay can leave links congested, which users experience as slow service to particular sites.
Transit is a service one network buys from another to reach the whole internet. Peering is an arrangement where two networks exchange traffic destined for each other's own users and customers, often without either one paying. Nearly every network on the internet uses some mix of the two, and the mix decides what it costs to move your data and which path that data takes.
Neither arrangement is visible to you when you load a page. You pay your internet provider a monthly fee, and behind that bill sits a web of contracts, shared switches and private cables connecting your provider to thousands of other networks.
The basic problem: nobody connects to everyone
The internet is made of tens of thousands of independently run networks. In routing terms, each is an autonomous system with its own number and its own policies. Your provider cannot run a cable to every one of them, so it needs ways to reach networks it has no direct link with.
It has two broad choices. It can pay someone who already has those connections, which is transit. Or it can connect directly to a particular network that it exchanges a lot of traffic with, which is peering.
The protocol that ties both together is the Border Gateway Protocol. Through BGP, each network announces which blocks of addresses it can reach, and neighbors decide which of those announcements to accept, prefer and pass along. The business relationship is expressed almost entirely in those choices.
What you get when you buy transit
A transit customer asks its provider for a path to everywhere. The provider does two things in return. It announces the customer's address blocks to the rest of the internet, so incoming traffic can find the customer. And it gives the customer routes to the rest of the internet, either the full table or simply a default route that says "send everything to me".
Transit is typically billed by capacity. A common method measures traffic at regular intervals through the month, discards the highest few percent of samples, and charges based on the highest remaining reading. This is known as 95th percentile billing. It lets a customer burst briefly without paying for the peak all month. Other contracts charge a flat fee for a port of a fixed size, or a committed minimum plus a rate for anything above it.
A business that wants resilience often buys from two or more transit providers. This is called multihoming. If one provider has an outage, BGP can shift traffic to the other.
What peering covers, and what it leaves out
In a peering relationship, network A tells network B how to reach A's own addresses and those of A's paying customers. B does the same. Neither passes along routes learned from its transit providers or its other peers.
That restriction is the heart of the arrangement. If A let B send traffic through it to some third network that A pays to reach, A would be giving away transit for free. So peering gets you to your peer and the networks that sit beneath it, and nowhere else.
Peering with no payment either way is called settlement-free. It makes sense when both sides benefit roughly enough: each avoids sending that traffic through a paid transit link, and each gets a more direct path to the other's users. Paid peering also exists. There, one side pays for the direct connection, but the routes exchanged are still limited to the peer's own customer base.
Public and private peering
Two networks that want to peer need a physical way to connect. There are two usual approaches.
Public peering happens at an internet exchange point. Many networks each plug one port into a shared Ethernet switching fabric, and across that single port they can exchange traffic with many others. Many exchanges also run a route server, which lets a new member receive routes from lots of participants through one BGP session instead of negotiating each one.
Private peering is a dedicated link between two networks, usually a fiber cross-connect inside a data center where both have equipment. It costs a port and a cable for just one partner, so it is worth it when the traffic between the two is large.
A network often starts on a public exchange and moves its busiest relationships to private links as traffic grows.
| Question | Public peering | Private peering |
|---|---|---|
| Physical link | One shared port on an exchange | A dedicated cable between two networks |
| Partners per port | Many | One |
| Best suited to | Lots of modest flows | A few very large flows |
| Capacity planning | Shared port can fill from many directions | Easier to size for one relationship |
Why the money shapes the route
When a router has several ways to reach the same destination, its operator's policy usually ranks them by cost. A route learned from a paying customer comes first, because sending traffic that way earns revenue. A route from a peer comes second, because it is free or cheap. A route from a transit provider comes last, because it costs money.
This ranking is why the path your data takes is not always the shortest one on a map. Two networks in the same city that neither peer nor share a nearby provider may exchange traffic by way of a distant one. You can often see hints of this by running traceroute (macOS and Linux) or tracert (Windows) toward a site and looking at the network names and the jumps in delay.
The paths in the two directions can also differ. Each network chooses its own outbound route, so your request may leave through a peering link while the reply returns through transit. That is normal and is called asymmetric routing.
Tiers and the top of the chain
You will often hear networks described as tiers. Loosely, a Tier 1 network can reach every other network without buying transit from anyone; it relies on its customers and on settlement-free peering with the other large networks. Tier 2 networks peer widely and also buy some transit. Smaller access networks buy most of their reach. These labels are informal, and no official body awards them. The article on the internet backbone and its tiers looks at the hierarchy in more detail.
The picture has also flattened. Large content and cloud companies now connect directly to many access providers, and content delivery networks place caches inside or next to provider networks. A great deal of popular video and software reaches users without ever crossing a traditional backbone.
How a network decides whether to peer
Many networks publish a peering policy. Roughly, they fall into three attitudes: open (will peer with nearly anyone who asks), selective (will peer if certain conditions are met) and restrictive (rarely adds new peers). Common conditions include:
- A minimum volume of traffic between the two networks, so the link is worth maintaining.
- Presence in several shared locations, so each side can hand traffic over close to where it starts.
- A staffed operations contact that responds to faults and abuse reports.
- Sometimes a limit on how lopsided the traffic ratio may be.
- Good routing hygiene, such as filtering announcements and publishing accurate records of which addresses the network may originate.
That last point matters for everyone. A peer that accidentally announces routes it should not can pull traffic the wrong way, an error covered in BGP hijacks and route leaks.
When the deal breaks down
Peering rests on both sides thinking the exchange is fair. Consider a hypothetical access network full of households and a hypothetical network that mainly carries video. Far more data flows toward the households than away from them. The access network may argue that it bears the cost of delivering all that traffic and should be paid. The video side may answer that the access network's own subscribers asked for the data and already pay for their connections.
If they cannot agree, one side may decline to add capacity. The existing links then fill up in the evening, queues build, and users see buffering or slow downloads from some services while everything else works fine. In rarer cases a link is removed altogether, and traffic has to find a longer path, if one exists.
Whether and how regulators should step into these disputes has been argued for years. Those who favor oversight say a provider with a captive set of subscribers can use its position to demand fees. Those who prefer to leave it to contracts say interconnection has grown quickly under private negotiation and that rules could freeze arrangements that need to change. Rules differ by country and have been changing, so check your national regulator for the current position.
What this means for you
As a home user you cannot choose your provider's peers, but the effects reach you. A provider with good local interconnection tends to deliver popular services with low delay. If one particular site is slow while others are fine, a congested or roundabout interconnection is one possible cause, alongside problems at the site itself or on your own Wi-Fi.
If you run a business network, the practical questions are concrete. Do you have more than one upstream path? Is there an exchange point nearby where you already have equipment? Is your traffic large enough toward a few destinations that a direct link would cut your transit bill? For many small organizations the honest answer is that buying transit from one or two good providers is simpler and cheaper than the engineering that peering requires. Peering pays off as volume grows.