DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Navigating the Border Gateway Protocol: Understanding BGP Neighborship States
  • Building a Config-Driven SOAP/REST Integration Layer: One Service, Many Protocols
  • The Inter-Agent Protocol Problem
  • The Agent Protocol Stack: MCP vs. A2A vs. AG-UI

Trending

  • Apache Phoenix: Global Secondary Indexes With Tunable Consistency
  • AI Agents for Software Engineering and Autonomous Development Workflows
  • Threat Modeling Context-Aware AI: A STRIDE Walkthrough
  • PWA on iOS, Part 1: PWAs on the iPhone Are Older Than They Look

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

Introduction to Border Gateway Protocol (BGP)

Learn more about the Border Gateway Protocol (BGP), as well as important features and types.

By 
EDGER FRANCIS
·
Mar. 13, 19 · Presentation
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
13.0K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

Border Gateway Protocol (BGP) advertises, learns, and chooses the best paths inside the Internet. When two ISPs are connected, they typically use BGP to exchange routing information. The ISPs of the Internet exchange routing information with one or more ISPs.

Autonomous System

Image title

An autonomous system is a collection of networks under a single technical administration domain. IGPs, like OSPF EIGRP, operate within an autonomous system. We use BGP between the autonomous systems to exchange loop-free routing information.

Internal and External BGP

Image title

BGP defines two classes for neighbors:

  1. Internal BGP ( iBGP ) operates within the same autonomous system.
  2. External BGP ( E BGP) operates inbetween the multiple autonomous system  

BGP Features 

  • BGP is an open standard protocol
  • Offers an exterior gateway protocol designed for inter-AS domain routing to scale a huge neter-network, like the Internet 
  • It supports classless, VLSM, CIDR, auto, and manual summary 
  • Updates are incremental and trigger the BGP to send updates to a manually-defined neighbor as unicast.
  • BGP is an application layer protocol that uses TCP for reliability with TCP port 179
  • Metric is attributes
  • Administrative distance is 20 for external updates (EBGP) and 200 for internal updates (iBGP)

Types of ISP connections 

  • Single-homed
  • Dual-homed sites
  • Multi-homing
  • Dual multi-homing

Single-Homed 

Image title

A single-homed site is a site with a single ISP connection. Single-homed is good for a site that does not depend heavily on the Internet or WAN connectivity. You can advertise the site route or static routes and receive a default route from your Internet service provider.

Dual-Homed

Image title

 A dual-homed site has two connections to the same ISP, either from one router or two routers. One link might be primary and the other is a backup, or the site might be load balancing over both the connections. we can use static or dynamic routing.

Multi-Homed

Image title

Multi-homing means having connecting links to one or more ISPs at the same time. This is done for redundancy and backup in case one ISP fails, and for better performance, if one ISP provides a better path to frequently-used networks, multi-homed also gives you an ISP-independent solution. BGP is typically used with multi-homed connections.

Dual Multi-Homed

Image title


Dual multi-homed means having two connections with multiple ISPs. Dual multi-homed gives you the most redundancy. BGP is used with ISPs and can be implemented internally, also.

We hope you enjoyed this post on BGP, as well as its features and types! 

Border Gateway Protocol Protocol (object-oriented programming)

Published at DZone with permission of EDGER FRANCIS. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Navigating the Border Gateway Protocol: Understanding BGP Neighborship States
  • Building a Config-Driven SOAP/REST Integration Layer: One Service, Many Protocols
  • The Inter-Agent Protocol Problem
  • The Agent Protocol Stack: MCP vs. A2A vs. AG-UI

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook