BGP - A possible reason behind the recent disappearance of #facebook #instagram & #whatsapp from the internet.

What is BGP ?

#facebookoutage #networking

A Thread 👇
BGP (Border Gateway Protocol) is the routing method that enables the Internet to function. Without it, we wouldn’t be able to do a Google search or send an email. Image
What is network routing?

“The name of a resource indicates what we seek, an address indicates where it is, and a route tells us how to get there”.

- John F. Shoch
What is autonomous system (AS) in networking?

The autonomous systems are d big networks that make up d Internet. More specifically, an AS is a large network or group of networks that has a unified routing policy. Every device that connects to the Internet is connected to an AS. Image
Who Operates BGP Autonomous Systems?

An AS can be an Internet Service Provider, a university or an entire corporate network, including multiple locations (IP addresses). Each AS is represented by a unique number called an ASN.
How Does BGP Work?

BGP, is the postal help of the Internet. At the point when somebody drops a letter into a post box, the postal help measures that piece of mail and picks a quick, effective course to convey that letter to its beneficiary.
For example, 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.
Imagine BGP as a bunch of people making and updating maps that show you how to get to YouTube or Facebook.
Why BGP is required?

BGP is responsible for directing packets on the fastest route to their destination. Without BGP, IP packets would bounce around the Internet randomly from AS to AS, like a driver trying to reach their destination by guessing which roads to take.
How do AS connect wid each other?
ASes connect wid each other & exchange nw traffic thru a process called peering. One way ASes peer wid each other is by connecting at physical locations called Internet Exchange Points (IXPs) (A large LAN wid lots of routers, switches & cabling.
Characteristics of BGP:

1. Inter-autonomous System Configuration
2. Supports Next-hop Paradigm
3. Coordination Among Multiple BGP Speakers Within an AS
4. Path Information
5. Policy Support
6. Runs Over TCP
7. Conserves Network bw
8. Supports CIDR & Security
What went wrong with Facebook?

As per FB's engg update, the issue was caused by “config changes on d backbone routers that coordinate nw traffic b/n our data centers.” That then led to a “cascading effect on the way [FB's] DC's communicate, bringing its services to a halt.”
IS DNS the culprit?

DNS tells you where you’re going, and BGP tells you how to get there. DNS is how computers know what IP addr a website or other resource can be found at, but that knowledge itself isn’t helpful. (Cloudflare)

"BGP hijacking/errors can mess up DNS requests." Image
Let's wait/hope for the detailed RCA coming from #facebebook.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Rakesh Jain

Rakesh Jain Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @devops_tech

7 Oct
SSL Decoded!

Everything you need to know about Secure Socket Layer.

A Thread 👇
What is SSL ?

It’s a protocol for encrypting and securing communications that take place on the Internet. It's now replaced by an updated protocol called TLS (Transport Layer Security) some time ago.
The main use case for SSL/TLS is securing communications between a client and a server, but it can also secure email, VoIP, and other communications over unsecured networks.
Read 23 tweets
7 Oct
I rarely use password login. And many folks out there even today aren't sure about ssh keys and their usage.

Everything about SSH Keys.

A Thread 👇
What is SSH?

SSH is a secure protocol used as the primary means of connecting to Linux servers remotely. It provides a text-based interface by spawning a remote shell. After connecting, all commands you type in your local terminal are sent to d remote server and executed there.
Today, the SSH protocol is widely used to login remotely from one system into another, and its strong encryption makes it ideal to carry out tasks such as issuing remote commands and remotely managing network infrastructure and other vital system components.
Read 27 tweets
5 Oct
Python Cheat Sheet 👇
Part - 1 Image
Part -2 Image
Read 4 tweets
27 Sep
What is Git?

What is GitHub?

Learn Git in just one thread! 👇
What is Git?

Git is a free, open-source distributed version control system. It keeps track of projects and files as they change over time with the help of different contributors.

A very popular tool used for source code management.
What is GitHub ?

GitHub is an online Git repository hosting service. Thought It adds many of its own features. While Git is a command line tool, GitHub provides a Web-based graphical interface.
Read 53 tweets
25 Sep
What is CPU Load Average?

#Linux #DevOps #Compute

A thread 👇
Load averages are the three numbers shown with the uptime and top commands - they look like this:

load average: 0.09, 0.05, 0.01
The three numbers represent averages over progressively longer periods of time (one, five, and fifteen-minute averages), and that lower numbers are better. Higher numbers represent a problem or an overloaded machine.
Read 22 tweets
23 Sep
Networking Basics!

How communication happens?
What are 7 OSI Layers?

#Linux #networking #basics #osi #DevOps

A thread 👇
What Is the OSI Model?

The Open Systems Interconnection (OSI) model describes seven layers that computer systems use to communicate over a network. Image
Layer 1: Physical Layer

It represents the electrical and physical representation of the data connection / system.

When a networking problem occurs, many networking pros go right to the physical layer to check that all of the cables are properly connected. Image
Read 17 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(