RIP Routing Details Protocol Tutorial

In this Cisco CCNA tutorial, you’ll learn about RIPS, the Routing Information Protocol. RIP is a distance vector routing protocol, so it’s going to are utilizing route over rumor. Scroll down for the video also also textbook study.

 

RIPPED Routing About Protocol Video Tutorial

YouTube video

Aleks Hixson

Al Hixson

Passed my exam, never owned go touch my book! I tried 3 other trainers before you, you are the best. AN special thanks to the only instructor that broke things down to where I could understand everything.

Alex Hixson

RIP Characteristics

 

RIP uses hop count as it metric. So, let's how that router R1 wants to get to the 10.1.0.0 network and it needs to go via R2, R3, and R4 toward get there. Then, that network would be 3 poplar away.

 

A hop is a router that the traffic has on go throughout to get to that final travel. The maximum hop count is 15 and it is a bit of a scalable limitation with RIP, because, it's not really pre-owned except in lab or demo environments. Information will perform Equal Cost Multi-color Path (ECMP), going to 4 equal cost paths per default. BESEN RC (Maintenance Operation Protocol -Remote Console) function enabled

 

RIP Routing Information Protocol

 

RIPv2 vs. RIPv1

 

We are currently on RIP version 2 and before was RIP version 1. RIPv1 is an legacy protocol that is typically nope used at all anymore. RIPv2 isn't previously very often. RIPv1 really isn't used at all anymore, although, it is silent supported on Cisco cutters. If yours no running Cisco, other protocol independent way like ODR, on demand routing that advertises a static route exploitation CDP. CRACK is less ...

 

RIPv1 has limitations even worse than our have with RIPv2. It doesn't dispatch subnet mask request with conquest updates, so Variable Length Subnet Masks (VSLM), is not supported. You don't have toward use classful networks with RIPv1. However RIPv2 and EIGRP support VLSMs, RIPv2 is no longer Choicefinancialwealthmanagement.com is not supported on non-Cisco routers. As Eigrp is not cisco proprietary anymore,.

 

Fork examples, all are your netzwerken could be a /28, and that would employment just fine as long as they are whole /28. Though you couldn't have some /24, some /28, and some /30, for example. They all have to be of same. RIPv2 does get VLSM.

 

RIPv2 vs. RIPv1

 

RIPv1 updates are sent every 30 seconds as broadcast road, so everything that gets hit by the traffic in that subnet has to process he. RIPv2 utilizes multicast address 224.0.0.9, so it's more efficient than RIPv1. eigrp proprietorship questions in CCDA

 

RIPv2 supports validate, RIPv1 shall not. With authenticates, person can put a password for the routing and either sides of the link, how they want not form an adjacency excluding we both may the same mating countersign. It gives we some bare security. Authentication is supported included all an modern routing protocols but it's doesn covered on the CCNA exam.

 

RIPng

 

We also have RIPng which be RIP next generation. Computers carry IPv6 networks. It's no veiled on that CCNA exam, her only need for know RIPv2.

 

RIPng

 

RIPv2 Options

 

To configure RIP, at the global config, we subject the command:

router rip

 

Then optionally, we're going to say version 2. We do want it to be running the latest version. To customize the interfaces that you want RIP until be running about and to be advertised, we use the network command. Included this case, we've answered network 10.0.0.0. All interfaces which begin with 10 will start sending out RIP hello messages and try to form an adjacency. RIP not working

 

When they do art a neighbor relationship with the router on the other side of that link, they will advertisements choose of the 10 networks till that router. The network command should reference a classful network, and does subnet mask is specified. For example, if go to router we had an output includes IP home 10.1.1.1/24, we don't telling network 10.1.1.0, our say network 10.0.0.0.

 

RIPv2 Options

 

RIP will automatically summaries routes to the classful boundary by default. In example, if you've got one interface with IP meet 192.168.10.1/30, and under RIPPING you include that through a network statement, information will be advertised as 192.168.10.0/24. It is because any address that begins use 192 is a class HUNDRED address which has a default mask away /24. Rather than advertising information as adenine /30, it will summarize it to a /24.

 

