When we learned about static routing we found that a lot of manual configuration was involved and a change to the topology also required manual configuration changes. Dynamic protocols work by advertising routes to each other.
The configuration is the opposite of static routing; here, we enable dynamic routing on the required interfaces. The routing protocol then forms "neighborship" with other routers and sends them the directly-connected routes and other received routes. In this way, all routers exchange updates with one another. When a topology change occurs, those updates are also sent out by routers that learn about this loss of connectivity.
Packet Tracer offers a GUI to configure a dynamic routing protocol called RIP (Routing Information Protocol). This GUI section is similar to the static routing section. It has only one textbox for entering the network address of the directly connected network.
You may think that the rest of the configuration is similar to the Static configuration, but it isn't. Whereas in the static configuration we entered routes of other routers, in RIP, we enter the network IP addresses of the router's interfaces. By doing this, you are enabling that routing protocol on a particular interface. To configure dynamic routing with the GUI, perform the following steps:

|
Device |
RIP Network |
|---|---|
|
R1 |
|
|
| |
|
R2 |
|
|
| |
|
R3 |
|
|
| |
|
R4 |
|
|
|
If you have tried step 5 of the static routing topology, the packet would've failed as we did not enter any alternate gateway to each destination network. This is the biggest advantage of using a dynamic routing protocol.
Let's do the same thing using the CLI tab. The commands are very simple and if you have noticed the Equivalent IOS Commands section under the Config tab, you'll know them already. To configure dynamic routing by using the CLI tab, perform the following steps:
R1(config)#router rip
network command, followed by the network IP address. For the device R1, use the following commands:R1(config-router)#network 192.168.10.0 R1(config-router)#network 192.168.20.0
Now that you know how to configure basic static and dynamic routing, let's move to the routing table.