Configuring RIP
Step 1. Drag and drop 2 Routers and 2 PCs.
Step 2. Connect PCs to Routers using Ethernet0 to Ethernet0/1 port and routers to Ethernet0/1 port. Click on the circled icon in the screenshot to show the ports.
Step 3. Start all the nodes using the Play Button and connect the console to all nodes using the button first left to the play button. If some nodes are not connected to the console, connect them by right-clicking the node and adding them to the console.
Step 4. Configure PCs and assign them IPs.
ip (ip-add)/(subnet-mask) (default-gateway)
For PC1:
ip 10.0.0.2/8 10.0.0.5
For PC 2:
ip 12.0.0.2/8 12.0.0.5
Step 5. Configure Routers and assign ports to their IPs.
conf t int (port-name) ip add (ip-add) (subnet-mask) no shut end
For Router 1:
conf t int f0/0 ip add 10.0.0.5 255.0.0.0 no shut exit int f0/1 ip add 11.0.0.2 255.0.0.0 no shut end
For Router 2:
conf t int f0/0 ip add 12.0.0.5 255.0.0.0 no shut exit int f0/1 ip add 11.0.0.3 255.0.0.0 no shut end
- no shut is used to keep the ports ON
- exit is used to come out one step back
- end is used to come out of terminal
Step 6. Now we’ll configure routers for RIP Routing using their own network IDs to which they are connected.
conf t router rip network (network-id) end
For Router 1:
conf t router rip network 10.0.0.0 network 11.0.0.0 end
For Router 2:
conf t router rip network 12.0.0.0 network 11.0.0.0 end
Step 7. Now the routers are connected via RIP Routing as we can see in the screenshot below. Use the command “sh ip route” to show IP routes. Here R code shows that the router’s port is connected using RIP.
Step 8. Ping PC2 from PC1 or PC1 from PC2 will be a success now.
In this way, we configure RIP Static Neighbors.
Configuring RIP Static Neighbors
Routing Information Protocol (RIP) is a dynamic routing protocol that uses hop count as a routing metric to find the best path between the source and the destination network. It is a distance-vector routing protocol that has an AD value of 120 and works on the Network layer of the OSI model. RIP uses port number 520.
Contact Us