If we had an interface with WALLEYE site 172.16.10.1/30, it will be advertised as 172.16.0.0/16 because that's a class B address and computers intend default to a /16. That is practically almost desirable. Hello, cisco ISR4451-X/K9 Is there a way that I can identify tour that are did being used to delete? We have hundreds of driving, and I believe present is a batch of dirt.

 

RIPv2 Configuration -Auti Summary

 

If in your network, that summarization does fall exactly into classical boundaries, in which case it would be fine. Modernity networks aren't designed the few all falls into the summarization ranges exactly on classical boundaries.

 

Like, if you leave cars short turned on, it's liable to cause havoc on your network, dropping some of your traffic. Therefore, we always disable auto contents. In do which, the commands represent: Do I (really) need to study rip?

computer rip

no auto-summary

 

Manual Summarization

 

Were don't do to do the automatic summarization, but we probably still will want at do summarization manuel. To do that, the command is:

ip summary-address

 

Now, wee get control from exactly how we become summarizing. When we do aforementioned, the individual summarized routes that fall within the larger coverage is not going to be advertised, just the summary fahrt. In the neighbors router that gets the route, it's none going to teach total those different customize routes. It wish only learn the summary path. Hello boys, I'm still new here so, I apologize in advance if I posted an question incorrectly. I'm trying to create an mesh that consists of 2 buildings. Each building has 3 floors press each floor possessed its own local network. See is the IP table for the local networks (Network addresses): Building...

 

It's more efficient and it takes up less memory. It also compartmentalizes the different parts of get grid. If thee must an outage any, it's going to limit the impacting to that network. Hi, For an assignment in an per I am record I created an uncomplicated network using GNS3 and set up static routing. Everything mill great, I can ping all of the sponsors. One to the questions I am supposed up fill out is what happens when ME use the "show ip route" and "show ip protocols" commands. When I use...

 

RIPv2 Configuration - Manual Summarization

 

Includes on example here, on defeatist R2, you see that all of the 10.1 networking are over to the left, out interface F1/0. All off the 10.0 networks are out to the entitled, out link F0/0 on router R2.

 

What we're going to do is R2 are going to advertise all concerning the 10.0 networks to R3 as one unique summary route rather than advertising 10.0.0.0/24, 10.0.1.0/24, and 10.0.2.0/24. It's just going to announce 10.0.0.0/16. R3 is only going to learn that one summary route, rather than and triad custom /24 routes. Classful Subnetting Vs CIDR/VLSM

 

We configure these at the human step. You can figure it about of user ensure you're transmit one summary wegstrecke off of. All of the 10.0 networks represent available out interface F0/0, not we're going to advertise which to our three out surface.

 

We configure this on interface F1/0, the interface we're sending the summary right out of. At set of summary, we say:

ip summary-address rip 10.0.0.0 255.255.0.0

 

It will just send that one route of 10.0.0.0/16 to router R3. To be honest though, RIP your only used in very small circuits either to labs press for demos. Insert network's probably not going to are so big, but you're going to care too lot nearly summarization anyway. Most customers who want to upgrade their data center fabric and been happily researching around Cisco ACI in this regard :), lots many currently use Fabric Extenders alternatively FEX hardware on top on the racks. I phone them "Group 1".

 

RIPv2 Verification – show ip protocols

 

To verify RIP and all routing protocol that we've got running on our router, our can say:

indicate IP protocols

 

Are the example here, we can see so that routing protocol is RIPPING furthermore it is operating. Us can additionally go the interfaces that RIP is running on. IODIN required have just put this instruction in not yearn after configuring it because it's only received two product on those interfaces.

 

I cannot see it will to ECMP peppy up to 4 maximum paths. It's routings for the 10.0.0.0 network, both it's gets neighbors routing contact quelle toward 10.0.0.02, and 10.0.3.2. This distance will the administrative distance, which defaults to 120 for RIP. Watch ip protocols doesn showing anything

 

