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 CDNs connect with each other. These locations exist on the “edge” of different networks, 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, improving round-trip time, and potentially reducing costs.
How does an Internet exchange point work?
At its core, an IxP is essentially a data center containing network switches that route traffic between the different member companies that share the costs of maintaining the physical infrastructure. 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 in these special IxP nodes to cut down on costs and shorten distances.
IxPs are large Layer 2 LANs (of the OSI network model) 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 fifteen 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. 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.
How do providers share traffic across different networks?
Peering vs paid transit
The arrangement behind how networks share transit varies. At Internet exchange points, there is sometimes no cost associated with transferring data between member companies. When traffic is transferred for free from one network to the next, the relationship is called settlement-free peering. Unfortunately for many 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 transit costs to smaller networks. In a single IxP, 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 other conditions by using a protocol called BGP.
Over time relationships can change, and sometimes networks no longer want to share free transit. When a network decides end their peering arrangement they go through a process called deepering. Deepering 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 political, and a spurned network may intentionally disrupt the traffic of the other party once the peering relationship has been terminated.
How do IxP’s 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. Cloudflare CDN