Skip to main content
HomeThe Web Writer Spotlight

- News, tips, inspiration you can trust to thrive in today’s digital age.

Search form

Main menu

  • Home
  • News & Features
  • Business & Economy
  • Tech & Trends
  • Health & Style
  • Arts & Culture
  • Contact Us
 

Understanding BGP Routing in Computer Networking: Quick Guide

Hannah van Teylingen September 13, 2022

hannah-van-teylingen  Digital Marketing Specialist, Luden Digital. 

  WWS contributor info-icon.png

hor-z.png

Border Gateway Protocol (BGP) is essentially the Internet's postal service. This protocol aims at facilitating communication that is fast and efficient over the internet.

 

Border Gateway Protocol (BGP) is a protocol that allows data routing (the assignment of a path by which a message or data reaches its destination) to be made possible by the Internet. 

For example, BGP allows a US user to load a website with origin servers from the UAE. 

 

How BGP Works

 

Border Gateway Protocol (BGP) is essentially the Internet's postal service. This protocol facilitates communication that is fast and efficient over the internet.

The Postal Service receives mail dropped into a mailbox and determines the fastest route to send it to its intended recipient. Similarly, BGP routing reviews all available routes that data can take and chooses the best route. This method often means switching between autonomous systems (AS), which are a collection of devices or networks that share a common routing policy.

BGP is unlike the old Routing Information Protocol (RIP). This distance-vector routing protocol uses the hop count (which refers to the number of devices, usually routers, that a piece of data travels through) to determine routing metrics. 

To exchange routing information between two BGP systems (peers), a peering on both BGP speakers must be configured first. A peer will give you its complete data table at the beginning. Everything else is dependent on the updates received.

 

Route Updates

 

A routing table, or routing information base (RIB) in computer networking is a data table stored in a router or a network host that lists the routes to particular network destinations, and in some cases, metrics associated with those routes.

Routing information bases (RIB) are used to store route updates. Although a routing table can only store one route per destination, RIB usually has multiple possible routes to a destination. The router decides which routes to include in the routing table and which paths to use. If a route gets withdrawn, it gets rerouted from the RIB.

The RIB can only track routes that might get used. If a route withdrawal is received but does not exist in the RIB, it gets silently removed from the RIB. Peers are not notified of any updates. RIB entries never time out. They exist until it becomes apparent that the route got discontinued.

 

BGP Path Attributes

 

Many times, multiple routes will lead to the same destination. BGP routing uses path attributes to determine which route traffic should be directed to specific networks. The simplest of these is Shortest AS Path. The Shortest AS Path is the path that traverses the most AS "wins."

Multi_Exit_Disc, also known as Multi-exit discriminator or MED, is another critical attribute. The Multi_Exit_Disc allows remote AS to determine if there are multiple exit points to the network. If so, one exit point is preferred.

The Origin attribute provides information about the origin of a routing upgrade. BGP may have multiple routes. In that case, the origin will determine which route is preferred.

 

Problems Facing BGP

 

You need to discuss the Internet's problems to understand how BGP works. First, routing table growth is a significant problem. A person could start advertising hundreds more routes by disaggregating a network that was once a single /16 network.

When this happens, every router on the Internet will receive every new route. People continually pressure themselves to combine or aggregate multiple routes into one advertisement. It is not always possible to aggregate routes, especially if you need to split a /19 into two separate, geographically distinct /20s. Routing tables now have over 200,000 routes, and they appeared to be growing exponentially for a while.

The second concern is that "advertising the Internet" can be a problem. Suppose a large ISP customer decides to advertise, and the ISP allows the routes. In that case, all the traffic to the Internet's servers will be sent directly to the AS.

There is an easy solution. Route filtering is the solution. It's easy to set up filters that prevent routers from accepting routes from customers who you aren't expecting. However, large ISPs may still accept "default," equivalent to transit from peers.

 

Who Operates BGP Autonomous Systems?

 

Autonomous systems numbers (ASNs) are usually associated with Internet service providers (ISPs) or large organizations such as tech companies and universities, government agencies, scientific institutions, and universities. Every AS that wishes to exchange routing information must have an ASN (registered autonomous system number).

Internet Assigned Numbers Authority (IANA) assigns ASNs (ASNs) to Regional Internet Registries. These registries then assign them to ISPs or networks. 

ASNs can be 16-bit numbers between one and 65534 or 32-bit numbers between 131072 and 42949672944. There are 64,000 ASNs worldwide as of 2018. These ASNs can only be used for external BGP.

 

Difference Between Internal and External BGP

 

