How To Configure RIP Routing For Cisco IOS? – POFTUT

How To Configure RIP Routing For Cisco IOS?

Hi today we will look for some networking stuff. Up to now I have not written any routing related technical post. In this article I am gonna show you some simple dynamic routing with RIP protocol. Routing is divided in to two part which one is static. In static routing routes are configured in router by typing every detail of the route and all things configured are used  in routing. But in dynamic routing we configure the general rules and then let the network generate specific rules according to the config.

For example if you need to statically route A, B, C  networks through D network you should write separate route all of the three networks in each router. But in dynamic routing you should only write three route in one router. Other routers get theses routes with dynamic routing protocols. Now let start typing commands.

Set Static IP Addresses For Interfaces

First we need to configure the ip address of the interfaces that play in routing.

Check Connectivity

Now we should check the L3 connectivity. One direction check is enough

LEARN MORE  Linux curl Command Tutorial With Examples

Enable RIP Routing Service

Ok now we can start describing networks for routing. With network command we specify network that will be used for rip routing. There is two main effect of this command. First we specify that this network will be used for rip routing which means this network address will be learned byt other routers. Second the interface this network belongs to start rip communication like sending and receiving rip packets. Auto-summary command makes routing classfull which is generally not used today so we disable it with no auto-summary command. If you have problem with rip routing look first this auto-summary option.

Troubleshoot RIP Protocol

To see that rip protocol works we can debug rip packets with debug ip route command. We see that rip is sending packets but not receiving yet because we didn’t configured other router.

LEARN MORE  What is Default Gateway and How To Find Current Default Gateway In Windows and Ubuntu?

Configure RIP On Interface

Now it is time to configure R3. so we can set neighbour-ship with R1 and see rip in work. As you can see after describing network R3 created neighbour-ship with R1

Print/List RIP Configuration and Information

If you look to rip database and routing table you will see new route is added. The new route id send from R3 to R1. New route is the et0/1 interface and network of R3. Than we ping to the ip of the new route. sh ip rip database command shows rip database. show ip route command shows routing table.

LEARN MORE  How To Choose USB Wi-Fi Adapter and Best Wi-Fi Adaptors

Leave a Reply

Your email address will not be published. Required fields are marked *

Enjoy this blog? Please spread the word :)