RIP Configuration with Loopback Address

Router 1

Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#int s0/0/0
R1(config-if)#ip add 192.168.0.1 255.255.255.252
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown
R1(config-if)#exit

R1(config)#int loopback 1
R1(config-if)#ip add 10.0.1.1 255.255.255.0

R1(config-if)#int loopback 2
R1(config-if)#ip add 10.0.2.1 255.255.255.0

R1(config-if)#int loopback 3
R1(config-if)#ip add 10.0.3.1 255.255.255.0
R1(config-if)#^Z

R1#write

Router 2

Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#int s0/1/0
R2(config-if)#ip add 192.168.0.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#exit

R2(config)#int s0/0/0
R2(config-if)#ip add 192.168.0.5 255.255.255.252
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown
R2(config-if)#^Z

R2#configure terminal
R2(config)#int loopback 1
R2(config-if)#ip add 20.0.1.1 255.255.255.0

R2(config-if)#int loopback 2
R2(config-if)#ip add 20.0.2.1 255.255.255.0

R2(config-if)#int loopback 3
R2(config-if)#ip add 20.0.3.1 255.255.255.0
R2(config-if)#^Z

R2#write

Router 3

Router>enable
Router#configure terminal
Router(config)#hostname R3
R3(config)#int s0/1/0
R3(config-if)#ip add 192.168.0.6 255.255.255.252
R3(config-if)#no shutdown
R3(config-if)#^Z

R3#configure terminal
R3(config)#int loopback 1
R3(config-if)#ip add 30.0.1.1 255.255.255.0

R3(config-if)#int loopback 2
R3(config-if)#ip add 30.0.2.1 255.255.255.0

R3(config-if)#int loopback 3
R3(config-if)#ip add 30.0.3.1 255.255.255.0
R3(config-if)#^Z

R3#write

RIP on Router 1

R1#sh ip ro co
C 10.0.1.0/24 is directly connected, Loopback1
C 10.0.2.0/24 is directly connected, Loopback2
C 10.0.3.0/24 is directly connected, Loopback3
C 192.168.0.0/30 is directly connected, Serial0/0/0
R1#conf t
R1(config)#router rip
R1(config-router)#ver 2
R1(config-router)#no au
R1(config-router)#network 10.0.1.0
R1(config-router)#network 10.0.2.0
R1(config-router)#network 10.0.3.0
R1(config-router)#network 192.168.0.0
R1(config-router)#^Z

R1#wr

Router 2

R2#sh ip ro co
C 20.0.1.0/24 is directly connected, Loopback1
C 20.0.2.0/24 is directly connected, Loopback2
C 20.0.3.0/24 is directly connected, Loopback3
C 192.168.0.0/30 is directly connected, Serial0/1/0
C 192.168.0.4/30 is directly connected, Serial0/0/0
R2#conf t
R2(config)#router rip
R2(config-router)#ver 2
R2(config-router)#no au
R2(config-router)#network 20.0.1.0
R2(config-router)#network 20.0.2.0
R2(config-router)#network 20.0.3.0
R2(config-router)#network 192.168.0.0
R2(config-router)#network 192.168.0.4
R2(config-router)#^Z
R2#wr

Router 3

R3#sh ip ro co
C 30.0.1.0/24 is directly connected, Loopback1
C 30.0.2.0/24 is directly connected, Loopback2
C 30.0.3.0/24 is directly connected, Loopback3
C 192.168.0.4/30 is directly connected, Serial0/1/0
R3#conf t
R3(config)#router rip
R3(config-router)#network 30.0.1.0
R3(config-router)#network 30.0.2.0
R3(config-router)#network 30.0.3.0
R3(config-router)#network 192.168.0.4
R3(config-router)#^Z
R3#wr

Verification on router 1

R1#sh ip ro
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route

Gateway of last resort is not set

 10.0.0.0/24 is subnetted, 3 subnets

C 10.0.1.0 is directly connected, Loopback1
C 10.0.2.0 is directly connected, Loopback2
C 10.0.3.0 is directly connected, Loopback3
20.0.0.0/24 is subnetted, 3 subnets
R 20.0.1.0 [120/1] via 192.168.0.2, 00:00:13, Serial0/0/0
R 20.0.2.0 [120/1] via 192.168.0.2, 00:00:13, Serial0/0/0
R 20.0.3.0 [120/1] via 192.168.0.2, 00:00:13, Serial0/0/0
192.168.0.0/30 is subnetted, 2 subnets
C 192.168.0.0 is directly connected, Serial0/0/0
R 192.168.0.4 [120/1] via 192.168.0.2, 00:00:13, Serial0/0/0

Verification on Router 2

R2#sh ip ro
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route

Gateway of last resort is not set

 10.0.0.0/24 is subnetted, 3 subnets

R 10.0.1.0 [120/1] via 192.168.0.1, 00:00:20, Serial0/1/0
R 10.0.2.0 [120/1] via 192.168.0.1, 00:00:20, Serial0/1/0
R 10.0.3.0 [120/1] via 192.168.0.1, 00:00:20, Serial0/1/0
20.0.0.0/24 is subnetted, 3 subnets
C 20.0.1.0 is directly connected, Loopback1
C 20.0.2.0 is directly connected, Loopback2
C 20.0.3.0 is directly connected, Loopback3
192.168.0.0/30 is subnetted, 2 subnets
C 192.168.0.0 is directly connected, Serial0/1/0
C 192.168.0.4 is directly connected, Serial0/0/0

Verification on Router 3

R3#sh ip ro
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route

Gateway of last resort is not set

 10.0.0.0/24 is subnetted, 3 subnets

R 10.0.1.0 [120/2] via 192.168.0.5, 00:00:17, Serial0/1/0
R 10.0.2.0 [120/2] via 192.168.0.5, 00:00:17, Serial0/1/0
R 10.0.3.0 [120/2] via 192.168.0.5, 00:00:17, Serial0/1/0
20.0.0.0/24 is subnetted, 3 subnets
R 20.0.1.0 [120/1] via 192.168.0.5, 00:00:17, Serial0/1/0
R 20.0.2.0 [120/1] via 192.168.0.5, 00:00:17, Serial0/1/0
R 20.0.3.0 [120/1] via 192.168.0.5, 00:00:17, Serial0/1/0
30.0.0.0/24 is subnetted, 3 subnets
C 30.0.1.0 is directly connected, Loopback1
C 30.0.2.0 is directly connected, Loopback2
C 30.0.3.0 is directly connected, Loopback3
192.168.0.0/30 is subnetted, 2 subnets
R 192.168.0.0 [120/1] via 192.168.0.5, 00:00:17, Serial0/1/0
C 192.168.0.4 is directly connected, Serial0/1/0

Leave a Reply

Your email address will not be published. Required fields are marked *