🔀 Transit vs Peering
IP transit and peering are the two fundamental ways networks connect to the internet — here's exactly how they differ, what each costs, and how most real networks combine both.
- Quick Answer
- Key Takeaways
- What Are Transit and Peering?
- Why It Matters
- How It Works
- Architecture & Technical Detail
- Step-by-Step Process
- Visual Flow
- Practical Examples
- Real-World Use Cases
- Advantages
- Disadvantages & Risks
- Best Practices
- Security Considerations
- Performance Considerations
- Common Problems
- Troubleshooting
- Implementation Checklist
- Expert Tips
- Beginner Mistakes
- Comparison Tables
- Feature Table
- Key Terms Glossary
- FAQs
- Conclusion
This guide walks through both relationships in depth, compares them directly across the dimensions that matter, and explains how most real-world networks blend the two into a coherent overall strategy rather than relying on just one.
- Transit is a paid, hierarchical relationship providing full internet reachability through a single upstream provider.
- Peering is typically a free, roughly-equal relationship providing reachability only to the peer's own network and customers.
- Transit billing is usually based on committed or 95th-percentile bandwidth usage; peering is typically settlement-free.
- Networks almost always use both together: transit for default/full reachability, peering to offload high-volume specific routes.
- BGP's route selection process (via local preference) typically prefers peer and customer routes over transit routes for the same destination.
- The transit-to-peering ratio shifts over time as a network grows and builds out more peering relationships.
🔍 What Are Transit and Peering?
IP transit is a commercial service in which one network (the transit provider) sells another network (the customer) access to the full internet routing table. The transit provider advertises the customer's routes to the rest of the internet and, in exchange, provides the customer with routes to everything else — effectively becoming that customer's single point of connectivity to the global internet. This is a hierarchical, customer-provider relationship, typically billed by bandwidth consumption.
BGP peering is a non-hierarchical agreement between two networks of roughly comparable standing to interconnect directly and exchange only their own (and their downstream customers') routes — explicitly excluding routes either side has learned from its own transit providers or other peers. This asymmetry in what gets shared is the core technical distinction: transit gives you everything; peering gives you a specific slice.
Both relationships are implemented using the same underlying protocol — external BGP (eBGP) — connecting routers belonging to two different Autonomous Systems. What differs entirely is the route policy applied: a transit session accepts (and often needs to filter down) a near-complete internet routing table, while a peering session strictly limits what's exchanged to each side's own address space.
The commercial framing also differs sharply. Transit is priced, contracted, and billed — typically per Mbps of committed or actual bandwidth usage, often with tiered volume discounts. The overwhelming majority of peering, by contrast, is settlement-free: neither party bills the other, because both sides derive comparable mutual benefit from the direct interconnection.
🎯 Why This Distinction Matters
Understanding transit vs peering isn't just academic — it directly explains the biggest line item in most network operators' infrastructure budgets and shapes fundamental architectural decisions about where and how to interconnect.
For a growing network, the practical question is rarely "transit or peering" in isolation, but rather how to optimally combine the two: buying just enough transit to guarantee full internet reachability and resilience, while building out peering relationships aggressively wherever the traffic volume and strategic fit justify the operational overhead of a direct interconnection.
The economics compound over time. A network that starts purely on transit and gradually builds a peering portfolio typically sees its transit bill grow much more slowly than its actual traffic volume, since an increasing share of traffic shifts onto free peering links as those relationships mature. This is precisely why major content networks and large ISPs invest so heavily in peering infrastructure — the multi-year cost trajectory difference is substantial at scale.
Performance considerations layer on top of the cost picture. Because peering paths are typically shorter and don't traverse a transit provider's potentially congested or more circuitous network, shifting high-volume, latency-sensitive traffic (like video streaming or real-time applications) from transit to peering often produces a measurable user experience improvement independent of the cost savings.
Resilience is the third pillar. Relying entirely on a single transit provider creates a single point of failure for a network's entire internet reachability. A mix of multiple transit providers and multiple peering relationships spreads this risk, so that the failure or congestion of any single connection has a smaller blast radius on overall reachability and performance.
Regulatory and market context also shape the transit-peering balance in some regions. In markets with fewer available transit providers or higher transit pricing, networks often have stronger incentive to invest early and aggressively in peering, since the relative savings can be larger than in more competitive transit markets. Conversely, in regions with abundant, cheap transit, some networks rationally choose to delay heavy peering investment until their traffic volume clearly justifies the operational overhead.
⚙️ How Networks Combine Both in Practice
Establish baseline transit
A new network first secures one or more transit connections to guarantee full internet reachability — this is the foundation everything else builds on.
Analyze traffic patterns
Using flow data from the transit connection, the network identifies which destination ASes consume the largest share of traffic — these are the best peering candidates.
Pursue peering with top destinations
The network reaches out to the highest-volume destination networks, checking their peering policies and establishing sessions where both technically and commercially viable.
Configure route preference
Local preference is set so that, for any destination reachable via both a peer and a transit provider, the peer route is preferred — automatically shifting traffic onto the free peering path.
Monitor and iterate
The network continuously monitors transit bandwidth costs and traffic patterns, adding new peers and adjusting transit commitments as the ratio between the two shifts over time.
🏗️ Architecture & Route Selection
When a router has multiple candidate paths to the same destination — one via a peer, one via a transit provider — BGP's best path selection algorithm determines which one is actually used. The most influential factor here is typically local preference, an attribute that networks explicitly configure to express their own routing priorities, and it's standard practice to set peer and customer routes to a higher local preference than transit-learned routes for the same prefix.
This ordering — commonly summarized as "customer > peer > transit" — reflects each relationship's relative cost and desirability: customer routes typically generate revenue, peer routes are free, and transit routes cost money, so all else being equal, a network prefers to route traffic in that order whenever multiple valid paths exist.
It's worth understanding that this preference ordering is a local policy choice, not a protocol requirement — BGP itself has no inherent concept of "peer" vs "transit," it simply exchanges routes and lets each network apply its own local preference values. The peer/customer/transit distinction is purely a convention implemented via configuration and, often, standardized BGP communities that tag routes by their commercial relationship type.
🔧 Step-by-Step: Evaluating Your Transit-Peering Mix
Audit current transit spend
Break down your transit bill by destination AS using flow analysis, identifying which networks account for the largest share of billed traffic.
Cross-reference with PeeringDB
Check each high-volume destination's peering policy, presence at shared facilities, and minimum traffic requirements.
Prioritize by cost-to-effort ratio
Rank candidates by expected transit savings versus the operational cost of establishing and maintaining the peering session.
Pursue the highest-value peers first
Start outreach with candidates offering the largest savings relative to setup effort, typically open-policy peers at exchanges you already have presence at.
Reassess transit commitments
As traffic shifts to peering, revisit transit contract commitments to avoid overpaying for capacity that's no longer needed.
🔄 Flow: A Packet's Journey Under Each Model
Under peering: Your network → Direct interconnect (private or exchange) → Destination network
The peering path is typically both shorter and more predictable, since it doesn't depend on a third party's internal routing and congestion state.
💡 Practical Examples
A regional ISP starts with a single transit provider and, as it grows, identifies that a large share of its customers' traffic goes to a handful of major content platforms. It establishes settlement-free peering with those platforms at a nearby exchange point, immediately reducing transit costs while keeping the original transit connection as a safety net for less common destinations.
A cloud hosting provider maintains transit connections from two different providers for redundancy, while simultaneously building an extensive peering portfolio at exchange points in every region it operates — using transit as a resilient fallback and peering as the primary path for the bulk of its actual traffic volume.
A small startup ISP with limited traffic volume relies almost entirely on transit initially, since it doesn't yet generate enough traffic with any single network to justify the operational overhead of establishing individual peering relationships — illustrating that peering's value scales with traffic volume.
🎯 Scenario Walkthrough: Three Networks, Three Strategies
Scenario 1 — The new entrant. A newly launched regional ISP with a few thousand subscribers starts with a single transit connection, since its traffic volume with any individual destination network is too small to justify the operational overhead of establishing dedicated peering relationships yet. Its priority is reliability and simplicity, not cost optimization, at this early stage.
Scenario 2 — The growing network. Eighteen months later, that same ISP has grown to tens of thousands of subscribers and its transit bill has grown proportionally. A traffic analysis reveals that a handful of major content and streaming platforms account for a large share of its bandwidth. It adds a second transit provider for redundancy, then begins pursuing settlement-free peering with those top platforms at a nearby exchange point, immediately reducing its marginal cost per subscriber.
Scenario 3 — The mature network. Several years on, the ISP has an extensive peering portfolio spanning multiple exchange points and dozens of bilateral relationships, handling the substantial majority of its traffic volume over free peering links. Transit remains in place, sized down to match only what's genuinely needed for the long tail of destinations it doesn't peer with directly, functioning as a resilient fallback rather than the primary path.
This progression — transit-only, then a hybrid mix skewing toward transit, then a hybrid mix skewing toward peering — is a common trajectory for networks as they grow, and understanding where your own network sits on this spectrum helps clarify whether your next infrastructure investment should go toward additional transit capacity or additional peering relationships.
🎯 Real-World Use Cases
- Cost optimization — shifting high-volume destinations from paid transit to free peering.
- Performance improvement — using shorter peering paths for latency-sensitive traffic like video or gaming.
- Resilience planning — combining multiple transit providers and peers so no single connection is a point of failure.
- Negotiating leverage — using a growing peering footprint to negotiate better transit pricing.
- New network bootstrapping — relying purely on transit initially before traffic volume justifies peering investment.
✅ Advantages
Transit advantages:
- Provides complete internet reachability through a single relationship.
- Simple to set up — no need to individually negotiate with every network you want to reach.
- Backed by an SLA in most commercial agreements.
Peering advantages:
- Typically free, directly reducing bandwidth costs.
- Usually lower latency and shorter paths than transit.
- Increases overall network resilience and path diversity.
⚠️ Disadvantages & Risks
Transit disadvantages:
- Ongoing, potentially significant recurring cost that scales with traffic.
- Dependent entirely on the transit provider's own network health and routing decisions.
Peering disadvantages:
- Only covers the peer's own network, not the whole internet.
- Requires ongoing operational investment: filter maintenance, session monitoring, relationship management.
- Selective or restrictive peers may reject smaller or newer networks.
🏆 Best Practices
- Never rely on a single transit provider alone — maintain at least two for redundancy.
- Set local preference so peer and customer routes are always chosen over transit routes for the same destination.
- Continuously analyze traffic to identify new peering candidates as your network grows.
- Revisit transit contracts periodically as your peering ratio shifts, to avoid overpaying for unused committed bandwidth.
- Document the commercial and technical scope of every relationship — which routes each transit or peering session should carry — for troubleshooting clarity.
🔒 Security Considerations
- Apply strict import filters on both transit and peering sessions to prevent accepting unauthorized or leaked routes.
- Use RPKI Route Origin Validation on all external sessions to automatically reject invalid route origins.
- Monitor for route leaks, where a peering session unexpectedly starts carrying transit-scope traffic — see ToolsNovaHub's Route Leaks guide for detail.
- Treat transit provider relationships as a trust boundary too — a compromised or misconfigured transit provider can still cause routing incidents.
⚡ Performance Considerations
- Peering paths typically outperform transit paths to the same destination due to shorter, more direct routing.
- Transit provider network congestion or suboptimal internal routing can degrade performance for traffic that could otherwise be peered directly.
- Monitor latency and packet loss per path to validate that peering relationships are actually delivering the expected performance benefit.
❌ Common Problems
| Problem | Typical Cause |
|---|---|
| Traffic still flowing over expensive transit despite having a peer | Local preference not configured to favor the peer route |
| Overpaying for transit relative to actual usage | Committed bandwidth not reassessed as peering traffic share grows |
| Peering relationship not delivering expected savings | Traffic volume with that specific peer lower than initially estimated |
| Complete outage when transit provider has an issue | Relying on a single transit provider without redundancy |
🔧 Troubleshooting
Traffic not shifting to a new peer: Check local preference configuration and confirm the peer is actually advertising a route for the destination in question.
Transit costs not decreasing despite new peers: Verify with flow analysis that the peered networks were actually significant contributors to transit volume in the first place.
Full outage during a transit provider issue: This typically indicates insufficient transit redundancy — add a second transit provider and configure appropriate failover.
✅ Implementation Checklist
Use this checklist when reviewing or building out your network's overall transit and peering strategy.
- At least two independent transit providers — avoiding a single point of failure for full internet reachability.
- Transit traffic broken down by destination AS — using flow data to identify your top peering candidates.
- Local preference configured correctly — customer > peer > transit ordering applied consistently across all routers.
- Peering candidates cross-checked against PeeringDB — policy, traffic minimums, and facility presence all reviewed.
- Transit contracts reviewed periodically — committed bandwidth reassessed as peering traffic share grows.
- Redundant paths to critical destinations — not relying on a single peering session for any high-value relationship.
- Route leak filtering applied to both transit and peering sessions — equally rigorous on both relationship types.
- Cost-per-Mbps tracked over time — separately for transit and peering, to validate the strategy is actually saving money.
- Capacity monitored on all sessions — both transit and peering, to plan upgrades proactively.
- Documentation maintained — scope and purpose of each relationship recorded for operational clarity.
💡 Expert Tips
- Revisit your transit-to-peering ratio quarterly as part of a regular cost review, since traffic patterns and available peering relationships change continuously.
- Don't chase every possible peer — the operational overhead of maintaining a session only pays off above a meaningful traffic threshold with that specific network.
- Use community tagging to automate the customer > peer > transit preference ordering rather than manually configuring local preference per session.
❌ Beginner Mistakes
- Believing peering alone can replace transit entirely for a general-purpose network.
- Not analyzing traffic data before pursuing peering relationships, leading to wasted effort on low-value peers.
- Forgetting to configure local preference, so peering relationships exist but don't actually reduce transit usage.
- Relying on a single transit provider with no fallback, creating an unnecessary single point of failure.
📊 Comparison Tables
Transit vs Peering: Full Comparison
| Aspect | IP Transit | BGP Peering |
|---|---|---|
| Reachability | Entire internet routing table | Peer's own network and customers only |
| Typical cost | Paid, usage-based | Settlement-free (usually) |
| Relationship type | Hierarchical, customer-provider | Roughly equal, mutual benefit |
| Setup complexity | Relatively simple, one relationship | Requires individual negotiation per peer |
| Typical local preference | Lowest | Higher than transit |
| SLA availability | Common, contractually backed | Rare, informal at best |
📋 Feature Table
| Feature | Transit | Peering |
|---|---|---|
| Billing model | Bandwidth-based recurring fee | Typically none |
| Route scope | Full table | Peer + peer's customers |
| Discovery method | Direct provider sales contact | PeeringDB, exchange participant lists |
📚 Key Terms Glossary
- IP transit
- A paid service in which an upstream provider gives a customer network routes to the entire internet in exchange for a recurring, usually bandwidth-based, fee.
- 95th-percentile billing
- A common transit pricing model that bills based on a customer's usage at the 95th percentile of measured intervals, discarding the top 5% of usage spikes from the calculation.
- Default route
- A catch-all route used to forward traffic for destinations not matched by any more specific route, typically pointed toward a transit provider to guarantee full reachability.
- Eyeball network
- Industry term for a network, typically a residential or mobile ISP, whose traffic profile is dominated by end users consuming content rather than serving it.
- Flow analysis (NetFlow/sFlow)
- Techniques for sampling and analyzing network traffic to understand volume by source, destination, and other attributes, commonly used to identify high-value peering candidates.
- Committed bandwidth
- The minimum bandwidth level a transit customer contractually agrees to pay for, regardless of actual usage, often in exchange for a lower per-Mbps rate.
- Transit provider
- A network that sells IP transit service, occupying a position higher in the internet's hierarchical structure relative to its paying customer networks.
- Customer > peer > transit ordering
- A widely followed local preference convention where customer routes are preferred first, peer routes second, and transit-learned routes last, reflecting their relative cost and revenue impact.
❓ FAQs
📋 Conclusion
Transit and peering aren't competing strategies — they're complementary tools that, used together, give a network complete internet reachability at the lowest achievable cost with the best achievable performance. Transit provides the guaranteed, comprehensive foundation; peering lets you optimize the highest-value, highest-volume relationships on top of that foundation.
For deeper detail on each side of this relationship, see ToolsNovaHub's guides on BGP Peering and Internet Exchange Points, and use the ASN Lookup tool to research any network's routing footprint.
If you're just getting started, the practical path is straightforward: secure redundant transit first for guaranteed reachability, then use traffic analysis to identify your highest-volume destinations and pursue peering with them as your network grows.