Search...

Loading

Thursday, December 8, 2011

Configuring RIP on cisco routers

God day!!!

Just want to apologize for my English. I am from Belarus and if there are errors, then feel free to write about them, I will correct them :).
In last post I was writing about how to configure a static routing on cisco routers. Today, I want to introduce to you post about how to configure a dynamic routing protocol RIP. In our time he use very rarely, but you need to know about him.
Interested? Then welcome…


Information, about this protocol, you may find in Internet, so we do not stop on this.
Network, which we will configure, look like this:


Our task is to have a ping between hosts.
Let’s begin to work. Start our routers and configure them.
Router R1:

Router_1>en
Router_1#conf t
Router_1(config)#int fa 0/0
Router_1(config-if)#ip address 172.16.10.1 255.255.255.0
Router_1(config-if)#description To_host
Router_1(config-if)#no sh
Router_1(config-if)#int ser 0/0
Router_1(config-if)#ip address 172.16.20.1 255.255.255.252
Router_1(config-if)#description To_Router_2
Router_1(config-if)#no sh
Router_1(config-if)#exit
Router_1(config)#^Z
Router_1#wr
Building configuration...
[OK]
Router_1#


Router R2:

R2>en
R2#conf t
R2(config)#hostname Router_2
Router_2(config)#int fa 0/0
Router_2(config-if)#ip address 172.16.30.1 255.255.255.0
Router_2(config-if)#description To_host
Router_2(config-if)#no sh
Router_2(config-if)#int ser 0/0
Router_2(config-if)#ip address 172.16.20.2 255.255.255.252
Router_2(config-if)#no sh
Router_2(config-if)#description To_Router_2
Router_2(config-if)#int ser 0/1
Router_2(config-if)#ip address 172.16.40.1 255.255.255.252
Router_2(config-if)#no sh
Router_2(config-if)#description To_Router_3
Router_2(config-if)#exit
Router_2(config)#^Z
Router_2#wr
Building configuration...
[OK]
Router_2#


Router R3:

R3>en
R3#conf t
R3(config)#hostname Router_3
Router_3(config)#int fa 0/0
Router_3(config-if)#ip address 172.16.50.1 255.255.255.0
Router_3(config-if)#no sh
Router_3(config-if)#description To_host
Router_3(config-if)#int ser 0/1
Router_3(config-if)#ip address 172.16.40.2 255.255.255.252
Router_3(config-if)#description To_Router_2
Router_3(config-if)#no sh
Router_3(config-if)#exit
Router_3(config)#^Z
Router_3#wr
Building configuration...
[OK]
Router_3#


Ok, now check network connection between routers:




Now, let’s test network availability between routers and hosts and make sure that there are no pings between hosts at this moment.




How you can see, we have ping between routers and hosts, but between hosts we don’t have any network availability. Let’s fix this problem.
Let's go to routers by turn and make the following configuration:

Router_1#conf t
Router_1(config)#router rip – enter on RIP configuration mode;
Router_1(config-router)#version 2 – choosing version 2;
Router_1(config-router)#network 172.16.0.0 – add network;
Router_1(config-router)#no auto-summary – turn off auto-summary;
Router_1(config-router)#exit
Router_1(config)#exit
Router_1#wr


Router_2#conf t
Router_2(config)#router rip
Router_2(config-router)#version 2
Router_2(config-router)#network 172.16.0.0
Router_2(config-router)#no auto-summary
Router_2(config-router)#exit
Router_2(config)#exit
Router_2#wr


Router_3#conf t
Router_3(config)#router rip
Router_3(config-router)#version 2
Router_3(config-router)#network 172.16.0.0
Router_3(config-router)#no auto-summary
Router_3(config-router)#exit
Router_3(config)#exit
Router_3#


You must remember that adding networks in RIP process are doing by classful networks. That is correct 172.16.0.0, instead 172.16.10.0.
Ok, we finished. Let’s check our work. For this, we look at the routing table on routers and check network availability between hosts.







How you can see on the pictures, all work fine. We have configured RIP on cisco routers.
For detailed configuration of RIP there are some main commands:
  • Router(config-router)#no network w.x.y.z – delete network from RIP process;
  • Router(config-router)#version 1 – turn on RIP process version 1;
  • Router(config-router)#passive-interface s0/0/0 – disables sending RIP updates on a given interface (by default, sending updates enabled on all interfaces);
  • Router(config-router)#timers basic <> - with this command you may configure any RIP timers (time to response, time for updates and other);
  • Router#debug ip rip – turn on debug mode for RIP. In this mode you can view all information about protocol in real time;
  • Router#show ip rip – view information about RIP protocol;
  • Router#show ip rip database – view information about RIP routing database;
On this step, I want to finish my post. Thanks for attention, I hope, you have received for yourselves the helpful information.


If you have a questions or comments, then do not be afraid to write me!!!! This is my contact information. I will pleased to answer!!!!

I’m waiting for you in next posts!!!

With best regards, Ant0ni0n

No comments:

Post a Comment