RIP Exercises
RIP Exercises
RIP Exercises
3.Enable RIP and advertise the network between the routers and the network of loopback
interfaces.
R1 configuration:
R1#
R1#configure terminal
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#exit
R1#
Step 2: Creating loopback interface
R1#
R1#configure terminal
R1(config)#interface loopback 1
R1(config-if)#ip address 10.0.0.1 255.0.0.0
R1(config-if)#exit
R1(config)#exit
R1#
R1#show ip route
R1#
R1#configure terminal
R1(config)#router rip
R1(config-router)#network 192.168.1.0
R1(config-router)#network 10.0.0.0
R1(config-router)#exit
R1(config)#exit
R1#
R2 configuration:
Configuring IP address in R2
R2#
R2#configure terminal
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 192.168.1.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#exit
R2#
R2#
R2#configure terminal
R2(config)#interface loopback 1
R2(config-if)#ip address 20.0.0.1 255.0.0.0
R2(config-if)#exit
R2(config)#exit
R2#
R2#show ip interface brief
R2#show ip route
R2#
R2#configure terminal
R2(config)#router rip
R2(config-router)#network 192.168.1.0
R2(config-router)#network 20.0.0.0
R2(config-router)#exit
R2(config)#exit
R2#
R1#show ip route
R2#show ip route
“show ip route” will show all types of routes (connected, static, rip, ospf etc) , if you are
looking only for particular type try the following method
In [120/1] , 120 represents RIP’s administrative distance and 1 represent the metric to reach
this network 10.0.0.0
The timer 00:00:24, shows that RIP received the last update 24 seconds back