Routing Information Protocol (RIP)
It is a dynamic routing protocol which 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 which has AD value 120 and works on the application layer of OSI model. RIP uses port number 520.

Steps:
It is a dynamic routing protocol which 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 which has AD value 120 and works on the application layer of OSI model. RIP uses port number 520.

Steps:
1) Initially select 2 PCs, 2 Switches & 2 Routers namely, PC-1 & PC-2, Switch-1 & Switch-2 and Router-1 & Router-2 respectively.
2) Make all the necessary connections using serial gateway 0/1,
3) Assign IP Addresses, Subnet Mask and Gateway as follows-
PC-1 192.168.2.1 255.255255.0 192.168.2.2
PC-2 192.168.3.1 255.255.255.0 192.168.3.2
Switch-1 --- --- ---
Switch-2 --- --- ---
Gigabit Ethernet
Router-1 192.168.2.2 255.255.255.0 ---
Router-2 192.168.3.2 255.255.255.0 ---
Serial 0/0/1
Router-1 192.168.1.1 255.255.255.0 ---
Router-2 192.168.1.2 255.255.255.0 ---
4) After all the connections and configuring the IPs, go to CLI of Router-1 and type the command 'router RIP'. Then type the command 'network (following by the network id of the router on which they are connected, Here, 192.168.1.0 and 192.1682.0 )
COMMANDS:-
Router-1
Router>enable
Router#Configure t
Router (Config) #ip router 192.168.7.0 255.255.255.0 192.168.1.2
Router (Config) #no if route 192.168.7.0 255.255.255.0 192.168.1.2
Router (Config)# router rip
Router (Config-router) #network 192.168.1.0
Router (Config-router) #network 192.168.2.0
Router-2
Router>enable
Router#Configure A
Router (Config) #ip router 192.168.2.0 255.255.255.0 192.168.1.1
Router (Config) #no if route 192.168.2.0 255.255.255.0 192.168.1.6
Router (Config)# router rip
Router (Config-router) #network 192.168.3.0
Router (Config-router) #network 192.168.1.0
Router (Config-router) #exit
Comments
Post a Comment