{"id":3682,"date":"2019-09-17T16:46:27","date_gmt":"2019-09-17T19:46:27","guid":{"rendered":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/"},"modified":"2019-09-17T16:46:27","modified_gmt":"2019-09-17T19:46:27","slug":"bgp-overview-visao-geral-sobre-border-gateway-protocol","status":"publish","type":"post","link":"https:\/\/matrixgo.ai\/en\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/","title":{"rendered":"BGP Overview: Overview of the Border Gateway Protocol"},"content":{"rendered":"<p>The Border Gateway Protocol (BGP) was designed to perform edge routing, transmitting information about the entire network infrastructure between autonomous systems (AS). It is the protocol used between Internet service providers, but it can also be used between a company and an ISP. BGP was built for reliability, scalability, and control.<\/p>\n<p>When we have established communication between neighbors using BGP, information is sent describing which networks are located behind the edge router. This information includes prefixes (IP class assigned to an AS), next-hop (next hop\/path to reach the destination prefix), AS-Path (which ASes I must pass through to reach the destination prefix), and routing metrics.<\/p>\n<p>We have two types of BGP connections: EBGP and IGBP. EBGP (External Border Gateway Protocol) is used when we establish communication between two different ASes, and IBGP (Internal Border Gateway Protocol) is used when we establish communication between two identical ASes.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Important Features of BGP<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<ul>\n<li>The administrative distance (default distance when the prefix is installed in the routing table) for EBGP routes (routes learned through different ASes) is 20, and for IBGP routes (routes learned through the same ASes) it is 200.<\/li>\n<li>The classification for BGP neighbors is traditionally known as peer and must be manually configured by their administrators;<\/li>\n<li>The BGP protocol uses port 179 for route update exchange and periodic keepalives to assess connection integrity;<\/li>\n<li>BGP uses several attributes in its routing decision algorithm.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Like other routing protocols, BGP supports best-route manipulation through the addition of metric values. For example, when we receive two identical prefixes from two BGP neighbors, we can manipulate which path we prefer to reach the destination prefix using metrics. There are also metrics to worsen the path to our own prefix.<\/p>\n<p>When configuring a peer with a neighboring Autonomous System, the connection can display 4 types of messages:<\/p>\n<p>Open: Sends the message &quot;open&quot; to your neighbor and includes information such as AS number, router ID, and timeout.<\/p>\n<p>Update: This message is used to transfer routing information between peers. It includes new routes and path attributes (metrics).<\/p>\n<p>Keepalive: neighbors exchange messages every 60 seconds by default to keep the session active.<\/p>\n<p>Notification: This message is sent when a problem occurs that causes a router to terminate the session.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Understanding BGP in a simple way<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<p>In general terms, the BGP protocol can be compared to a GPS system. For example, when we are about to leave home for a specific destination, we inform our GPS system where we are and where we want to go. With this information, the GPS system will evaluate the possible routes to that destination and determine which is the best one to display to the user.<\/p>\n<p>BGP does essentially the same thing. When a user at home decides to access any website, they specify a destination to be reached, and their request travels across the internet along a route defined by the protocol until it reaches its destination.<\/p>\n<p>And we&#039;re going to continue with this little lesson about BGP. Stay tuned.<\/p>\n<p>\u201cThe name of a resource indicates what we seek, an address indicates where it is, and a route tells us how to get there\u201d. \u2013 John F. Shoch<\/p>\n<p>&quot;The name of a resource indicates what we are looking for, an address indicates where it is, and a route tells us how to get there.&quot; \u2013 John F. Shoch<\/p>\n<p>* Lucas Moreira \u2013 NIS Specialist<\/p>","protected":false},"excerpt":{"rendered":"<p>The Border Gateway Protocol (BGP) was designed to handle edge routing, transmitting information about the entire network infrastructure between autonomous systems (AS). It&#039;s the protocol used between Internet service providers, but it can also be used between a company and an ISP. BGP was built for reliability, scalability, and [\u2026]<\/p>","protected":false},"author":1,"featured_media":3683,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","_joinchat":[],"footnotes":""},"categories":[42],"tags":[],"class_list":["post-3682","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bgp"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>BGP Overview: Vis\u00e3o geral sobre Border Gateway Protocol - Matrix Go<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/matrixgo.ai\/en\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"BGP Overview: Vis\u00e3o geral sobre Border Gateway Protocol - Matrix Go\" \/>\n<meta property=\"og:description\" content=\"O protocolo Border Gateway Protocol (BGP) foi projetado para atuar no roteamento de borda, transmitindo informa\u00e7\u00f5es sobre toda sua estrutura de rede entre sistemas aut\u00f4nomos (AS). \u00c9 o protocolo usado entre provedores de servi\u00e7os de Internet, mas tamb\u00e9m pode ser usado entre uma empresa e um ISP. O BGP foi constru\u00eddo para confiabilidade, escalabilidade e [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/matrixgo.ai\/en\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/\" \/>\n<meta property=\"og:site_name\" content=\"Matrix Go\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-17T19:46:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/matrixgo.ai\/wp-content\/uploads\/2019\/09\/BGP_smartisp.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"376\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"vimedigital\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"vimedigital\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/\"},\"author\":{\"name\":\"vimedigital\",\"@id\":\"https:\/\/matrixgo.ai\/en\/#\/schema\/person\/83d09a848afd00ba71bcb7bdb0350dff\"},\"headline\":\"BGP Overview: Vis\u00e3o geral sobre Border Gateway Protocol\",\"datePublished\":\"2019-09-17T19:46:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/\"},\"wordCount\":648,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/matrixgo.ai\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/matrixgo.ai\/wp-content\/uploads\/2019\/09\/BGP_smartisp.png\",\"articleSection\":[\"BGP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/\",\"url\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/\",\"name\":\"BGP Overview: Vis\u00e3o geral sobre Border Gateway Protocol - Matrix Go\",\"isPartOf\":{\"@id\":\"https:\/\/matrixgo.ai\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/matrixgo.ai\/wp-content\/uploads\/2019\/09\/BGP_smartisp.png\",\"datePublished\":\"2019-09-17T19:46:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#primaryimage\",\"url\":\"https:\/\/matrixgo.ai\/wp-content\/uploads\/2019\/09\/BGP_smartisp.png\",\"contentUrl\":\"https:\/\/matrixgo.ai\/wp-content\/uploads\/2019\/09\/BGP_smartisp.png\",\"width\":1000,\"height\":376},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/matrixgo.ai\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"BGP Overview: Vis\u00e3o geral sobre Border Gateway Protocol\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/matrixgo.ai\/en\/#website\",\"url\":\"https:\/\/matrixgo.ai\/en\/\",\"name\":\"Matrix Go\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/matrixgo.ai\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/matrixgo.ai\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/matrixgo.ai\/en\/#organization\",\"name\":\"Matrix Go\",\"url\":\"https:\/\/matrixgo.ai\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/matrixgo.ai\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/matrixgo.ai\/wp-content\/uploads\/2023\/05\/LOGO-MATRIX-APROVADA-1-1.png\",\"contentUrl\":\"https:\/\/matrixgo.ai\/wp-content\/uploads\/2023\/05\/LOGO-MATRIX-APROVADA-1-1.png\",\"width\":236,\"height\":96,\"caption\":\"Matrix Go\"},\"image\":{\"@id\":\"https:\/\/matrixgo.ai\/en\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/matrixgo.ai\/en\/#\/schema\/person\/83d09a848afd00ba71bcb7bdb0350dff\",\"name\":\"vimedigital\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/matrixgo.ai\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/817a9169bdce1fca793979636300e2c991570f5aa7f0903c597276548be10857?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/817a9169bdce1fca793979636300e2c991570f5aa7f0903c597276548be10857?s=96&d=mm&r=g\",\"caption\":\"vimedigital\"},\"sameAs\":[\"https:\/\/matrixgo.ai\"],\"url\":\"https:\/\/matrixgo.ai\/en\/author\/vimedigital\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"BGP Overview: Vis\u00e3o geral sobre Border Gateway Protocol - Matrix Go","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/matrixgo.ai\/en\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/","og_locale":"en_US","og_type":"article","og_title":"BGP Overview: Vis\u00e3o geral sobre Border Gateway Protocol - Matrix Go","og_description":"O protocolo Border Gateway Protocol (BGP) foi projetado para atuar no roteamento de borda, transmitindo informa\u00e7\u00f5es sobre toda sua estrutura de rede entre sistemas aut\u00f4nomos (AS). \u00c9 o protocolo usado entre provedores de servi\u00e7os de Internet, mas tamb\u00e9m pode ser usado entre uma empresa e um ISP. O BGP foi constru\u00eddo para confiabilidade, escalabilidade e [&hellip;]","og_url":"https:\/\/matrixgo.ai\/en\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/","og_site_name":"Matrix Go","article_published_time":"2019-09-17T19:46:27+00:00","og_image":[{"width":1000,"height":376,"url":"https:\/\/matrixgo.ai\/wp-content\/uploads\/2019\/09\/BGP_smartisp.png","type":"image\/png"}],"author":"vimedigital","twitter_card":"summary_large_image","twitter_misc":{"Written by":"vimedigital","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#article","isPartOf":{"@id":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/"},"author":{"name":"vimedigital","@id":"https:\/\/matrixgo.ai\/en\/#\/schema\/person\/83d09a848afd00ba71bcb7bdb0350dff"},"headline":"BGP Overview: Vis\u00e3o geral sobre Border Gateway Protocol","datePublished":"2019-09-17T19:46:27+00:00","mainEntityOfPage":{"@id":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/"},"wordCount":648,"commentCount":0,"publisher":{"@id":"https:\/\/matrixgo.ai\/en\/#organization"},"image":{"@id":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#primaryimage"},"thumbnailUrl":"https:\/\/matrixgo.ai\/wp-content\/uploads\/2019\/09\/BGP_smartisp.png","articleSection":["BGP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/","url":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/","name":"BGP Overview: Vis\u00e3o geral sobre Border Gateway Protocol - Matrix Go","isPartOf":{"@id":"https:\/\/matrixgo.ai\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#primaryimage"},"image":{"@id":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#primaryimage"},"thumbnailUrl":"https:\/\/matrixgo.ai\/wp-content\/uploads\/2019\/09\/BGP_smartisp.png","datePublished":"2019-09-17T19:46:27+00:00","breadcrumb":{"@id":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#primaryimage","url":"https:\/\/matrixgo.ai\/wp-content\/uploads\/2019\/09\/BGP_smartisp.png","contentUrl":"https:\/\/matrixgo.ai\/wp-content\/uploads\/2019\/09\/BGP_smartisp.png","width":1000,"height":376},{"@type":"BreadcrumbList","@id":"https:\/\/matrixgo.ai\/bgp-overview-visao-geral-sobre-border-gateway-protocol\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/matrixgo.ai\/"},{"@type":"ListItem","position":2,"name":"BGP Overview: Vis\u00e3o geral sobre Border Gateway Protocol"}]},{"@type":"WebSite","@id":"https:\/\/matrixgo.ai\/en\/#website","url":"https:\/\/matrixgo.ai\/en\/","name":"Matrix Go","description":"","publisher":{"@id":"https:\/\/matrixgo.ai\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/matrixgo.ai\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/matrixgo.ai\/en\/#organization","name":"Matrix Go","url":"https:\/\/matrixgo.ai\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/matrixgo.ai\/en\/#\/schema\/logo\/image\/","url":"https:\/\/matrixgo.ai\/wp-content\/uploads\/2023\/05\/LOGO-MATRIX-APROVADA-1-1.png","contentUrl":"https:\/\/matrixgo.ai\/wp-content\/uploads\/2023\/05\/LOGO-MATRIX-APROVADA-1-1.png","width":236,"height":96,"caption":"Matrix Go"},"image":{"@id":"https:\/\/matrixgo.ai\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/matrixgo.ai\/en\/#\/schema\/person\/83d09a848afd00ba71bcb7bdb0350dff","name":"vimedigital","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/matrixgo.ai\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/817a9169bdce1fca793979636300e2c991570f5aa7f0903c597276548be10857?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/817a9169bdce1fca793979636300e2c991570f5aa7f0903c597276548be10857?s=96&d=mm&r=g","caption":"vimedigital"},"sameAs":["https:\/\/matrixgo.ai"],"url":"https:\/\/matrixgo.ai\/en\/author\/vimedigital\/"}]}},"_links":{"self":[{"href":"https:\/\/matrixgo.ai\/en\/wp-json\/wp\/v2\/posts\/3682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matrixgo.ai\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matrixgo.ai\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matrixgo.ai\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matrixgo.ai\/en\/wp-json\/wp\/v2\/comments?post=3682"}],"version-history":[{"count":0,"href":"https:\/\/matrixgo.ai\/en\/wp-json\/wp\/v2\/posts\/3682\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/matrixgo.ai\/en\/wp-json\/wp\/v2\/media\/3683"}],"wp:attachment":[{"href":"https:\/\/matrixgo.ai\/en\/wp-json\/wp\/v2\/media?parent=3682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matrixgo.ai\/en\/wp-json\/wp\/v2\/categories?post=3682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matrixgo.ai\/en\/wp-json\/wp\/v2\/tags?post=3682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}