External BGP (eBGP) allows traffic to be sent over the Internet, exchanging routes. Autonomous systems can use an internal version of BGP to route through their networks. This internal version is called internal BGP (iBGP). 

Not using internal BGP to route through your internal networks is not a prerequisite for external BGP. An autonomous system can choose from many internal protocols to connect routers in its internal network.

Continuing with the Postal Services analogy, external BGP works in the same way as international shipping. International shipping of mail requires that you follow certain guidelines and standards. After the mail has reached its destination country, it must be sent through the local mail service of that country to reach its final destination.

Each country's internal mail service is different and may not follow the same guidelines. Like the above, each autonomous system may have a routing protocol for routing data within its network.

 

In Conclusion

 

BGP is an integral part of the Internet foundations. Because it must be manually configured, it is susceptible to human error as much as security attacks. Instabilities and service disruptions are becoming more common as networks evolve. 

In the context of global digital services, monitoring BGP behavior in terms of performance monitoring, path discovery, and path changes is critical.


Hannah van Teylingen is a Digital Marketing Specialist at Luden Digital.

Share this article

  • facebook
  • twitter
  • linkedin
  • pinterest
  • pocket
  • email
  • hackernews
  • reddit
  • tumblr
  • whatsapp

bg_carousel_header_0.png

SUBSCRIBE TO OUR NEWSLETTER  newsletter icon.png

Get our best content, tips, and inspiration free in your inbox. Subscribe here >>

bg_carousel_header_0.png

 

You might also like...

young-mother-daughter-awesome-gift-ideas-for-mothers

10 Awesome Gift Ideas to Show Appreciation to Your Mum

Is Your Web Hosting Company Sabotaging Your Blog?

Social Media Marketing Tips for Restaurants 101

5 Strategies for Better Remote Employee Engagement During COVID-19

How to Uncover What Your Data is Really Trying to Tell You

woman-holidaymaker-using-tablet-on-the-beach

Holidaymakers Told to Stay Alert as Travel Scams Rise, Experts Warn

 

Join over 20,000 Subscribers!

And get our best content, news, tips, and inspiration free in your inbox. Subscribe ››

twitter.gif linkedin-gray.jpg email.gif RSS feed

 

 

 

 

 

 

Most read this week


Changing Skinwalker Image for How to Protect Yourself from Skinwalkers. Yes, They May Be Real
How to Protect Yourself from Skinwalkers. Yes, They May Be Real
George Mathews

Why You Should Consider Tiling Your Entire Home
Arnold Bloom

Tech Tasks Your Business Should Outsource
DDI Development

Intriguing Ways Millennials Are Using Technology Marketers Should Know
David K. William

 

Got a story or tip for us?

 

Tips_0_0_0.png

Here's how to submit it →

 

 

 

Like this content? Never miss a story!

Get our best content, tips, and inspiration free in your inbox.

CAPTCHA
Please check this box to prove you are a human visitor and help us prevent automated spam submissions.
 

New stories


Download YouTube Videos: Free YouTube Download Online MP3/MP4 Converters

Alice Yangon October 2, 2023
YOUTUBE DOWNLOADERS
man-blurred-laptop-video-youtube

Thanks to YouTube downloaders, it is now easier and safer than ever to download YouTube videos for offline use. You can get your favorite YouTube download online in mp3 or mp4 format for use offline.

Why Millet is a Nutritional Powerhouse

Kunal Tambe October 2, 2023
HEALTHY FOODS
field-millet-plant-nutritional-powerhouse
Cultivated and consumed in many parts of the world, millet is a nutritional powerhouse with many health benefits.

Finding Exclusive Private Jet Experiences: What to Look for

George Mathews October 1, 2023
PRIVATE CHARTER EXPERIENCES
woman-boarding-private-jet-experiences-aircraft-service-attendants
Finding exclusive private jet experiences will depend on the private charter company you choose, and if they are able to meet your personal needs.

How to Spot Early Signs You're on a Path to Excessive Gambling

Alexis Davis October 1, 2023
GAMBLING WARNING SIGNS
man-thinking-gambling-chips-on-table
It's vital to approach gambling with awareness and caution, and recognize warning signs that one might be veering toward problematic gambling behavior.

Electric and Hybrid GSE Is the Future in Aviation

George Mathews September 30, 2023
GREEN AVIATION
Caribbean-Airlines-GSE-operations
Electric and hybrid tech is playing a critical role in aviation, with many airlines now reducing their ecological footprint by switching to electric/hybrid ground support equipment (GCE) and engines.

Where to Find Free High-Resolution Images for Your Creative Projects

Alexis Davis September 30, 2023
woman-female-photographer-holding-camera-smiling-best-free-stock-photo-websites
Don't want to pay for premium stock photos? Here are some of the best free stock photo websites to get free hi-resolution images for your creative projects.

