{"id":209,"date":"2020-09-26T13:28:46","date_gmt":"2020-09-26T13:28:46","guid":{"rendered":"https:\/\/dft.wiki\/?p=209"},"modified":"2021-02-22T21:09:50","modified_gmt":"2021-02-22T21:09:50","slug":"eigrp-on-cisco-routers","status":"publish","type":"post","link":"https:\/\/dft.wiki\/?p=209","title":{"rendered":"EIGRP on Cisco Routers"},"content":{"rendered":"<p>EIGRP is a Cisco proprietary protocol to share between routers all the known networks and calculate the best path based on link-state, hops, and bandwidth. Each router only knows about its neighbors.<\/p>\n<p>Given the scenario below, PC1 needs to reach PC2:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2020\/09\/image-72.png\" alt=\"This image has an empty alt attribute; its file name is image-72.png\" \/><\/figure>\n<\/div>\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<p>Router1<\/p>\n<pre>enable \r\nconfigure terminal \r\nhostname Router1\r\nno ip domain lookup\r\nline con 0\r\nlogging synchronous<\/pre>\n<p>interface g0\/0<br \/>\nip address 192.168.3.1 255.255.255.252<br \/>\nno shutdown<br \/>\ninterface g0\/1<br \/>\nip address 192.168.1.1 255.255.255.0<br \/>\nno shutdown<\/p>\n<p>router eigrp 10<br \/>\nno auto-summary<br \/>\nnetwork 192.168.1.0 0.0.0.255<br \/>\nnetwork 192.168.3.0 0.0.0.3<br \/>\npassive-interface g0\/1<\/p>\n<\/div>\n<div class=\"wp-block-column\">\n<p>Router2<\/p>\n<pre>enable \r\nconfigure terminal \r\nhostname Router2\r\nno ip domain lookup\r\nline con 0\r\nlogging synchronous<\/pre>\n<p>interface g0\/0<br \/>\nip address 192.168.3.2 255.255.255.252<br \/>\nno shutdown<br \/>\ninterface g0\/1<br \/>\nip address 192.168.2.1 255.255.255.0<br \/>\nno shutdown<\/p>\n<p>router eigrp 10<br \/>\nno auto-summary<br \/>\nnetwork 192.168.2.0 0.0.0.255<br \/>\nnetwork 192.168.3.0 0.0.0.3<br \/>\npassive-interface g0\/1<\/p>\n<\/div>\n<\/div>\n<p>The router gateway to outside the network has to have this config:<\/p>\n<pre>ip route 0.0.0.0 0.0.0.0 g0\/1\r\n\r\nrouter eigrp 10\r\n  network 0.0.0.0\r\n  redistribute static<\/pre>\n<p>This will inform all the other routers who of them is the &#8216;<strong>gateway of last resort<\/strong>&#8216; when one network is unknown.<\/p>\n<p>To check the configuration in each Router issue the commands:<\/p>\n<pre>do show ip eigrp neighbors\r\ndo show ip route eigrp\r\ndo show ip eigrp topology\r\ndo show ip protocols<\/pre>\n<p>Learn more about [<a href=\"https:\/\/www.youtube.com\/watch?v=QyymlFWDEgM\">EIGRP<\/a> &#8211; CertBros]<\/p>\n<p>The preview Post was about RIPv2 [<a href=\"https:\/\/dft.wiki\/?p=205\">Read It<\/a>].<\/p>\n<p>The following Post is about OSPF [<a href=\"https:\/\/dft.wiki\/?p=211\">Read It<\/a>].<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EIGRP is a Cisco proprietary protocol to share between routers all the known networks and [&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-209","post","type-post","status-publish","format-standard","hentry","category-ccna"],"_links":{"self":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/209","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=209"}],"version-history":[{"count":7,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/209\/revisions"}],"predecessor-version":[{"id":1268,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/209\/revisions\/1268"}],"wp:attachment":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}