{"id":346,"date":"2017-01-03T11:54:53","date_gmt":"2017-01-03T11:54:53","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=346"},"modified":"2017-01-20T02:14:27","modified_gmt":"2017-01-20T02:14:27","slug":"ccent-6-s01-e25-implementing-dynamic-routing-with-rip","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=346","title":{"rendered":"CCENT 6 S01 E25 \u2013 Implementing Dynamic Routing with RIP"},"content":{"rendered":"<h2>Types of Routing Protocol<\/h2>\n<p>Distance Vector<\/p>\n<ul>\n<li>Easy to configure<\/li>\n<li>Not many features<\/li>\n<li>RIP: Router Information Protocol<\/li>\n<li>IGRP:<\/li>\n<\/ul>\n<p>Link State<\/p>\n<ul>\n<li>Difficult to configure<\/li>\n<li>Many Features<\/li>\n<li>OSPF:<\/li>\n<li>IS-IS:<\/li>\n<\/ul>\n<p>Hybrid<\/p>\n<ul>\n<li>&#8220;The best of both worlds&#8221;<\/li>\n<li>Cisco Proprietary<\/li>\n<li>EIGRP: Enhanced Interior Gateway Routing Protocol<\/li>\n<\/ul>\n<h2>Understanding RIP<\/h2>\n<ul>\n<li>Algorithm first developed in 1969<\/li>\n<li>2 Versions: RIPv1 and RIPv2<\/li>\n<li>RIPv1\n<ul>\n<li>Do not need to know RIPv1, just know it exists.<\/li>\n<li>Classful version. (Does not support VLSM &gt; Variable Length Subnet Mask)\n<ul>\n<li>Advertises Networks, but not Subnet Masks<\/li>\n<li>172.16.1.0 &lt;- \/16 (class B) or \/24?<\/li>\n<\/ul>\n<\/li>\n<li>No Authentication.\u00a0 Any router can join network.<\/li>\n<li>Uses Broadcasts to advertise &#8220;who they know&#8221; every 30 seconds\n<ul>\n<li>Everything hears the message whether it cares or not.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>RIPv2\n<ul>\n<li>Classless version.\u00a0 (Supports VLSM)<\/li>\n<li>Adds Authentication.\u00a0 All routers must use same password to accept routing updates<\/li>\n<li>Uses Multicast -&gt; Only sends to &#8216;Groups&#8217; and doesn&#8217;t send to everyone.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Configuring RIP<\/h2>\n<h3>Enable RIP<\/h3>\n<p>*Note: RIP advertises its settings once every 30 seconds by default.<\/p>\n<pre>r1(config)#router rip<\/pre>\n<h3>Set Version<\/h3>\n<pre>r1(config-router)#version 2<\/pre>\n<h3>Enter Network Statements<\/h3>\n<pre>r1(config-router)#network SUB.NE.TW.ORK<\/pre>\n<p>*Only define the subnet (eg:192.168.1.0) and not the ip address!<br \/>\nThe network command does 2 things.<br \/>\n1. Advertises the defined network.<br \/>\n2. Only broadcasts the advertised network on the interface connected to that network.<\/p>\n<p>Example: r1 has 2 interfaces, fa0\/0=192.168.1.1 and fa0\/1=192.168.2.1<\/p>\n<pre>r1(config-router)#network 192.168.1.0<\/pre>\n<p>will only advertise 192.168.1.0 on fa0\/0.<br \/>\nIn order to advertise both networks down both interfaces, you must also add:<\/p>\n<pre>r1(config-router)#network 192.168.2.0<\/pre>\n<h3>Disable automatically advertising the network mask based on the IP.<\/h3>\n<p>By default, the network mask is broadcast based on the class of the network IP.  To disable this, (making it classless):<\/p>\n<pre>r1(config-router)#no auto-summary<\/pre>\n<p>&nbsp;<\/p>\n<h3>Show the routes<\/h3>\n<pre>#show ip route<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Types of Routing Protocol Distance Vector Easy to configure Not many features RIP: Router Information Protocol IGRP: Link State Difficult to configure Many Features OSPF: IS-IS: Hybrid &#8220;The best of both worlds&#8221; Cisco Proprietary EIGRP: Enhanced Interior Gateway Routing Protocol Understanding RIP Algorithm first developed in 1969 2 Versions: RIPv1 and RIPv2 RIPv1 Do not ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=346\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-346","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=346"}],"version-history":[{"count":6,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/346\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/346\/revisions\/354"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}