What is Peering? How Networks Interconnect

Peering is the arrangement between two autonomous systems to exchange traffic directly, without paying a third party to carry it. Peering, alongside transit, is one of the two fundamental commercial relationships that determine how traffic flows across the internet — and how much it costs to get there.

Peering vs Transit

Every network on the internet needs to reach every other network. There are two ways to accomplish this:

The critical difference: a transit provider gives you a route to the whole internet; a peer only gives you a route to their network and their customers. A network with only peers and no transit could only reach networks it directly peers with — which is why large backbone providers that peer with everyone (Tier 1 networks) need no transit.

Transit vs Peering: Route Visibility Transit Provider Your Network Peer Network pay for transit get full table (may also buy transit) Peering session (no payment) — exchange own routes only Traffic between your customers and their customers flows directly

Types of Peering

Public Peering at an IXP

Networks connect to an Internet Exchange Point (IXP) and peer over the shared layer-2 switching fabric. Public peering is cost-effective: a single physical connection to an IXP gives access to hundreds or thousands of potential peers at that exchange. The IXP typically charges a flat port fee (a few hundred to a few thousand dollars per month for a 10G or 100G port), and traffic exchanged over the fabric is free.

Private Network Interconnect (PNI)

When traffic volumes between two networks are high enough, they may establish a dedicated direct fiber circuit — a Private Network Interconnect. This bypasses the shared IXP fabric entirely. A PNI might be a single 100G circuit colocated in a shared data center, or it might span multiple circuits for redundancy. PNIs offer predictable capacity and are used between networks that exchange terabits per day.

Paid Peering

Peering is usually settlement-free, but not always. A large content provider delivering far more traffic to an ISP than the ISP sends back creates a significant traffic imbalance. Some ISPs charge the content provider for the "asymmetric" exchange — this is called paid peering. The distinction between paid peering and transit can be blurry: paid peering usually involves exchanging only routes for each network's own customers, whereas transit includes a full default route.

The Internet's Tier Structure

Peering relationships create a rough hierarchy:

The Tier 1 designation matters economically: Tier 1s have zero transit costs, giving them a structural cost advantage. This is why Tier 1 status is fiercely guarded and why peering disputes between large networks occasionally make the news.

Peering Policies

Networks publish peering policies that describe under what conditions they will peer:

Peering policies are published in the PeeringDB database, which is the industry standard registry for peering information. An entry typically includes the network's ASN, NOC contact, peering policy, locations (which IXPs they are present at), and which IPv4/IPv6 prefixes they will accept.

The Economics of Peering

See the economics of internet peering for a detailed treatment. The short version: peering makes sense when:

  1. The traffic volume between the two networks is high enough to justify the cost of a port or PNI
  2. The traffic ratio is roughly balanced (or the dominant-traffic party accepts the imbalance)
  3. Both networks are present at the same IXP or colocated in the same data center

A CDN like Cloudflare, which delivers enormous outbound traffic volumes to every ISP, has every incentive to peer as broadly as possible. Its AS13335 entry in the looking glass shows hundreds of peer relationships and an extensive presence at IXPs worldwide.

Peering and BGP AS Paths

Peering relationships are directly visible in BGP AS paths. When two networks peer, traffic between them shows a short AS path — just two ASNs. Traffic routed through a transit provider shows the transit AS in the middle of the path. Networks with extensive peering appear with very short AS paths from most vantage points.

See BGP routing data in real time

Open Looking Glass
← Previous What is an Internet Exchange Point (IXP)?
More Articles
What is BGP? The Internet's Routing Protocol Explained
What is an Autonomous System (AS)?
What is a BGP Looking Glass?
How to Look Up an IP Address's BGP Route
Understanding BGP AS Paths
What is RPKI? Securing BGP Routing