RIP(Routing Information Protocol)
Being one of the Oldest distance vector routing protocols, RIP is based on the Bellman-ford algorithm.
There are two versions of this protocol, which were published in 1998. We can find the complete documentation on internetsociety.org the file is located at RIP Official Documentation.
GNS3
Many professionals and students use Graphical Network Simulator to experiment with networking paradigms. we are using it to emulate the RIP routing algorithm.
Components
- VPCs - 2
- switch - 2
- router(c7200) - 3
Topology
Topology constructed for this exercise
Commands to set the IP address to interfaces in the router
config
interface <Interface_Name>
ip address <IP_addr> <Mask>
no shutdown
Commands used for initiating the RIP routing in a server are as follows
config
router rip
network <subnet1_network_addr>
network <subnet2_network_addr>
Nodes after assigning the IP address
Scenario analysis
Let only R1 and R3 routers be activated with the RIP routing. here we can now reach up to 192.168.2.2/24 and 192.168.1.2/24, beyond that the router R2 will not be having any knowledge of how to forward IPs between nodes around it. below ping results prove this.
once we activate the routing in Router R2, we will be able to reach the PC and another end of the network.
the Below Ping results confirm this
we can confirm the protocol that we are using by capturing the packets using the Wireshark tool. here we are using RIP version 1 we can use RIP version 2 by adding the command "version 2" during configuring RIP in the router. after the "router rip" command
Happy learning!!😊
Comments
Post a Comment