{"id":274,"date":"2015-01-07T09:22:26","date_gmt":"2015-01-07T09:22:26","guid":{"rendered":"http:\/\/feralpacket.org\/?p=274"},"modified":"2015-01-07T09:42:20","modified_gmt":"2015-01-07T09:42:20","slug":"ripv2-notes-3","status":"publish","type":"post","link":"https:\/\/feralpacket.org\/?p=274","title":{"rendered":"RIPv2 Notes"},"content":{"rendered":"<p><!--?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?--><\/p>\n<p><b>RIPv2<\/b><\/p>\n<p>&#8211; UDP port 520<\/p>\n<p>&#8211; Multicast IP 224.0.0.9<\/p>\n<p>&#8211; Classless (not by default)<\/p>\n<p>-&gt; Cannot have discontiguous networks<\/p>\n<p>&#8211; Metric is hop count<\/p>\n<p>&#8211; Metric 16 is\u00a0\u00a0infinite\u00a0\u00a0metric<\/p>\n<p>&#8211; Timers<\/p>\n<p>-&gt; Update timer: \u00a0\u00a030 seconds<\/p>\n<p>-&gt; Invalid timer: \u00a0\u00a0180 seconds<\/p>\n<p>-&gt; Holddown timer: \u00a0\u00a0180 seconds<\/p>\n<p>-&gt; Flush timer: \u00a0\u00a0240 seconds<\/p>\n<p>&#8211; Supports authentication<\/p>\n<p>-&gt; Plain text<\/p>\n<p>-&gt; MD5<\/p>\n<p>&#8211; AD is 120<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0version 2<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0no auto-summary<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0network x.x.x.x<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174326-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-166\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174326-1-300x91.jpeg\" alt=\"20141114_174326-1\" width=\"300\" height=\"91\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174326-1-300x91.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174326-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Mismatched version updates can cause one way communication between the routers<\/p>\n<p>&#8211; R1<\/p>\n<p>-&gt; Send v1 updates<\/p>\n<p>-&gt; Receive v1 and v2 updates<\/p>\n<p>&#8211; R2<\/p>\n<p>-&gt; Send and receive v2 updates<\/p>\n<p>&nbsp;<\/p>\n<p><b>Authentication<\/b><\/p>\n<p>&#8211; Plain text<\/p>\n<p>&#8211; MD5<\/p>\n<p>-&gt; Create key chain<\/p>\n<p>-&gt; Apply to an interface<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">key chain CISCO<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0key 1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0 key-string CCIE<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">int s0\/0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip rip authentication mode { text | md5 }<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip rip authentication key-chain CISCO<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">sh ip protocols<\/span><\/p>\n<p>&#8211; Lists the authentication method<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">debug ip rip<\/span><\/p>\n<p>&#8211; To troubleshoot authentication problems<\/p>\n<p>-&gt; Such as key mismatch<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">sh key chain<\/span><\/p>\n<p>&#8211; To see if a space is present in the key-string<\/p>\n<p>&nbsp;<\/p>\n<p><b>Summarization<\/b><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174332-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-167\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174332-1-300x85.jpeg\" alt=\"20141114_174332-1\" width=\"300\" height=\"85\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174332-1-300x85.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174332-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Summary address 10.0.0.0\/22<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">int fa0\/0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip rip summary-address 10.0.0.0 255.255.252.0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>A summary address is installed into the routing table pointing to the NULL interface<\/p>\n<p>&#8211; Used when one of the more specific networks is not rachable<\/p>\n<p>&#8211; This prevents the packets from being default routed to 0.0.0.0\/0<\/p>\n<p>&#8211; Causes packets to be dropped<\/p>\n<p>&#8211; Summary address AS is still 120<\/p>\n<p>&nbsp;<\/p>\n<p>RIP does not create a summary route pointing to NULL0<\/p>\n<p>&#8211; Must be created manually<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip route 10.0.0.0 255.255.252.0 NULL0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>172.16.0.0 \/24<\/p>\n<p>172.16.1.0 \/24<\/p>\n<p>172.16.2.0 \/24<\/p>\n<p>172.16.3.0 \/24<\/p>\n<p>-&gt; 172.16.0.0 \/22<\/p>\n<p>-&gt; Works with RIPv2<\/p>\n<p>&nbsp;<\/p>\n<p>172.0.0.0 \/16<\/p>\n<p>172.1.0.0 \/16<\/p>\n<p>172.2.0.0 \/16<\/p>\n<p>172.3.0.0 \/16<\/p>\n<p>-&gt; 172.0.0.0 \/14<\/p>\n<p>-&gt; Will not work with RIPv2<\/p>\n<p>-&gt; Error message when trying to configure<\/p>\n<p>&nbsp;<\/p>\n<p>RIPv2 summarization is only possible within the limits of a class (A, B, C)<\/p>\n<p>-&gt; RIPv2 summarization is not classless<\/p>\n<p>&nbsp;<\/p>\n<p><b>Default Routing<\/b><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174343-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-168\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174343-1-300x101.jpeg\" alt=\"20141114_174343-1\" width=\"300\" height=\"101\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174343-1-300x101.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174343-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>R1(config)# <span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0default-information originate<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>In other routing tables:<\/p>\n<p>&nbsp;<\/p>\n<p>R* \u00a0\u00a00.0.0.0 \u00a0\u00a0\u00a0\u00a0 [120|*]<\/p>\n<p>-&gt; The metric of the summary route is the least metric among more specific routes<\/p>\n<p>&nbsp;<\/p>\n<p><b>Conditional Default Routing<\/b><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174353-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-169\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174353-1-300x107.jpeg\" alt=\"20141114_174353-1\" width=\"300\" height=\"107\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174353-1-300x107.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174353-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In conditional default routing, the exit interface network is checked<\/p>\n<p>&#8211; If the network is in the routing table, the default network will be injected<\/p>\n<p>&#8211; If the network is not in the routing table, the default route is not injected<\/p>\n<p>&nbsp;<\/p>\n<p>R1(config)# <span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 permit 200.0.0.0 0.0.0.255<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">route-map DR<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0match ip address 1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0default-information originate route-map DR<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>This is conditional, but not reliable<\/p>\n<p>&#8211; Have to make the route-map false to be reliable<\/p>\n<p>&#8211; Link may be up, but the connection to the Internet may be down<\/p>\n<p>&nbsp;<\/p>\n<p>Reliable Conditional Default Routing<\/p>\n<p>&#8211; Uses IP SLA<\/p>\n<p>&nbsp;<\/p>\n<p>Apply to RIP<\/p>\n<p>&#8211; IP SLA (Step 1) \u00a0&lt;- -&gt; \u00a0Track (Step 2) \u00a0&lt;&#8211; Dummy Static Route (Step 3) \u00a0&lt;&#8211; Access-list (Step 5) \u00a0&lt;&#8211; Route-map (Step 5)<\/p>\n<p>&nbsp;<\/p>\n<p>R1(config)# <span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip sla 1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0icmp-echo 4.2.2.2<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0 timeout 2000<\/span><\/p>\n<p>-&gt; In milliseconds<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">frequency 4<\/span><\/p>\n<p>-&gt; In seconds<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip sla schedule 1 start-time now life forever<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">track 1 ip sla 1 reachability<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip route 169.254.0.0 255.255.0.0 NULL0 track 1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 permit 169.254.0.0 0.0.255.255<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">route-map ABC<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0match ip address 1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0default-information originate route-map ABC<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>RIP Filtering<\/b><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174402-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-170\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174402-1-300x106.jpeg\" alt=\"20141114_174402-1\" width=\"300\" height=\"106\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174402-1-300x106.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174402-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><b>Passive Interface<\/b><\/p>\n<p>&#8211; It stops sending updates out the specified interface<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0passive-interface { &lt;interface&gt; | default }<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">passive-interface default<\/span><\/p>\n<p>&#8211; Can be used if there are a lot of loopback interfaces that you do not want to advertise<\/p>\n<p>&nbsp;<\/p>\n<p><b>Distribute List<\/b><\/p>\n<p>&#8211; Which network to filter<\/p>\n<p>&#8211; Direction ( in | out )<\/p>\n<p>&#8211; In | out which interface<\/p>\n<p>-&gt; If not specified, the network will be filtered from all interfaces<\/p>\n<p>&#8211; Filter is outsourced!<\/p>\n<p>-&gt; ACL<\/p>\n<p>-&gt; Prefix-list<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0distribute-list in | out int <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0distribute-list prefix in | out int<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174409-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-171\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174409-1-300x73.jpeg\" alt=\"20141114_174409-1\" width=\"300\" height=\"73\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174409-1-300x73.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174409-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><b>Distribute List &#8211; Standard ACL<\/b><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 deny 1.1.1.1<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 permit any<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0distribute-list 1 out fa0\/0<\/span><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174413-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-172\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174413-1-300x181.jpeg\" alt=\"20141114_174413-1\" width=\"300\" height=\"181\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174413-1-300x181.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174413-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Scenario -&gt; Filter all even number octets (in the 3rd octet) of outgoing network<\/p>\n<p>&nbsp;<\/p>\n<p>255.255.11111110.255<\/p>\n<p>-&gt; I don&#8217;t care about the first 7 bits, I only care about the last bit<\/p>\n<p>-&gt; Subnet mask: \u00a0\u00a0255.255.254.255<\/p>\n<p>-&gt; Wild card mask: \u00a0\u00a00.0.1.0<\/p>\n<p>&nbsp;<\/p>\n<p>10.0.0.0 &#8211; 00000000<\/p>\n<p>10.0.2.0 &#8211; 00000010<\/p>\n<p>-&gt; Last bit doesn&#8217;t change<\/p>\n<p>-&gt; 0 &#8211; don&#8217;t care<\/p>\n<p>-&gt; 1 &#8211; do care<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 deny 0.0.0.0 255.255.254.255<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 permit any<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&#8211; or &#8211;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 permit 0.0.1.0 255.255.254.255<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>Distribute List &#8211; Extended ACL<\/b><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list &lt;number&gt; permit | deny &lt;protocol&gt; &lt;source&gt; &lt;destination&gt;<\/span><\/p>\n<p>&#8211; Protocol is ip<\/p>\n<p>&#8211; Source is update source<\/p>\n<p>&#8211; Destination is update network<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174426-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-173\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174426-1-300x113.jpeg\" alt=\"20141114_174426-1\" width=\"300\" height=\"113\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174426-1-300x113.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174426-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Scenario -&gt; On R1, filter incoming update for network 50.0.0.0 if it is coming from R3<\/p>\n<p>&nbsp;<\/p>\n<p>R1(config)# <span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 100 deny ip host 123.0.0.3 host 50.0.0.0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 100 permit ip any any<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0distribute-list 100 in<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>Prefix Lists<\/b><\/p>\n<p>&#8211; More flexible<\/p>\n<p>&#8211; Can match on subnet masks<\/p>\n<p>&nbsp;<\/p>\n<p>i<span style=\"background-color: #fffaa5; -evernote-highlight: true;\">p prefix-list &lt;name&gt; [seq &lt;number&gt;] permit | deny &lt;network\/wildcard mask&gt; [le | ge &lt;0 &#8211; 32&gt;]<\/span><\/p>\n<p>&#8211; &lt;network\/wildcard mask&gt; &#8211; prefix<\/p>\n<p>&nbsp;<\/p>\n<p>&#8211; le | ge &#8211; subnet mask<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list &lt;number&gt; permit | deny &lt;network&gt; &lt;wildcard mask&gt;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>10.0.0.0 0.255.255.255<\/p>\n<p>&nbsp;<\/p>\n<p>10.0.0.0 \/22<\/p>\n<p>10.0.0.0 \/24<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip prefix-list LIST1 deny 10.0.0.0\/8 ge 24 le 24<\/span><\/p>\n<p>&#8211; Matches 10.0.0.0 \/24<\/p>\n<p>&nbsp;<\/p>\n<p>Match any network starting with 172.16.x.x with subnet mask from 255.255.0.0 to 255.255.255.0<\/p>\n<p>&nbsp;<\/p>\n<p>255.255.0.0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-&gt; \/16<\/p>\n<p>255.255.128.0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-&gt; \/17<\/p>\n<p>255.255.192.0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-&gt; \/18<\/p>\n<p>255.255.224.0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-&gt; \/19<\/p>\n<p>255.255.240.0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-&gt; \/20<\/p>\n<p>255.255.248.0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-&gt; \/21<\/p>\n<p>255.255.252.0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-&gt; \/22<\/p>\n<p>255.255.254.0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-&gt; \/23<\/p>\n<p>255.255.255.0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-&gt; \/24<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip prefix-list ABC deny 172.16.0.0\/16 ge 16 le 24<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174436-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-174\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174436-1-300x114.jpeg\" alt=\"20141114_174436-1\" width=\"300\" height=\"114\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174436-1-300x114.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174436-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>1.<\/p>\n<p>&#8211; Wildcard -&gt;16<\/p>\n<p>&#8211; Range -&gt; 16 &#8211; 24<\/p>\n<p>2.<\/p>\n<p>&#8211; Wildcard -&gt; 16<\/p>\n<p>&#8211; Range -&gt; 18 &#8211; 32<\/p>\n<p>-&gt; If on the exam, upper boundary is not specific, assume it&#8217;s 32<\/p>\n<p>3.<\/p>\n<p>&#8211; Wildcard -&gt; 16<\/p>\n<p>&#8211; Range -&gt; 18 &#8211; 24<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip prefix-list ABC deny 172.16.0.0\/16 ge 18<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip prefix-list ABC deny 172.16.0.0\/16 ge 18 le 24<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Drawback of using prefix-lists<\/p>\n<p>&#8211; ge cannot be lower than the wildcard mask<\/p>\n<p>&nbsp;<\/p>\n<p>Scenario -&gt; Match any network starting with 172.16.0.0 and subnet mask between 8 and 24<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip prefix-list ABC deny 172.16.0.0\/16 ge 8 le 24<\/span><\/p>\n<p>-&gt; <b>Will not work<\/b><\/p>\n<p>-&gt; ge cannot be lower than the wildcard mask<\/p>\n<p>&nbsp;<\/p>\n<p>If a single subnet mask is to be matched and it happens to be equal to the wildcard mask, then ge and le can be skipped<\/p>\n<p>&#8211; Compare first octet of 10.0.0.0 and subnet mask must be 255.0.0.0<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip prefix-list permit 10.0.0.0\/8<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174443-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-175\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174443-1-300x66.jpeg\" alt=\"20141114_174443-1\" width=\"300\" height=\"66\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174443-1-300x66.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174443-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Filter 1.1.1.1 \/32 from R2<\/p>\n<p>&nbsp;<\/p>\n<p>R1(config)# <span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip prefix-list ABC deny 1.1.1.1\/32<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip prefix-list ABC permit 0.0.0.0\/0 le 32<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0distribute-list prefix ABC out fa0\/0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>Filter from a specific source<\/b><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174452-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-176\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174452-1-300x112.jpeg\" alt=\"20141114_174452-1\" width=\"300\" height=\"112\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174452-1-300x112.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174452-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Scenario -&gt; Filter any network coming from R3 and accept all networks from R2<\/p>\n<p>&#8211; In this scenario, two prefix lists will be used<\/p>\n<p>-&gt; 1. To identify which networks will be filtered<\/p>\n<p>-&gt; 2. To identify the source<\/p>\n<p>&nbsp;<\/p>\n<p><b>Distribute List<\/b><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">distribute-list prefix &lt;list1&gt; gateway &lt;list2&gt; in | out [&lt;interface&gt;]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>R1(config)# <span style=\"background-color: #fffaa5; -evernote-highlight: true;\">ip prefix-list LIST1 permit 50.0.0.0\/8<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip prefix-list LIST2 deny 123.0.0.3\/32<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip prefix-list LIST2 permit 123.0.0.2\/32<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0distribute-list prefix LIST1 gateway LIST2 in fa0\/0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>During the lab, always use extended ACLs unless using prefix-lists is spcified<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">sh ip protocols<\/span><\/p>\n<p>&#8211; Displays the distribute-lists applied<\/p>\n<p>&nbsp;<\/p>\n<p><b>Offset-list<\/b><\/p>\n<p>&#8211; This is used to add an offset number to the metric value when updates are sent or received<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174500-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-177\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174500-1-300x172.jpeg\" alt=\"20141114_174500-1\" width=\"300\" height=\"172\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174500-1-300x172.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174500-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Scenario -&gt; R1 should always use R2 as next-hop to reach network x (50.0.0.0)<\/p>\n<p>&#8211; If connection to R2 goes down, R1 should start using R3 as next-hop for network x<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">offset-list &lt;acl&gt; in | out &lt;offset-number&gt; [&lt;interface&gt;]<\/span><\/p>\n<p>&#8211; Standard ACL is used<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 permit 50.0.0.0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0offset-list 1 in 2 s0\/1<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>For filtering purposes, offset number 16 can be used<\/p>\n<p>&nbsp;<\/p>\n<p>Scenario -&gt; Filter all network from R3<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 permit any<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0offset 1 in 16 s0\/1<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&#8211; or &#8211;<\/p>\n<p>&nbsp;<\/p>\n<p>! No ACL needed<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0offset-list 0 in 16 s0\/1<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>Filtering By Manipulating AD<\/b><\/p>\n<p>&#8211; AD 255<\/p>\n<p>-&gt; Unreachable<\/p>\n<p>-&gt; Route deleted from the routing table<\/p>\n<p>&nbsp;<\/p>\n<p>Scenario -&gt; Filter network 50.0.0.0 from any router<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 permit 50.0.0.0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0distance 255 0.0.0.0 255.255.255.255 1<\/span><\/p>\n<p>-&gt; 0.0.0.0 255.255.255.255 &#8211; the source<\/p>\n<p>-&gt; 1 &#8211; ACL<\/p>\n<p>&nbsp;<\/p>\n<p>Scenario -&gt; Filter 50.0.0.0 from R3 (123.0.0.3)<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">access-list 1 permit 50.0.0.0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0distance 255 123.0.0.3 0.0.0.0 1<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>RIP Miscellaneous Topics<\/b><\/p>\n<p>&#8211; Change timers<\/p>\n<p>&#8211; Unicast updates<\/p>\n<p>&#8211; Triggered updates<\/p>\n<p>&#8211; Send \/ receive version<\/p>\n<p>&nbsp;<\/p>\n<p><b>Changing Timers<\/b><\/p>\n<p>&#8211; rip configation<\/p>\n<p>&#8211; inside interface<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0timers basic<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">int fa0\/0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip rip advertise<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174512-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-178\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174512-1-300x96.jpeg\" alt=\"20141114_174512-1\" width=\"300\" height=\"96\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174512-1-300x96.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174512-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Scenario -&gt; Change the RIP timers to 20, 90, 90, 120, but keep the update time to 30 seconds for fa0\/0<\/p>\n<p>&nbsp;<\/p>\n<p>R1(config)# <span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0timers basic 20 90 90 120<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">int fa0\/0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip rip advertise 30<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>Unicast Updates<\/b><\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174518-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-179\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174518-1-300x121.jpeg\" alt=\"20141114_174518-1\" width=\"300\" height=\"121\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174518-1-300x121.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174518-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>To switch to unicast updates<\/p>\n<p>&#8211; Stop sending multicast updates<\/p>\n<p>&#8211; Start sending unicast updates<\/p>\n<p>&nbsp;<\/p>\n<p>On R1 \/ R2:<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">router rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0passive-interface fa0\/0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0neighbor 12.0.0.x<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>Triggered Updates<\/b><\/p>\n<p>&#8211; Any serial (point-to-point) interface the periodic updates can be disabled and made triggered<\/p>\n<p><a href=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174525-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-180\" src=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174525-1-300x87.jpeg\" alt=\"20141114_174525-1\" width=\"300\" height=\"87\" srcset=\"https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174525-1-300x87.jpeg 300w, https:\/\/feralpacket.org\/wp-content\/uploads\/2015\/01\/20141114_174525-1.jpeg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>On R1 \/ R2:<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">int s0\/0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip rip triggered<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">debug ip rip<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">sh ip protocols<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Send | Receive Version<\/p>\n<p>&#8211; By default if the version command is not used, then all interfaces<\/p>\n<p>-&gt; Send v1 updates<\/p>\n<p>-&gt; Receive v1 and v2 updates<\/p>\n<p>&#8211; If the version command is used, the interfaces will send and receive the version specified<\/p>\n<p>&#8211; The impact of the version command can be overridden by using interface specific commands<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">int fa0\/0<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip rip send version { 1 | 2 }<\/span><\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">\u00a0\u00a0ip rip receive version { 1 | 2 }<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"background-color: #fffaa5; -evernote-highlight: true;\">sh ip protocols<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>router rip will not display in show run if a network statement is not configured<\/p>\n<p>ip rip advertise 30 will not show up in the sh run config because it is the default configuration<\/p>\n<p>&#8211; Use sh ip route to verify the proper networks are received on the interface<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RIPv2 &#8211; UDP port 520 &#8211; Multicast IP 224.0.0.9 &#8211; Classless (not by default) -&gt; Cannot have discontiguous networks &#8211; Metric is hop count &#8211; Metric 16 is\u00a0\u00a0infinite\u00a0\u00a0metric &#8211; Timers -&gt; Update timer: \u00a0\u00a030 seconds -&gt; Invalid timer: \u00a0\u00a0180 seconds -&gt; Holddown timer: \u00a0\u00a0180 seconds -&gt; Flush timer: \u00a0\u00a0240 seconds &#8211; Supports authentication -&gt; Plain [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[30,21,26,10],"class_list":["post-274","post","type-post","status-publish","format-standard","hentry","category-ccie","tag-ccie","tag-rip","tag-ripv2","tag-service-provider"],"_links":{"self":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=274"}],"version-history":[{"count":6,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/274\/revisions"}],"predecessor-version":[{"id":280,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/274\/revisions\/280"}],"wp:attachment":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}