Welcome to my 8th lab in guiding you toward your CCNA Certification where you are going to learn how to configure RIP which is a routing protocol that keeps you from having to use static routes everywhere. Don’t get me wrong, in some cases it is important to have static routes, configuring a routing protocol can save you a lot of time and can auto adjust to failures if they occur.
If you haven’t read any of the previous labs I suggest you start there. This lab builds off of lab 07 where we configured three routers with ip address and set up static routes so that we could ping between them.
This tutorial uses Networkcraft – The Online Network Simulator, which consists of the three terminal windows shown below. You can type in them to configure each of the routers, just like you would to configure an actual cisco router.
And in the image below is the topology layout of the three routers that we will be using in this tutorial. The first thing that we are going to do is configure each of the ip address on each of the interfaces just like they are marked in the topology.
*NOTE: If you want to follow along with the tutorial and still type in each of the terminal windows of each of the routers without having to scroll up and down all the time it might be easier to open this page in another window and arrange them on the screen so that you can look at them side by side.
Step 1: Configure the e0 interface on Router 1
I’m going to go a little faster through these steps because we’ve already done these steps multiple times in the previous tutorials.
Here are the commands to configure the e0 interface on r1:
Router>enable Router#config t Router(config)#hostname r1 r1(config)#interface e0 r1(config-if)#ip address 10.10.1.2 255.255.255.0 r1(config-if)#no shutdown r1(config-if)#exit r1(config)#exit r1#
Step 2: Configure the e0 and e1 interface on Router 2
We are going to configure two interfaces this time, e0 and e1. Here are the commands:
Router>enable Router#config t Router(config)#hostname r2 r2(config)#interface e0 r2(config-if)#ip address 10.10.1.1 255.255.255.0 r2(config-if)#no shutdown r2(config-if)#interface e1 r2(config-if)#ip address 10.10.2.1 255.255.255.0 r2(config-if)#no shutdown r2(config-if)#exit r2(config)#exit r2#
Notice that we can go straight from interface e0 mode to interface e1 mode without having to exit down to configuration mode first.
Step 3: Configure the e0 interface on Router 3
Just like we did for r1 let’s configure an ip address on the e0 interface but in the ’10.10.2.0′ network:
Router>enable Router#config t Router(config)#hostname r3 r3(config)#interface e0 r3(config-if)#ip address 10.10.2.2 255.255.255.0 r3(config-if)#no shutdown r3(config-if)#exit r3(config)#exit r3#
Step 4: Test our connection from r1 to r2
Now, let’s try and see if things are working correctly and see if we can communicate with r2 from r1:
If everything is working correctly you should get output printed to the terminal similar to this one: (don’t forget to scroll down)
Step 5: Try to ping from r1 to r3 (crazy!)
Now, let’s try something crazy and see if we can talk to r3 all the way from r1. Type in the following command in r1:
This should fail and you should get a 0% success rate. Remember from lab 07 that this doesn’t work because we don’t have an entry in our routing table for the ’10.10.2.0′ network.
If you want to look at our routing table you can with the ‘sh ip route’ command. You will see that there is only one entry.
Step 6: Configure RIP on each of the routers
Now we are going to configure RIP on each of the routers. RIP is a routing protocol which allows each of the routers to talk to each other and give updates about how each one is doing. Follow these commands to configure RIP on each router.
Configure RIP on r1:
r1# r1#config t r1(config)#router rip r1(config-router)#network 10.10.1.0 r1(config-router)#network 10.10.2.0 r1(config-router)#exit r1(config)#exit r1#
Configure RIP on r2:
r2# r2#config t r2(config)#router rip r2(config-router)#network 10.10.1.0 r2(config-router)#network 10.10.2.0 r2(config-router)#exit r2(config)#exit r2#
Configure RIP on r3:
r3# r3#config t r3(config)#router rip r3(config-router)#network 10.10.2.0 r3(config-router)#network 10.10.1.0 r3(config-router)#exit r3(config)#exit r3#
Step 7: Look at our routing table
Now that we have RIP set up let’s look at our routing table on r1:
r1#sh ip route
After you type in the ‘sh ip route’ command you should get the following output after you scroll down:
As you can see from the last line of the output we now have a route for the 10.10.2.0 network.
Step 8: Now we can ping from r1 to r3
Now that we have RIP setup on each of the routers we should be able to ping from r1 to r3:
After you ping r3 from r1 you should get the following output:
Look it worked this time!
Congratulations you just completed Lab 08. Where you learned how to set up RIP instead of using static routes like you did in the previous lab.
I know that sometimes it’s nice to watch some one go through the whole process and can help clear up any spots you got stuck on.
Thanks for taking the time to go through this lab and I hope that it can help further you a long in your pursuit of your CCENT or CCNA Certification. Please leave a comment below with any suggestions or questions that you may have.