{"id":595,"date":"2020-11-12T20:12:57","date_gmt":"2020-11-12T20:12:57","guid":{"rendered":"https:\/\/dft.wiki\/?p=595"},"modified":"2021-03-14T18:31:11","modified_gmt":"2021-03-14T18:31:11","slug":"ebgp-routing-protocol-with-cisco-devices","status":"publish","type":"post","link":"https:\/\/dft.wiki\/?p=595","title":{"rendered":"eBGP Routing Protocol on Cisco Devices"},"content":{"rendered":"<p>BGP (Border Gateway Protocol) is the routing protocol of the Internet, and because of the size of the global network, it is also the slowest.<\/p>\n<p>It does not see each and all routers of the internet, but it knows how to get to &#8216;autonomous systems&#8217;, which means big network pools. Internet service providers are autonomous systems, big companies as Microsoft and Google are also autonomous systems.<\/p>\n<p>This post is just for your information and will only assume the ISP configuration below that runs BGP and then joint the price network router to this BGP network:<\/p>\n<pre>hostname ISP\r\nno ip domain-lookup\r\ninterface L0\r\nip address <strong>10.10.10.10<\/strong> 255.255.255.255\r\ninterface Serial0\/0\/1\r\nip address <strong>200.200.200.1<\/strong> 255.255.255.252\r\nno shut\r\nip route 0.0.0.0 0.0.0.0 l0\r\nrouter bgp 65001\r\nbgp log-neighbor-changes\r\nnetwork 0.0.0.0\r\nneighbor <strong>200.200.200.2<\/strong> remote-as 65000\r\nend<\/pre>\n<p>Note: <strong>10.10.10.10<\/strong> just simulate the Internet in the ISP, <strong>200.200.200.1<\/strong> is the router address in the ISP network, <strong>200.200.200.2<\/strong> is the address of your network that is connected to the ISP (which means that the ISP router needs to be set to exchange routing information to your network).<\/p>\n<p>Join your router to the ISP BGP network:<\/p>\n<pre>router bgp 65000\r\nneighbor <strong>200.200.200.1<\/strong> remote-as 65001\r\nnetwork <strong>200.100.100.0<\/strong> mask 255.255.255.0<\/pre>\n<p>Note: <strong>200.200.200.1<\/strong> is the ISP address and <strong>200.100.100.0<\/strong> is the internal network you will advertise on the internet through the ISP router.<\/p>\n<p>Useful command for troubleshooting:<\/p>\n<pre>show ip route\r\nshow ip bgp\r\nshow ip bgp summary<\/pre>\n<p>This post is just a quick reference guide for commands and I made it from the Cisco Lab 3.5.3.5. Consider searching for and reading the source material for additional information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BGP (Border Gateway Protocol) is the routing protocol of the Internet, and because of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-595","post","type-post","status-publish","format-standard","hentry","category-ccna"],"_links":{"self":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=595"}],"version-history":[{"count":4,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/595\/revisions"}],"predecessor-version":[{"id":1420,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/595\/revisions\/1420"}],"wp:attachment":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}