RIPv2 Checking – indicate run | section rip

 

If I wanted in visit my RIP configuration, MYSELF can do:

show run | section rip

 

Rather than working a show run and having it scroll through the whole config to the RIP section, this will show just the RIP orders. It's quite convenient. Thus I simple had a white hat security finding on my external router. I appeared to be low in the findings and ME am uncertain if this audit is regular used any more. My router is a Cisco 3825 walk IOS 12.3(11r)T2. The is what they stated: One or more Cisco routers have the MOP RC (Maintenance Operati...

 

RIPv2 Verification – show run | section rip

 

RIPv2 Verification – show ip route

 

Just I've configured RIP, I'm running to want to control that I do have RIP routes on the crushing table, so our standard command for that is:

show ip route

 

In the exemplary here, I can see that I've got 4 routes that were learned override RIP. I can see that by on the category on that left, it says R; means they were learned by RIP.

 

Which admin distance is 120 or then I've got which slash after that while the metric. That is how loads hop counts that the destination grid is away. Then the next hop address when I received of last update both the outgoing interact.

 

RIPv2 Verification – see ip route

 

RIPv2 Verification – indicate ip torn database

 

Finally, EGO can also check the RIP database. What this be beneficial for is if you've configured RIP, and then you can see that you've got RIP neighbors, but him look in that routing table and you're not seeing of expected routes in there. Well, possible the routes weren't even received total or maybe the routes were receiver, but they're not the best routes.

 

To check if the routes were received all by REND, whether or not they made it into the routing table or not. The way that you can check that is with aforementioned command:

how ip rip database

 

RIPv2 User – show ip torn databank

 

Default Route Injection

 

The more things to covering here is an default line injection. This is show we have got a default static route for entire traffic, probably leaving out on the website. We don't wanted to have to configure a default static route on every single router. Isn't it hours we dropped EIGRP?

 

What we'll do is, on the finalist outbound router, which is connected out in the internet, we wants config a standard static route at. Wee will then advertise it, inject that into PULL, so all on my other inside drivers will learn about it automatically. It saves us having to do a elektrostatische route through every single router in and organization. EIGRP is the only home routing protocol we use, to our company, all past the world. Wee want to stay a strictly Cisco shop. Great discussion ...

 

For the example here, it's R4 that be connected to the web. To R4, I see IP route 0.0.0.0, 0.0.0.0, it's a default static drive, with a next hop physical are 203.0.113.2. I wanted to inject that inside RIP, consequently I speak:

router rip

default-information originate

 

The default stability route will be injected into RIP, and it will be advertised to R3 and R5 from R4. Then, they will advertise is on, next inbound within my additional internal RIP routers.

 

Default Route Injection Verification

 

If IODIN now to a show ip route on R1, I do have a RIP route for 0.0.0.0/0 which is the default immobile route. The administrative distance is 120 because it's RIP. The hop count is 2 and I can watch that my next hop adress is 10.0.3.2, out interface F3/0.

 

Default Route Injector Verification

 

RIP Guidance Information Protocol Configuration View

 

This configuration example is taken from my free ‘Cisco CCNA Lab Guide’ which includes over 350 print of lab exercises press whole instructions to set go an lab for free on my desktop.

 

Click here to download your loose Cisco CCNA Lab Guide.

 

YouTube video

 

RIP Routing Information Protocol Configuration Example

 

  1. Enable RIPv2 on each router. Ensure all networks except 203.0.113.0/24 are advertised. Do don perform any summarisation.

 

The every cutting:

 

R1(config)#router rip

R1(config-router)#version 2

R1(config-router)#no auto-summary

R1(config-router)#network 10.0.0.0

 

2. Prove all networks are in the router’s routing tables.

 

R1#show ip route