How to Keep Your Money, Belongings Secure While Traveling

Mariam Simmons September 30, 2023
TRAVEL SAFE
young-woman-backshot-travelling-pulling-suitecase-airport-terminal

Your money and belongings are not the only things at risk when you’re traveling. Your financial and personal information can also get stolen or misplaced. Here's how to secure your belongings while traveling.

Pagination

  • (Page 1)
  • Next page Next ›

Contributors blogs


Blog here »

How to Overcome Common Database Problems and Secure Business Data

Pete Campbell

 


user_searching_google_play_store_for_android_apps_for_tablet

10 Ideas to Get Profitable Engagement on Android Apps

Bruno Bourdmone

 


Why Jargon Is Damaging to SEO

WWS Editor

 


The Most Searched for Dream Wedding Destinations Despite COVID

Caitlin Purvis

 


two-young-women-smartphone-mobile-app-development

The Key to Effective Mobile App Development

Romy Catauta

 


Image for Useful Tips to Leverage Social Media Live Streaming for Wider Reach

Top Tips to Leverage Social Media Live Streaming for Wider Reach

Amanda Smith

 


man-lifting-baby-up-happy-older-parent

Had a Child Later in Life? Here’s How You Can Take Care of Your Child in Your Retirement

Valerie Gomez

 


 

EXPLORE MORE ...

black-nav-bar1.png

News & Features ›


lawyer-office-showing-client-document-criminal-defense

How Criminal Lawyers Build a Strong Defense Strategy

61% of Reported Fraud Cases Are Cyber-Related - So How Do You Avoid Them?

European Countries Rank Top of Countries MOST Interested in the Dark Web, Study Finds


Finding Exclusive Private Jet Experiences: What to Look for

How to Spot Early Signs You're on a Path to Excessive Gambling

Electric and Hybrid GSE Is the Future in Aviation

5 Best Money-Saving Apps for Students

Amazon to Invest $4bn in ChatGPT Rival: Consider AI As Race Heats Up

Tackling Climate Change: The Big Companies Reducing Carbon Footprints

hor-line-light-blue.png

Tech & Trends ›


Person Video Editing - Image for 7 Best Video Editing Tools for Beginners

7 Best Video Editing Tools for Beginners

7 Keys for a Better User Experience on Your Company's Website

Image for

7 Reasons SQL Is the Need-to-Know Skill for Data Analysts


Download YouTube Videos: Free YouTube Download Online MP3/MP4 Converters

How to Find the Best VPN for Multiple Devices: Why It’s Important

Tech Troubles? 4 Business Strategies To Avoid Tech Disasters

Ransomware Defense: Safeguarding Your Data with Backup Protection

Unlocking the Power of Software-Defined Storage: A Comprehensive Guide

How To Increase App Downloads On Google Play & Other App Stores
 

horizontal yellow line

Arts & Culture ›


Make Money Selling Digital Art

Six Tips for Buying Body Jewelry Online

Image for The UK's Most Haunted University

The UK's Most Haunted University


Best Classic Dystopian Novels That'll Rekindle Your Love of Reading

10 Inspiring & Artistic UK Cities for Creatives

Common Mistakes that Doom Writing Careers

Six Simple Tips to Overcome Wedding Speech Nerves

How to Overcome Uncertainty, Doubt, & Fear - the Bane of Creatives

5 Philosophical Ideas to Make You a Better Writer (& also a Better Person)

hor-line-brn.png

Business & Economy ›


How to Find the Best Advertising Solutions for Your Retail Business

How Vehicle Lettering, Graphics, and Wraps Boost Brand Promotions

illuminated-advertising-on-city-building

Why the Digital Era Isn’t the End for Print Marketing


Where to Find Free High-Resolution Images for Your Creative Projects

How to Keep Your Money, Belongings Secure While Traveling

Tap, Pay, Done: Are Contactless Payment Terminals the New Normal?

Home Office Upgrades: Online Lenders Can Help Fund Your Office Revamp

Ads Copywriting: Tips to Craft the Best Ads for Mobile Marketing

10 Ways Resourceful People Build Resilience & Turn Failure to Success

Home | About | Contributors | Write for Us | Advertise | Disclosure | Privacy Policy | Contact Us

Follow Us:

twitter_e.jpg linkedin-pg.jpg email-updates_icon.jpg

© 2023 Copyright, The Web Writer Spotlight.

Committed to quality content and journalistic ethics.

RSS rss

Search WWS search-icon-trans_0_1.png

Webwriterspotlight.com. All rights reserved.