Peering basics: Public vs. private peering

When we make NOC announcements, we often mention our peering connections. We assume that the readers of those messages technically understand peering. But as they say, assumption is the mother of all mistakes. Sometimes it’s good to start with the basics of things. In this blog, we’ll take a closer look at peering and examine the differences between public and private peering.

So, what is peering? In its most simple form, it is defined as the interconnection of two different networks so they can exchange traffic between them. This means the traffic goes directly from one network to the other, allowing them to reach each other’s customers. As this is mutually beneficial for those involved, the network owners usually don’t charge each other to peer. Now, I should note that having many peering connections doesn’t mean that you are able reach the whole internet – you only reach the networks (and their customers) you peer with. This is why a quality network should also be connected to at least two transit providers (preferably tier 1 networks). However, transit providers charge a sizable fee, making peering a cost-effective alternative.

There are two types of peering – public and private:

  1. Public peering is performed across a shared network called an Internet Exchange Point (IX or IXP). Through an Internet Exchange you can connect to many other peers using one or more physical connections, thereby optimizing the cost per peer when sending traffic to many different networks. Internet Exchanges often charge a port and/or member fee to keep their infrastructure intact.
  2. Private peering is performed by creating a direct physical connection (usually consisting of one or more 10GE fibers) between two networks. The connection is made from only one network to another, for which you pay a set fee to the owner of the infrastructure that is used (such as a datacenter). This makes private peering a sensible option when you need to send large volumes of traffic to one specific network, as the cost per megabit goes down when more traffic is exchanged.

Because of the way these types of peering are designed, each offers several (dis)advantages:

Public Peering Private Peering
Advantage
  • Efficient usage of ports
  • Hundreds of peers available at the larger IXs
  • Easy to administrate
  • New peers added instantly on a daily basis
  • Guaranteed capacity
  • Easy to monitor
  • More reliable than public peering
  • More secure than public peering
Disadvantage
  • Port and/or member fees for the IX
  • Only cost-effective for large volumes of traffic
  • Takes more time to setup new peering connections

When you’re a network engineer, you’re constantly looking for fast and reliable ways to ensure data reaches its destination. As peering is a cost-effective solution for this fascinating puzzle, usually enabling us to offer you bandwidth at really low prices. There are also other advantages to peering, which we will look at in the next peering blog. In the meantime, if you have any questions, don’t hesitate to drop me a line in the comments below.

6 Responses to “Peering basics: Public vs. private peering”

  • Andreas:

    Thanks for those highly interesting articles!
    How does public peering work in detail?
    Lets say I want to peer with 30 other small networks at an IX.
    So I pay a monthly fee to the IX, and geht a switchport in return.
    Then what?
    Do I automaticly peer with all other networks at that IX, all sharing the bandwidth of my port?
    Or do I have to put a 48 port switch in the IX somewhere, connect the uplinkport to my ‘IX-port’, and run 30 cables to the switches of my peering partners and ask all of them individually if they want to peer with me? Again all sharing the bandwidth of my IX-port?
    Are VLANs used somehow to reduce cable clutter?

    How does it work exactly?

  • An Internet Exchange is a big layer2 network. You get a switchport and an IP address from an Internet Exchange range. The rest is done using BGP. You can create BGP sessions to other members of the IX. With the help of route-servers, which are present at most exchanges, you don’t have to configure BGP sessions with all members. Most of them can be reached by just having sessions to route-servers.

    It might happen that not everyone wants to peer with you, but the majority will probably be willing.

  • This is really interesting, You’re an overly skilled blogger.

    I’ve joined your rss feed and sit up for looking for extra of your
    magnificent post. Also, I’ve shared your site in my social networks

  • sidd:

    Hi Grzegorz–

    Thanks for the article. Can you explain little more about the public and private perrings with an example. At our company we purchased a 45mbps circuit from an ISP and pay monthly charges to them- to connect to internet- will that be considered as Private peering or public peering.

  • Rafal:

    @sidd.

    In your case is not peering. Your company is a client/customer and you purchase ISP is your uplink provider that provides you with access to entire Internet.

    Peering is more about providing access to own network. So two compares A and B establish peering so company B have access to company B’s network and vice-versa. But Company A can’t reach entire Internet via company B.

    If you need internet access you need at least one uplink provider. And you pay to him a fee that covers ports infrastructure but also cost of taking your traffic to any place in the globe trough (multiple) upper-tire ISP (like ATT or Level3).
    Plus you may like to have multiple peers, which cost you only a port depreciation (amortyzacja). By doing so you reduce traffic that goes to uplink provider, so you need lower speed with him –> lower cosy of uplink.

    To give you a sense of cost savings, LINX allows you to connect to shared LAN at 1Gbps for free! (You have to pay 1200GBP/year for LINX membership. So ~500PLN/month for 1Gbps)

  • iamthewold:

    sidd,

    I know you commented almost 3 years ago, but that would not be regarded as peering. You are paying for an internet connection, which goes through your ISP. Your ISP is then peering with others, in whatever way they have decided to peer.

    Regards
    Wolfie

Leave a Reply

LeaseWeb on Twitter

Joy and fun today: happy to support the Hoogvliegers day at the Lelystad airport

test Twitter Media - Joy and fun today: happy to support the Hoogvliegers day at the Lelystad airport https://t.co/DZmEeQVnU2

Our Product Manager for Dedicated Servers giving a speech at ESL Benelux Championship 2017. Visit us during the event.

test Twitter Media - Our Product Manager for Dedicated Servers giving a speech at ESL Benelux Championship 2017. Visit us during the event. https://t.co/PVTopS0f62

Vladimir Smirnov of @bookingcom talks about Graphite@Scale or how to store millions points per second #TechSummitIO lsw.to/lhX

2 days until #ESL Benelux Championship. All the competitive games in the competition will be powered by our servers: lsw.to/lhp

test Twitter Media - 2 days until #ESL Benelux Championship. All the competitive games in the competition will be powered by our servers: https://t.co/q8Ev9k4wbW https://t.co/a9Wl5Oxttz