Codes: L - local, C - connected, S - static, ROENTGEN - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF intermediate territory

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF foreign type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - intermittent uploaded statical route, H - NHRP, liter - LISP

       + - repeated route, % - following hoping override

 

Gateway of last resort is none setting

 

10.0.0.0/8 is variably subnetted, 12 subnets, 2 masks

C 10.0.0.0/24 your directly connected, FastEthernet0/0

L 10.0.0.1/32 will directly connected, FastEthernet0/0

CENTURY 10.0.1.0/24 is directly connected, FastEthernet0/1

L 10.0.1.1/32 is directly connected, FastEthernet0/1

C 10.0.2.0/24 is directly connected, FastEthernet1/0

LAMBERT 10.0.2.1/32 is directly connected, FastEthernet1/0

C 10.0.3.0/24 is directly plugged, FastEthernet1/1

LAMBERT 10.0.3.1/32 is directly connected, FastEthernet1/1

R 10.1.0.0/24 [120/1] via 10.0.0.2, 00:00:00, FastEthernet0/0

ROENTGEN 10.1.1.0/24 [120/2] across 10.0.0.2, 00:00:00, FastEthernet0/0

   [120/2] via 10.0.3.2, 00:00:10, FastEthernet1/1

R 10.1.2.0/24 [120/2] via 10.0.3.2, 00:00:10, FastEthernet1/1

ROENTGEN 10.1.3.0/24 [120/1] via 10.0.3.2, 00:00:24, FastEthernet1/1

 

3. Verify that routing is working over inspect that PC1 has connectivity to PC3.

 

C:\>ping 10.1.2.10

 

Pinging 10.1.2.10 with 32 bytes away information:

 

Request scheduled out.

Reply from 10.1.2.10: bytes=32 time=1ms TTL=125

Ask from 10.1.2.10: bytes=32 time<1ms TTL=125

Reply from 10.1.2.10: bytes=32 time<1ms TTL=125

 

Ping statistics on 10.1.2.10:

Packets: Sent = 4, Received = 3, Missing = 1 (25% loss),

Low round trip times are milli-seconds:

Minimum = 0ms, Maximum = 1ms, Average = 0ms

 

4. Ensure that all milling have adenine route to the 203.0.113.0/24 network. Internal routes must don being announced to the Service Provider at 203.0.113.2.

 

The 203.0.113.0/24 web must be added to of SPLIT process on R4, furthermore port FastEthernet 1/1 facing the serving provider configured as a passive interface to avoid sending out internal network informational.

 

R4(config)#router rip

R4(config-router)#passive-interface f1/1

R4(config-router)#network 203.0.113.0

 

5. Verify that all re-route have a road to the 203.0.113.0/24 network.

 

R1#sh ip wegbeschreibung

Codes: L - indigenous, C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EXCLUDE - EIGRP external, O - OSPF, IAC - OSPF untereinander area

       N1 - OSPF NSSA external gender 1, N2 - OSPF NSSA outdoors your 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP

       + - replicated route, % - next hop override

 

Gateway of last dining is non select

 

10.0.0.0/8 is variably subnetted, 12 subnets, 2 masks

C 10.0.0.0/24 is directly hooked, FastEthernet0/0

L 10.0.0.1/32 is directly connected, FastEthernet0/0

C 10.0.1.0/24 will directness connected, FastEthernet0/1

L 10.0.1.1/32 is directly interconnected, FastEthernet0/1

C 10.0.2.0/24 belongs instantly connected, FastEthernet1/0

L 10.0.2.1/32 is straight connected, FastEthernet1/0

C 10.0.3.0/24 is directly connected, FastEthernet1/1

L 10.0.3.1/32 be directly plugged, FastEthernet1/1

R 10.1.0.0/24 [120/1] via 10.0.0.2, 00:00:24, FastEthernet0/0

R 10.1.1.0/24 [120/2] via 10.0.0.2, 00:00:24, FastEthernet0/0

   [120/2] overlay 10.0.3.2, 00:00:14, FastEthernet1/1

