Redistribution of RIP, IGRP and OSPF
These labs are not as good as the labs in our full blown CCNA Lab Workbook. The labs in our full blown CCNA lab workbook include theory as we step you through each lab, detailed information on why you are entering each command and review questions and answers at the end of the labs. So these labs are ok for free…but we offer a much better product consisting of 60 labs covering 400 pages of CCNA material to help you pass your CCNA Certification Exam in the workbook at this link CCNA Lab Workbook!
Objective:
In this lab you will redistribute the dynamic routing protocols RIP, IGRP and OSPF. You will then run basic testing commands to verify all links and protocols are working properly.
Hardware Requirements:
· Two Cisco routers with one Ethernet port and one serial port
· Two Cisco routers with two serial ports
· Cisco IOS 12.0 or higher
· A PC running a terminal emulation program
· Three back to back DTE/DCE serial cables
· Cisco console kit
Router Configurations
Router 1
Router#conf t
Router(config)#hostname R1
R1(config)#enable password cisco
R1(config)#line vty 0 4
R1(config-line)# password cisco
R1(config-line)# login
R1(config)#int Loopback0
R1(config-if)# ip address 1.1.1.1 255.255.255.255
R1(config-if)# no shut
R1(config)#int s0
R1(config-if)# ip address 10.1.1.1 255.0.0.0
R1(config-if)# no shut
R1(config-if)# clockrate 64000
R1(config)#int s1
R1(config-if)# ip address 11.1.1.1 255.0.0.0
R1(config-if)# no shut
R1(config-if)# clockrate 64000
R1(config-if)#router ospf 100
R1(config-router)# redistribute rip
R1(config-router)# network 10.0.0.0 0.255.255.255 area 0
R1(config)#router rip
R1(config-router)# redistribute ospf 100
R1(config-router)# network 1.0.0.0
R1(config-router)# network 11.0.0.0
R1(config-router)# default-metric 2
R1(config)#no ip classless
R1(config)#end
R1# wr
Router 2
Router#conf t
Router(config)#hostname R2
R2(config)#enable password cisco
R2(config)#line vty 0 4
R2(config-line)# password cisco
R2(config-line)# login
R2(config)#int Loopback0
R2(config-if)# ip address 2.2.2.2 255.255.255.255
R2(config-if)# no shut
R2(config)#int Loopback1
R2(config-if)# ip address 2.2.2.1 255.255.255.255
R2(config-if)# no shut
R2(config)#int Loopback3
R2(config-if)# ip address 20.20.20.20 255.0.0.0
R2(config-if)# no shut
R2(config)#int s0
R2(config-if)# ip address 10.1.1.2 255.0.0.0
R2(config-if)# no shut
R2(config)#int s1
R2(config-if)# ip address 12.1.1.2 255.255.255.0
R2(config-if)# no shut
R2(config)#router ospf 100
R2(config-router)# redistribute igrp 200 subnets
R2(config-router)# network 2.2.2.2 0.0.0.0 area 0
R2(config-router)# network 10.0.0.0 0.255.255.255 area 0
R2(config)#router igrp 200
R2(config-router)# redistribute ospf 100 metric 200000 5 100 200 100
R2(config-router)# network 12.0.0.0
R2(config-router)# network 20.0.0.0
R2(config)#no ip classless
R2(config)#end
R2#wr
Router 3
Router#conf t
Router(config)#hostname R3
R3(config)#enable password cisco
R3(config)#line vty 0 4
R3(config-line)# password cisco
R3(config-line)# login
R3(config)#int Loopback0
R3(config-if)# ip address 3.3.3.3 255.255.255.255
R3(config-if)# no shut
R3(config)#int Loopback1
R3(config-if)# ip address 3.3.3.4 255.255.255.255
R3(config-if)# no shut
R3(config)#int e0
R3(config-if)# ip address 193.1.1.3 255.255.255.0
R3(config-if)#no keepalive
R3(config-if)# no shut
R3(config)#int s0
R3(config-if)# ip address 11.1.1.3 255.0.0.0
R3(config-if)# no shut
R3(config)#router rip
R3(config-router)# network 3.0.0.0
R3(config-router)# network 11.0.0.0
R3(config-router)# network 193.1.1.0
R3(config)#no ip classless
R3(config)#end
R3# Wr
Router 4
Router#conf t
Router(config)#hostname R4
R4(config)#enable password cisco
R4(config)#line vty 0 4
R4(config-line)# password cisco
R4(config-line)# login
R4(config)#int Loopback0
R4(config-if)# ip address 4.4.4.4 255.255.255.255
R4(config-if)# no shut
R4(config)#int e0
R4(config-if)# ip address 192.168.1.4 255.255.255.0
R4(config-if)#no keepalive
R4(config-if)# no shut
R4(config)#int s0
R4(config-if)# ip address 12.1.1.4 255.0.0.0
R4(config-if)# clockrate 64000
R4(config-if)# no shut
R4(config)#router igrp 200
R4(config-router)# network 4.0.0.0
R4(config-router)# network 12.0.0.0
R4(config-router)# network 192.168.1.0
R4(config)#no ip classless
R4(config)# end
R4# wr
Testing the Configuration
Router 1
R1#sh ip route
(Output omiited)
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2
R 3.0.0.0/8 [120/1] via 11.1.1.3, Serial0/1
O E2 4.0.0.0/8 [110/20] via 10.1.1.2, Serial0/0
O E2 20.0.0.0/8 [110/20] via 10.1.1.2, Serial0/0
C 10.0.0.0/8 is directly connected, Serial0/0
C 11.0.0.0/8 is directly connected, Serial0/1
R 193.1.1.0/24 [120/1] via 11.1.1.3, Serial0/1
12.0.0.0/24 is subnetted, 1 subnets
O E2 12.1.1.0 [110/20] via 10.1.1.2, Serial0/0
O E2 192.168.1.0/24 [110/20] via 10.1.1.2, Serial0/0
R1#ping 4.4.4.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms
R1#ping 192.168.1.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/58/60 ms
R1#sho ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
20.20.20.20 1 FULL/ – 00:00:33 10.1.1.2 Serial0/0
Router 2
R2#sh ip route
(Output omitted)
Gateway of last resort is not set
2.0.0.0/32 is subnetted, 2 subnets
C 2.2.2.2 is directly connected, Loopback0
C 2.2.2.1 is directly connected, Loopback1
O E2 3.0.0.0/8 [110/20] via 10.1.1.1, 00:17:49, Serial0
I 4.0.0.0/8 [100/8976] via 12.1.1.4, 00:00:24, Serial1
C 20.0.0.0/8 is directly connected, Loopback3
C 10.0.0.0/8 is directly connected, Serial0
O E2 11.0.0.0/8 [110/20] via 10.1.1.1, 00:17:49, Serial0
O E2 193.1.1.0/24 [110/20] via 10.1.1.1, 00:17:49, Serial0
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, Serial1
I 192.168.1.0/24 [100/8576] via 12.1.1.4, 00:00:24, Serial1
R2#ping 4.4.4.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/39/52 ms
R2#ping 193.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 193.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/59/60 ms
R2#sho ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 1 FULL/ – 00:00:35 10.1.1.1 Serial0
Router 3
R3#sh ip route
(Output omitted)
Gateway of last resort is not set
R 1.0.0.0/8 [120/1] via 11.1.1.1, 00:00:16, Serial0
R 2.0.0.0/8 [120/3] via 11.1.1.1, 00:00:16, Serial0
3.0.0.0/32 is subnetted, 2 subnets
C 3.3.3.3 is directly connected, Loopback0
C 3.3.3.4 is directly connected, Loopback1
R 4.0.0.0/8 [120/3] via 11.1.1.1, 00:00:16, Serial0
R 20.0.0.0/8 [120/3] via 11.1.1.1, 00:00:16, Serial0
R 10.0.0.0/8 [120/2] via 11.1.1.1, 00:00:16, Serial0
C 11.0.0.0/8 is directly connected, Serial0
C 193.1.1.0/24 is directly connected, Ethernet0
R 12.0.0.0/8 [120/3] via 11.1.1.1, 00:00:16, Serial0
R 192.168.1.0/24 [120/3] via 11.1.1.1, 00:00:16, Serial0
R3#ping 4.4.4.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 92/98/120 ms
R3#ping 193.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 193.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
R3#ping 192.168.1.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 88/96/120 ms
Router 4
R4#sho ip route
(Output omitted)
Gateway of last resort is not set
I 2.0.0.0/8 [100/8976] via 12.1.1.2, 00:01:01, Serial0
I 3.0.0.0/8 [100/8481] via 12.1.1.2, 00:01:02, Serial0
4.0.0.0/32 is subnetted, 1 subnets
C 4.4.4.4 is directly connected, Loopback0
I 20.0.0.0/8 [100/8976] via 12.1.1.2, 00:01:02, Serial0
I 10.0.0.0/8 [100/10476] via 12.1.1.2, 00:01:02, Serial0
I 11.0.0.0/8 [100/8481] via 12.1.1.2, 00:01:02, Serial0
I 193.1.1.0/24 [100/8481] via 12.1.1.2, 00:01:02, Serial0
C 12.0.0.0/8 is directly connected, Serial0
C 192.168.1.0/24 is directly connected, Ethernet0
R4#ping 193.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 193.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 84/86/88 ms
R4#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 88/88/88 ms