Border Gateway Protocol, The Routing Protocol of the Internet | Linux Today

Border Gateway Protocol, The Routing Protocol of the Internet

Written By
Web Webster
Web Webster
Nov 13, 2008

“Everyone on the Internet has at least one unique AS number, and
they use BGP to advertise their networks to their peers. BGP is a
path-vector protocol, because it advertises the paths required to
get to a certain destination. BGP does not say anything about how a
packet will get routed within the AS, nor does it know about the
entire network as OSPF does. BGP can be called a distance-vector
protocol, because it’s similar, excluding a few twists.

“BGP itself is a Layer 4 protocol that sits on top of TCP. BGP
is much simpler than OSPF, because it doesn’t have to worry
about the things TCP will handle. This works because BGP is very
connection-oriented anyway, since it requires two manually
configured peers, who configure their routers then exchange routes.
BGP peers (neighbors) will generally be directly connected, but
some masochists like to set up BGP sessions between multi-hop
peers—which is okay, since BGP uses TCP (port 179) and
doesn’t rely on broadcasts or link-local multicast.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.