Lab (4)
Dynamic Routing Protocols
1- Routing Information Protocol (RIP)
RIP is a dynamic routing protocol that uses hop count as a routing metric to nd the best path
between the source and the destination network. It is a distance-vector routing protocol that has
an Administrative Distance (AD) value of 120, and works on the Network layer of the OSI model.
RIP uses port number 520.
Hop count is the number of routers occurring in between the source and destination network. The
path with the lowest hop count is considered as the best route to reach a network and therefore
placed in the routing table.
RIP prevents routing loops by limiting the number of hops allowed in a path from source and
destination.
The maximum hop count allowed for RIP is 15 and a hop count of 16 is considered as
network unreachable.
RIP Versions:
Step 1: Draw the topology ,
connect the routers via serial
ports (use serial DTE cables)
fi
Step 2: at each router con gure the interfaces as follows.
Router0
Router1
Router2
fi
Step 3: Set IP addresses for the PCs
PC0 —> [Link] and Default Gateway is : [Link]
PC1 —> [Link] and Default Gateway is : [Link]
Step 4: Let’s con gure RIP on Routers
Router0
Router1
Router2
Step 5: Check the routing table using (show ip route command).
Step 6: ping from PC0 to PC1
fi