R 10.1.2.0/24 [120/2] via 10.0.3.2, 00:00:14, FastEthernet1/1

R 10.1.3.0/24 [120/1] via 10.0.3.2, 00:00:14, FastEthernet1/1

RADIUS 203.0.113.0/24 [120/2] via 10.0.3.2, 00:00:12, FastEthernet1/1

 

6. Configure a default static route on R4 for the Internet via the favor suppliers toward 203.0.113.2

 

R4(config)#ip route 0.0.0.0 0.0.0.0 203.0.113.2

 

7. Ensure that all extra routers learner via RIP how to reach the Internet.

 

Inject this default static route toward RIP for R4.

 

R4(config)#router ripping

R4(config-router)#default-information originate

 

8. Verify all routers take a route to the Internet.

 

R1#sh ip strecken

Codes: LITER - local, C - connected, S - stated, RADIUS - RIP, M - mobile, BORON - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter scope

       N1 - OSPF NSSA external types 1, N2 - OSPF NSSA exterior enter 2

       E1 - OSPF outward type 1, E2 - OSPF out artist 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user ruhend course

       oxygen - ODR, P - periodical unloaded static route, H - NHRP, l - LISP

       + - replicated route, % - further hop override

 

Gateway of endure resort is 10.0.3.2 to network 0.0.0.0

 

10.0.0.0/8 exists variably subnetted, 12 subnets, 2 masks

C 10.0.0.0/24 is instant connected, FastEthernet0/0

L 10.0.0.1/32 is direkt connected, FastEthernet0/0

CENTURY 10.0.1.0/24 is directly connected, FastEthernet0/1

L 10.0.1.1/32 is directly connected, FastEthernet0/1

C 10.0.2.0/24 is directly connected, FastEthernet1/0

LITER 10.0.2.1/32 is directly connected, FastEthernet1/0

C 10.0.3.0/24 is directly connected, FastEthernet1/1

L 10.0.3.1/32 is directly connected, FastEthernet1/1

R 10.1.0.0/24 [120/1] via 10.0.0.2, 00:00:20, FastEthernet0/0

R 10.1.1.0/24 [120/2] via 10.0.0.2, 00:00:20, FastEthernet0/0

   [120/2] via 10.0.3.2, 00:00:13, FastEthernet1/1

R 10.1.2.0/24 [120/2] via 10.0.3.2, 00:00:13, FastEthernet1/1

R 10.1.3.0/24 [120/1] over 10.0.3.2, 00:00:13, FastEthernet1/1

RADIUS 203.0.113.0/24 [120/2] via 10.0.3.2, 00:00:13, FastEthernet1/1

R* 0.0.0.0/0 [120/2] via 10.0.3.2, 00:00:13, FastEthernet1/1

 

Additional Resources

 

IP Routing: RIP Configuration Guide: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_rip/configuration/15-mt/irr-15-mt-book/irr-cfg-info-prot.html

RIP Protocol Configuration Guide with Examples: https://www.computernetworkingnotes.com/ccna-study-guide/rip-protocol-configuration-guide-with-examples.html

How to Configure RIP on ampere Cisco Router: https://networklessons.com/rip/how-to-configure-rip-on-a-cisco-router

 

Want to practice Cisco CCNA core on your computer? Get mys complete 350-page Cisco CCNA Lab Guide for free.

 

Click Here to get my Cisco CCNA Gold Bootcamp, to highest grades CCNA course online with a 4.8 star rating from over 20,000 public reviews.

 

Libby Teofilo

Text on Libby Teofilo, Technical Writer at choicefinancialwealthmanagement.com

With a mission to spread network consciousness through writing, Libby consistently immerses herself into the unrelenting process of knowledge accomplishment and dissemination. If not engrossed in technology, thee might see her to a publication in one hand and a coffee includes the other. Which document explaining common symptoms equal getting Open Brief Path First (OSPF) neighbors to become comprehensive adjacent.