Routing Information Protocol (RIP) is a distance vector routing protocol. This means the protocol routes based on the smallest hop count between source and destination. RIP itself sends routing updates every 30seconds before throwing away any routes that it has not received updates for every 240seconds. Now if you are wondering what the difference is between a distance vector protocol and link state protoctol, I've put together two diagrams below to highlight the difference. The scenario is a packet going from R1 to R4. A distance vector protocol such as RIP will evaluate best routing based on the lowest hop count. In this case the 128Kbps ISDN line is chosen. A link state protocol such as Open Shortest Path First (OSPF) will evaluate best pathing based on least cost i.e. bandwidth. The diagram below shows its selected path.
1. GNS3 as the network emulation software.
2. I have my 3 PC's (Virtual PC's).
3. 3x switches.
4. 3x CISCO routers on IOSv 15.7 (Router - Cisco Modelling Labs Personal $199).
The IP schemas used in this lab will be (I have tried to keep the numbers simple!):
First, let's IP address the Virtual PC's:
I am now going to IP address the router interfaces attached to each of these LAN's. To make things easier to follow, I have attached interface gi0/0 of each of the routers to the LAN. The address I am going to assign to each of these interfaces is the last address in the subnet.
Finally, let's IP address the interfaces connected on the router-to-router links:
At this point I recommend firing a few pings around from the devices to ensure they have connectivity and no mistakes have been made:
Just so there is no confusion at this stage, this is how my router links are set up:
show ip protocolsThis shows the output on R3. You can clearly see the 'Last Update' time and 'Key-chain' being used. Next have a look at:
show ip routeHere you can see all the routes that your router now knows.
Email: [email protected]
Copyright © 2023 - slash-root.com