Configuring RIPv2 Dynamic Routing on Cisco Packet Tracer
Hello guys… ^_^
For this time, I will share a discussion regarding Dynamic Routing RIPv2, which in the previous discussion we discussed Static Routing<If you haven’t read and know about it, you can read it at the following link: Static-Routing>. Okay, straight to the scene, guys… 🧑🚀
Routing Dynamic??? Routing Static???
To make it easier to understand what Dynamic Routing is and what the difference is with Static Routing, here are the differences between the two routing methods:
Static Routing:
* routing table created and updated manually by admin
Static routes for each network must be configured on each router
* provides full control of routing configuration but is not practical for large networks
* not fault-tolerant, changes to infrastructure (connection down, adding a new network) require manual updating
Dynamic routing:
*routing tables are created and updated by the routing protocol running on the router.
*routers share routing information with other routers periodically.
*Able to dynamically choose a different path if there is a change in the infrastructure.
*example: routing information protocol (RIP), enhanced interior gateway routing protocol (EIGRP), and open shortest path first (OSPF).
Routing Information Protocol (RIP)
RIP was first defined in RFC 1058 in 1988. RIP is a simple distance-vector protocol that uses the number of hops as the metric unit. RIP is designed for small networks with a maximum hop count of 15.
There are three versions, namely RIP, RIPv2, and RIPng. RIP only supports classful routing. RIPv2 adds support for subnetting and classless inter-domain routing (CIDR). RIPng is an extension of RIPv2 for IPv6 networks (Nemeth et al. 2010).
Although it seems old-fashioned, RIP is still widely used because it is simple, easy to configure, and works well on low-complex networks.
Example of Dynamic Routing Problem — RIPv2
This time the case example that I will give is to configure and connect between different networks using RIPv2 Dynamic Routing.
Here’s the topology:
From the picture above, it can be seen that there are:
- 3 PCs with the names PC0 (Network A), PC1 (Network B), and PC2 (Network C)
- 3 Switches with type 2960
- 3 routers with the name Router1, Router2, and Router3 with type 2911.
and the following information for the Addressing Table:
Basic Router Device Configuration
Before we do the basic configuration of each of these Router devices, the first step is to connect the PC to the Router via the Console cable.
The trick is to select the cable on the Connection Tab Bottom menu and then select the Console cable.
Then connect the cable from the PC (RS 232) to the Router (Console Port).
then go to PC0 (Incidentally here I did the configuration on Router1 first) > Desktop > Terminal > Terminal Configuration (Default) > OK, it will appear as shown below:
Then do the basic configuration on each Router device (Router 1, Router 2, and Router 3) as shown below:
Notes:
- hostname: To change the name of a Router device
- no IP domain-lookup: This function configures so that it is not translated as a domain/host name when you type a command error because this sometimes takes a long time which is inefficient.
- Enable secret: For encrypted password configuration.
- Line con 0: Line Console is a physical port used to configure when the router still doesn’t have a network configuration, so it goes directly from the PC/Laptop to the console port.
Password: To provide a password when trying to log in using a console cable.
Exec-timeout: To give the active time of the terminal session (in minutes).
login: to enable the use of password
Synchronous Logging: functions so that the output that comes out of the CLI is synchronized. Later it will not disturb you while doing the configuration because what you are typing will not be interrupted by the running output. - Line vty: line used to access router configuration via telnet or ssh.
Password: To provide a password when trying to log in using SSH or Telnet.
Exec-timeout: To give the active time of the terminal session (in minutes).
login: to enable the use of password
Synchronous Logging: functions so that the output that comes out of the CLI is synchronized. Later it will not disturb you while doing the configuration because what you are typing will not be interrupted by the running output. - Copy running-configuration startup-configuration: we will move/copy everything in the running-config into the startup-config, Or it could be with the command write or wr just enough. This is where the function of all this is so that the configuration will not be lost, even if our router is turned off.
RIPv2 Routing Configuration (Router1, Router2, and Router3)
- Router1
For Router1, we will connect it to Network B and Network C. So to connect, it can be done by configuring Dynamic Routing RIPv2 as below:
Notes:
passive-interface: serves to make the interface not send routing table updates to reduce network traffic density.
- Router2
For Router2, we will connect it to Network A and Network C. So to connect, it can be done by configuring RIPv2 Dynamic Routing as below:
- Router3
For Router3, we will connect it to Network A and Network B. So to connect, it can be done by configuring Dynamic Routing RIPv2 as below:
Static IP Configuration On Each PC (PC0, PC1, and PC2)
- PC0 Static IP Configuration
- PC1 Static IP Configuration
- PC2 Static IP Configuration
FINAL!! <Perform a PING Test experiment on each Network A, B, and C>
Oops!! Before FINAL, there is an important configuration for RIPv2. That is no-autosummary which functions so that networks are not combined into a class full and saves on the routing table to reduce the load on the router’s CPU process (summarizing its IP).
To run it is quite easy, namely, go to Router RIP> no auto-summary, then run the command to save the configuration, so it doesn’t get lost. The configuration can be seen in the image below.
Perform the configuration to each Router device (Router 1, Router 2, and Router 3).
If so, continue the PING test process between PC devices.
- PC0 > PC1 and PC0 > PC2
- PC1 > PC0 and PC1 > PC2
- PC2 > PC0 and PC2 > PC1
FINISH!!
Maybe that’s all I can share with friends. If you have input and suggestions, please comment.
Thank you, hopefully, useful, and don’t forget to share with other friends. ^_^
#Admin #RoutingSwitchingRIPv2 #cisco #cybersecurity #information-technology #indonesia