Open In App

Configuring RIP Static Neighbors

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

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.

Hop Count:

Hop count is the number of routers occurring between the source and destination network. The path with the lowest hop count is considered the best route to reach a network and therefore placed in the routing table. The maximum hop count allowed for RIP is 15 and a hop count of 16 is considered as network unreachable.

Features of RIP:

  • Updates of the network are exchanged periodically. 
  • Updates (routing information) are always broadcast. 
  • Full routing tables are sent in updates. 
  • Routers always trust routing information received from neighbor routers. This is also known as Routing on rumors.

Configuring RIP:

Step 1. Drag and drop 2 Routers and 2 PCs.

Configuring RIP

 

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.

Configuring RIP

 

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.

Configuring RIP

 

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

 


Last Updated : 12 Dec, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads