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 into two part which one is static. In static routing, routes are configured in the 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  How To Configure Cisco Routers and Switches Password?

Enable RIP Routing Service

Now we can start describing networks for routing. With network command, we specify network that will be used for rip routing. There are two main effects of this command. First, we specify that this network will be used for rip routing which means this network address will be learned by other routers. Second the interface this network belongs to start to 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 configure other routers.

LEARN MORE  What is DHCP and How It Works?

Configure RIP On Interface

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

echo '

Print/List RIP Configuration and Information

If you look to rip database and routing table you will see a new route is added. The new route id sends from R3 to R1. The new route is the et0/1 interface and network of R3. Then 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  Linux Avahi Daemon Tutorial With Examples

Leave a Reply

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