What is a content delivery network (CDN)? | How do CDNs work?
As visitors are more inclined to click away from a slow-loading site, a CDN can reduce bounce rates and increase the amount of time that people spend on the ...
Internet exchange points (IXPs)
These <anchor>Internet exchange points (IXPs)</anchor> are the primary locations where different Internet providers connect in order to provide each other access to traffic originating on their different networks. By having a connection to these high speed and highly interconnected locations, a CDN provider is able to reduce costs and transit times in high speed data delivery.
What is an Internet exchange point? | How do IXPs work? | Cloudflare
What is an Internet exchange point? \| How do IXPs work? \| Cloudflare

[skip to content](#main-content) [Sales: +1 (650) 319 8930](tel:+16503198930)

Support

[Log in](https://dash.cloudflare.com/login/?lang=en-US)

SolutionsProductsPricingResourcesPartnersWhy Cloudflare

Support

[Sign up](/plans/)

[Sign up](/plans/) [Contact sales](/plans/enterprise/contact/) [Log in](https://dash.cloudflare.com/login?lang=en-US)

[Log in](https://dash.cloudflare.com/login/?lang=en-US)

SolutionsProductsPricingResourcesPartnersWhy Cloudflare

Support

[Sign up](/plans/)

# What is an Internet exchange point? \| How do IXPs work?

An Internet exchange point (IXP) is a physical location through which Internet infrastructure companies such as Internet Service Providers (ISPs) and CDNs connect with each other.

##### Learning Center

- [What is a CDN?](/learning/cdn/what-is-a-cdn/)

- CDN benefits
- CDN metrics
- How caching works
- CDN glossary

#### Learning Objectives

After reading this article you will be able to:

- Define an Internet exchange point (IXP)
- Explain how an IXP works
- Understand how peering networks work together
- Explore how IXPs utilize BGP

Related Content

* * *

[What is an edge server?](/learning/cdn/glossary/edge-server/) [What is Anycast?](/learning/cdn/glossary/anycast-network/) [Round-trip time (RTT)](/learning/cdn/glossary/round-trip-time-rtt/) [Time-to-live (TTL)](/learning/cdn/glossary/time-to-live-ttl/) [What is a CDN data center?](/learning/cdn/glossary/data-center/)

#### Want to keep learning?

Subscribe to theNET, Cloudflare's monthly recap of the Internet's most popular insights!

Subscribe to theNET

Refer to Cloudflare's [Privacy Policy](/privacypolicy/) to learn how we collect and process your personal data.

Copy article link

### Boost performance using the Cloudflare CDN

[Get Started For Free](/lp/pg-all-plans-multi-sku-lc/)

## What is an Internet exchange point?

An Internet exchange point (IXP) is a physical location through which Internet infrastructure companies such as Internet Service Providers (ISPs) and [CDN](/learning/cdn/what-is-a-cdn/) s connect with each other. These locations exist on the [“edge” of different networks](/learning/cdn/glossary/edge-server/), and allow network providers to share transit outside their own network. By having a presence inside of an IXP location, companies are able to shorten their path to the transit coming from other participating networks, thereby reducing [latency](/learning/performance/glossary/what-is-latency/), improving [round-trip time](/learning/cdn/glossary/round-trip-time-rtt/), and potentially reducing costs.

## How does an Internet exchange point work?

At its core, an IXP is essentially one or more physical locations containing network switches that route traffic between the different members networks. Via various methods, these networks share the costs of maintaining the physical infrastructure and associated services. Similar to how costs are accrued when shipping cargo through third-party locations such as via the Panama Canal, when traffic is transferred across different networks, sometimes those networks charge money for the delivery. To avoid these costs and other drawbacks associated with sending their traffic across a third-party network, member companies connect with each other via IXP to cut down on costs and reduce latency.

IXPs are large Layer 2 LANs (of the [OSI network model](/learning/ddos/glossary/open-systems-interconnection-model-osi/)) that are built with one or many Ethernet switches interconnected together across one or more physical buildings. An IXP is no different in basic concept to a home network, with the only real difference being scale. IXPs can range from 100s of Megabits/second to many Terabits/second of exchanged traffic. Independent of size, their primary goal is to make sure that many networks’ routers are connected together cleanly and efficiently. In comparison, at home someone would normally only have one router and many computers or mobile devices.

Over the last twenty years, there has been a major expansion in network interconnections, running parallel to the enormous expansion of the global Internet. This expansion includes new data center facilities being developed to house network equipment. Some of those data centers have attracted massive numbers of networks, in no small part due to the thriving Internet exchange points that operate within them.

## Why are Internet exchange points important?

Without IXPs, traffic going from one network to another would potentially rely on an intermediary network to carry the traffic from source to destination. These are called transit providers. In some situations there’s no problem with doing this: it’s how a large portion of international Internet traffic flows, as it’s cost prohibitive to maintain direct connections to each-and-every ISP in the world. However, relying on a backbone ISP to carry local traffic can be adverse to performance, sometimes due to the backbone carrier sending data to another network in a completely different city. This situation can lead to what’s known as tromboning, where in the worst case, traffic from one city destined to another ISP in the same city can travel vast distances to be exchanged and then return again. A CDN with IXP presence has the advantage of optimizing the path through which data flows within it’s network, cutting down on inefficient paths.

![The Trombone Effect](/img/learning/cdn/glossary/IxP/trombone-effect.png)

## BGP, the Internet’s backbone protocol

Networks talk between each other using the [BGP (Border Gateway Protocol)](/learning/security/glossary/what-is-bgp/). This protocol allows networks to cleanly delineate between their internal requirements and their network-edge configurations. All peering at IXPs uses BGP.

## How do providers share traffic across different networks?

#### Transit

The agreement between a customer and it’s upstream provider. A transit provider provides its customers with full connectivity to the rest of the Internet. Transit is a paid-for service. BGP protocol is used to allow customer [IP addresses](/learning/dns/glossary/what-is-my-ip-address/) to be announced towards the transit provider and then onwards towards the rest of the global Internet.

#### Peering

The arrangement behind how networks share IP addresses without an intermediary between them. At Internet exchange points, there is predominantly no cost associated with transferring data between member networks. When traffic is transferred for free from one network to the next, the relationship is called settlement-free peering.

#### Peering vs paid transit

Unfortunately for some networks, transferring data is not always without cost. For example, large networks with relatively equal market share are more likely to peer with other large networks but may charge smaller networks for the peering service. In a single IXP, a member company may have different arrangements with several different members. In instances like this, a company may configure their routing protocols to make sure that they optimize for reduced costs or reduced latency using the BGP protocol.

#### Depeering

Over time relationships can change, and sometimes networks no longer want to share free interconnection. When a network decides end their peering arrangement they go through a process called depeering. Depeering can occur for a variety of reasons such as when one party is benefiting more than the other due to bad traffic ratios, or when a network simply decides to start charging the other party money. This process can be highly emotional, and a spurned network may intentionally disrupt the traffic of the other party once the peering relationship has been terminated.

#### How do IXPs use BGP?

Across an IXP's local network, different providers are able to create one-to-one connections using the BGP protocol. This protocol was created to allow disparate networks to announce their IP addresses to each other plus the IP addresses that they have provided connectivity to downstream (i.e. their customers). Once two networks set up a BGP session, their respective routes are exchanged and traffic can flow directly between them.

#### IXP or PNI interconnection

Two networks may consider their traffic to be important enough that they want to move from the shared infrastructure of an IXP and onto a dedicated interconnection between the two networks. A PNI (Private Network Interconnect) is simply a dark fiber connection (normally within a single datacenter, or building) that directly connects a port on network A with a port on network B. The BGP is nearly identical as a shared IXP peering setup.

Getting Started

- [Free plans](/plans/free/)
- [For enterprises](/enterprise/)
- [Compare plans](/plans/)
- [Get a recommendation](/about-your-website/)
- [Request a demo](/plans/enterprise/demo/)
- [Contact sales](/plans/enterprise/contact/)

About CDNs

- [What is a CDN?](/learning/cdn/what-is-a-cdn/)
- [What is a reverse proxy?](/learning/cdn/glossary/reverse-proxy/)
- [Static vs. dynamic caching](/learning/cdn/caching-static-and-dynamic-content/)

CDN Features

- [CDN performance](/learning/cdn/performance/)
- [CDN SSL TLS security](/learning/cdn/cdn-ssl-tls-security/)
- [CDN reliability](/learning/cdn/cdn-load-balance-reliability/)
- [CDN benefits summary](/learning/cdn/cdn-benefits/)
- [CDN for WordPress](/learning/cdn/cdn-for-wordpress/)

CDN Servers

- [What is a data center?](/learning/cdn/glossary/data-center/)
- [What is an edge server?](/learning/cdn/glossary/edge-server/)
- [What is an origin server?](/learning/cdn/glossary/origin-server/)

CDN Glossary

- [Anycast](/learning/cdn/glossary/anycast-network/)
- [Internet exchange point (IXP)](/learning/cdn/glossary/internet-exchange-point-ixp/)
- [Round-trip time (RTT)](/learning/cdn/glossary/round-trip-time-rtt/)
- [Time-to-live (TTL)](/learning/cdn/glossary/time-to-live-ttl/)
- [Cache control](/learning/cdn/glossary/what-is-cache-control/)
- [GSLB](/learning/cdn/glossary/global-server-load-balancing-gslb/)

Learning Center Navigation

- [Learning Center Home](/learning/)
- [DDoS Learning Center](/learning/ddos/what-is-a-ddos-attack/)
- [DNS Learning Center](/learning/dns/what-is-dns/)
- [Security Learning Center](/learning/security/what-is-web-application-security/)
- [Performance Learning Center](/learning/performance/why-site-speed-matters/)
- [Serverless Learning Center](/learning/serverless/what-is-serverless/)
- [SSL Learning Center](/learning/ssl/what-is-ssl/)
- [Bots Learning Center](/learning/bots/what-is-a-bot/)
- [Cloud Learning Center](/learning/cloud/what-is-the-cloud/)
- [Access Management Learning Center](/learning/access-management/what-is-identity-and-access-management/)
- [Network Layer Learning Center](/learning/network-layer/what-is-the-network-layer/)
- [Privacy Learning Center](/learning/privacy/what-is-data-privacy/)
- [Video Streaming Learning Center](/learning/video/what-is-streaming/)
- [Email Security Learning Center](/learning/email-security/what-is-email-security/)
- [AI Learning Center](/learning/ai/what-is-artificial-intelligence/)

[Facebook](https://www.facebook.com/cloudflare "Facebook")[X](https://x.com/cloudflare "X")[LinkedIn](https://www.linkedin.com/company/cloudflare "LinkedIn")[Youtube](https://www.youtube.com/cloudflare "Youtube")[Instagram](https://instagram.com/cloudflare "Instagram")

© 2024Cloudflare, Inc. [Privacy Policy](/privacypolicy/) [Terms of Use](/website-terms/) [Report Security Issues](/disclosure/) ![privacy options](/img/privacyoptions.svg)Cookie Preferences [Trademark](/trademark/)