Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
Beyond the blueprint: the older CCNA material

TutorialLab 1137 min

Lab 113: Route Redistribution between OSPF and RIP

Lab 113: Route Redistribution between OSPF and RIP

We will use the following topology to demonstrate how to perform redistribution between RIP and OSPF. We assume that all the devices have already configured with the appropriate IP addresses.

A Packet Tracer topology for route redistribution. Three 2811 routers sit in a line: Router1, Router2 and Router3. Router1 to Router2 is 192.168.0.0/24 and Router2 to Router3 is 192.168.1.0/24. Router1 also reaches PC1, a PC-PT, over 10.0.0.0/8, and Router3 reaches PC2, a PC-PT, over 20.0.0.0/8. The picture is split down the middle at Router2: everything left of the split is the RIP routing domain and everything right is the OSPF routing domain, and Router2 is called out as the redistribution router. The whole picture is captioned Route Redistribution. No interface names are shown.

  1. Once you have configure IP addresses, execute the following commands to configure RIP routing on Router1.
Router1( config)# router rip
Router1( config-router)# network 10.0.0.0
Router1( config-router)# network 192.168.0.0
Router1( config-router)# exit
  1. Next, move on to Router2 and execute the following commands to configure RIP routing.
Router2( config)# router rip
Router2( config-router)# network 192.168.0.0
Router2( config-router)# exit
  1. Next, on Router2, execute the following commands to configure OSPF routing. We assume that our OSPF routers (Router1 and Router2) belong to area 0.
Router2( config)# router ospf 100
Router2( config-router)# network 192.168.1.0 0.0.0.255 area 0
Router2( config-router)# exit
  1. The following figure shows the routing configuration of Router2.

The CLI tab of Router2 in Packet Tracer. RIP is started with "router rip" and given "network 192.168.0.0"; OSPF is then started with "router ospf 100" and given "network 192.168.1.0 0.0.0.255 area 0". So Router2 runs RIP towards Router1 and OSPF towards Router3. The prompt is the default "Router", not a renamed one.

  1. Next, move on to Router3 and execute the following commands to configure OSPF routing.
Router3( config)# router ospf 100
Router3( config-router)# network 192.168.1.0 0.0.0.255 area 0
Router3( config-router)# network 20.0.0.0 0.255.255.255 area 0
Router3( config-router)# exit
  1. Next, move on to Router1 and execute the following command to show the routing table.
Router1# show ip route

Router1's "show ip route" before any redistribution is configured. The gateway of last resort is not set and only two routes are present, both connected: 10.0.0.0/8 on FastEthernet0/0 and 192.168.0.0/24 on FastEthernet0/1. Nothing from the OSPF side of Router2 has been learned.

  1. In the preceding figure, you can see that only Router1 has only the network routes of RIP routing protocol. It cannot learn OSPF routes until we perform the route redistribution. Redistribute RIP into OSPF

  2. To redistribute RIP into OSPF, you need to execute the following commands on Router2.

Router2( config)# router rip
Router2( config-router)# redistribute ospf 100 metric 1
  1. The following figure shows how to redistribute RIP routes into OSPF.

Router2 being walked through the redistribute command inside RIP using context help. "router rip" then "redistribute ospf ?" answers "<1-65535> Process ID", not an autonomous system number. "redistribute ospf 100 ?" offers "match Redistribution of OSPF routes", "metric Metric for redistributed routes" and "<cr>". "redistribute ospf 100 metric ?" offers "<0-16> Default metric" and "transparent Transparently redistribute metric". The command finally entered is "redistribute ospf 100 metric 1".

Note: We recommend to have a close look up at the preceding figure to understand the syntax used to inject RIP routes into OSPF.

Redistribute OSPF into RIP

  1. To do so, execute the following commands on Router2.
Router2( config)# router ospf 100
Router2( config-router)# redistribute rip metric 1
  1. The following figure shows how to redistribute OSPF routes into RIP.

Router2 being walked through the redistribute command inside OSPF using context help. "router ospf 100" then "redistribute rip ?" offers metric, metric-type (OSPF/IS-IS exterior metric type for redistributed routes), subnets (consider subnets for redistribution into OSPF), tag (set tag for routes redistributed into OSPF) and <cr>. "redistribute rip metric ?" answers "<0-16777214> OSPF default metric". "redistribute rip metric 1 ?" again offers metric-type, subnets, tag and <cr>. The command entered is "redistribute rip metric 1", and the router warns "% Only classful networks will be redistributed" because the subnets keyword was left off.

Note: We recommend to have a close look up at the preceding figure to understand the syntax used to inject OSPF routes into RIP. One of the most important factors that you should consider is OSPF Cost Metric.

  1. Once you have redistributed RIP into OSPF and vice-versa, now, move on to Router1 and execute the following command to view the routing table.
Router1# show ip route

Router1's "show ip route" after redistribution, now holding four routes. 10.0.0.0/8 is directly connected on FastEthernet0/0 and 192.168.0.0/24 is directly connected on FastEthernet0/1. The two new ones arrived by RIP: R 20.0.0.0/8 [120/1] via 192.168.0.2, 00:00:04, FastEthernet0/1 and R 192.168.1.0/24 [120/1] via 192.168.0.2, 00:00:04, FastEthernet0/1. Both carry administrative distance 120 and the hop count of 1 that was set with "metric 1" on Router2.

  1. Have you noticed any changes? ______

  2. Next, move on to Router3 and execute the following command to view the routing table.

Router3# show ip route

Router3's "show ip route" after redistribution. The RIP side has arrived as OSPF external type 2 routes: O E2 10.0.0.0/8 [110/1] via 192.168.1.1, 00:04:21, FastEthernet0/1 and O E2 192.168.0.0/24 [110/1] via 192.168.1.1, 00:04:21, FastEthernet0/1. Its own networks are connected: 20.0.0.0/8 on FastEthernet0/0 and 192.168.1.0/24 on FastEthernet0/1. An arrow on the figure points from the O E2 routes up to the legend line that reads "E2 - OSPF external type 2".

In the preceding figure, you can see that 10.0.0.0/ 8 and 192.168.0.0/ 24 networks are added through the external OSPF protocol.

Your answers

Nothing here is marked. Most of these answers are read off your own machine, so there is no right value to compare them against; they are kept so your work survives.

Check your answersEvery question in this lab, answered. Take your own capture first.→

Source: itexamanswers.net