Saturday 22 October 2022

The Role of Border Gateway Protocol (BGP) in Making Sure Internet Works

Ever wondered how Internet works? Surely you did but did you actually figure out? Most often, people just understand it roughly how it works but sometimes details could be handy.

Plum consulting recently published a detailed study titled, "How the Internet works (and is paid for)".  It is quite a detailed study and is divided into three parts:

  • The first part explores how data and content move around the Internet, and how it is coordinated and governed;
  • The second part focuses on the economics of the Internet and how the delivery of content is paid for;
  • The third part provides cases studies of the economics of the Internet in five APAC countries: South Korea, Australia, Indonesia, Japan, and Singapore.

There is also a concise summary if that helps. 

A recent article on Ookla titled "5 Critical Services that Keep the Internet Up and Running" described how the internet works and what causes an Outage. The article explains the role of Content delivery networks (CDNs), Domain Name System (DNS), Border Gateway Protocol (BGP), Services and their Application Programming Interfaces (API) and finally Downdetector.

BGP is an important service which has been in the news regularly after some major outage. Last year when Facebook disappeared from the Internet, BGP was responsible. Facebook (Meta) Engineering published a detailed post explaining it here. Cloudflare also looked at this Facebook BGP issue here and have a simple explanation about what BGP is:

Border Gateway Protocol (BGP) is the postal service of the Internet. When someone drops a letter into a mailbox, the Postal Service processes that piece of mail and chooses a fast, efficient route to deliver that letter to its recipient. Similarly, when someone submits data via the Internet, BGP is responsible for looking at all of the available paths that data could travel and picking the best route, which usually means hopping between autonomous systems.

BGP is the protocol that makes the Internet work by enabling data routing. When a user in Singapore loads a website with origin servers in Argentina, BGP is the protocol that enables that communication to happen quickly and efficiently.

This video below is also a good simple explanation

BGP can be a serious issue when Internet is hijacked, hence even the regulators are looking at it to ensure there is no country wide Internet failure. An example from Swedish Post and Telecommunications Board (PTS) here.

Similarly, UK's National Cyber Security Centre (NCSC) has published a Technical report on "Responsible use of the Border Gateway Protocol (BGP) for ISP interworking", which explains best practices for the use of this fundamental data routing protocol.

With all these ongoing conflicts and politics in the play, it is important for the Service Providers and Mobile Operators to ensure there is no failure because of lack of understanding of the fundamentals.

Related Posts

No comments:

Post a Comment