Home > Configuring RIP – GNS3 Lab

Configuring RIP – GNS3 Lab

December 3rd, 2010 Go to comments

In this tutorial we will use RIP version 2 as the routing protocol so that the loopback interface of R0 can communicate with the loopback interface of R2.

A quick summary of RIPv2:

1) Routing Information Protocol (RIP) is a true distance-vector routing protocol
2) RIP permits a hop count of up to 15, so anything that requires 16 hops is deemed unreachable.
3) RIP sends the complete routing table out to all active interfaces every 30 seconds (RIP updates occur every 30 seconds)
4) RIP version 2 does send subnet mask information with the route updates. This is called classless routing.
5) RIP only uses hop count to determine the best way to a remote network (a hop is a router)
6) Administrative Distance is 120
7) Support VLSM & discontiguous networks

Note: If you are not sure about RIP, please read my RIP tutorial first

Below is the topology of this lab



Configuring interfaces for R0, R1 & R2:

R0(config)#interface s0/0

R0(config-if)#ip address
R0(config-if)#no shutdown
R0(config-if)#interface lo0
R0(config)#ip address

R1(config)#interface s0/0
R1(config-if)#ip address
R1(config-if)#no shutdown
R1(config-if)#interface f0/0
R1(config-if)#ip address
R1(config-if)#no shutdown

R2(config)#interface f0/0
R2(config-if)#ip address
R2(config-if)#interface lo0
R2(config-if)#ip address

Before enable RIP we should check the routing table on these routers to understand what has been changed in these routers.







Notice that these 3 routers only see the directly connected routers.

Now if you ping from the loopback (or any interface) of R0 to the loopback (or any interface) of R2 then the it will not successful because R0 doesn’t know which interface it should send the packets out to reach network

Now enable RIPv2 on three routers

R0(config)#router rip
R0(config-router)#version 2

R1(config)#router rip
R1(config-router)#version 2

R2(config)#router rip
R2(config-router)#version 2

Notice that with RIP protocol we just need to type the main network without subnet mask or wildcard mask. If you type a subnetwork, it will be auto summary into the main network.

Check the routing tables of these routers we will see the differences







Now we can ping from the R0’s loopback interface to the R2’s loopback interface as the routing table of R0 has a path to R2’s loopback interface and vice versa.

If you want to check what is inside the update packet, use the command debug ip rip.


To turn off the debug ip, use the command undebug ip rip. If you want to disable all the debug processes, use the command undebug all.

Comments (9) Comments
Comment pages
1 2 3 366
  1. Anonymous
    June 4th, 2017

    Pls answer the Sahil question, My question is same.

  2. Dusty
    September 22nd, 2017

    Hey I fairly savored seeking at your website . The penned happy include been Extremely insightful. Thank you consequently dramatically!


  3. sohel
    October 12th, 2017

    absolutely awesome understanding.

  4. ahamed
    November 15th, 2017

    9tut is the best ! explains complex things in the simplest way ;) thanks guys <3

  5. Joshua
    December 5th, 2017

    Confirming the 552q dumps are valid.

  6. Rica
    January 25th, 2018

    How can i get these files like ios and gns3 files for these labs on 9tut

  7. Just me
    February 13th, 2019

    R2(config)#interface f0/0
    R2(config-if)#ip address

    add #no shutdown

  8. LE WAG
    May 15th, 2019

    très cool ce tuturiel

  9. Mehen2na
    November 3rd, 2019

    Very simple, very clear
    This would the best solution to understand how to use rip and configure a network, no need to search where it’s too complicated
    THANK YOU!!!!!!

Comment pages
1 2 3 366
Add a Comment