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 10717 min

Lab 107: Configuring RIP Routing

Lab 107: Configuring RIP Routing

RIP stands for Routing Information Protocol that is a distance-vector routing protocols. It uses hop count metric to calculate the best routing path. RIP is an open standard protocol means it can be used on any router. Since it supports only 15 hops hence it is used for small networks. There are two versions of RIP: RIPv2 and RIPv2. RIPv2 has some additional features. The basic features of RIPv1 and RIPv2 are same. The following table lists the basic differences between the RIPv1 and RIPv2 routing protocols.

Sr. No.FeatureRIPv1RIPv2
1CIDR and VLSMDoes not supportSupport
2AuthenticationDoes not supportSupport
3Discontinuous networkDoes not supportSupport

To perform this exercise, first you need to create a network topology.

To do so, load the Topology that you have created in the previously in Packet Tracer and add a new router. Set the routers name as mentioned in the following figure. Connect the new router named Router3 to Router2 using the FastEthernet (in short, Fa) interfaces. For this, you need to use the cross-over cable.

First, we would like to explain the IP addresses configured for this topology. The following table lists the IP addresses used on the devices used in this topology.

Sr. No.DeviceInterfaceIP Address
1Router1Fa0/ 110.0.0.1/ 8
S1/ 0192.168.1.1/ 24
2Router2S1/ 0192.168.1.1/ 24
Fa0/ 020.0.0.1/ 8
Fa0/ 1150.150.150.1/ 24
3Router3Fa0/ 0150.150.150.2/ 24
4Switch1N/ A
5Switch2N/ A
6PC0Fa010.0.0.2/ 8
7PC1Fa010.0.0.3/ 8
8PC2Fa020.0.0.2/ 8
9
PC3
Fa0
20.0.0.3/ 8

The following figure shows the topology that we are going to use for this exercise.

Packet Tracer topology for Lab 107. Three routers in a chain: Router1 and Router2 are 2811s joined by a link labelled 192.168.1.0/24, and Router2 reaches Router3, a 2621XM, over a link labelled 150.150.150.0/24 drawn as a dashed line. Router1 goes down to Switch0, a 2960-24TT, with PC0 and PC1 on it; that LAN is called out as 10.0.0.0/8. Router2 goes down to Switch1, also a 2960-24TT, with PC2 and PC3 on it; that LAN is called out as 20.0.0.0/8. No host addresses are printed in this figure.

Configure IP Addresses

Since, you are using Basic Topology, in which, the fa0/ 0 and serial1/ 0 interfaces of Router1 and Router2 are already configured with the appropriate IP addresses. You just need to configure IP addresses on the fa0/ 1 interfaces on Router2 and Rourer3. To do so, you need to perform the following steps:

  1. On Router2, configure the 150.150.150.1/ 24 IP address on the fa0/ 1 interface.
Router2( config)# interface fa0/ 1
Router2( config-if)# ip add 150.150.150.1 255.255.255.0
Router2( config-if)# no shut
  1. On Router3, configure the 150.150.150.1.2/ 24 IP address on the fa0/ 1 interface.
Router( config)# hostname Router3
Router3( config)# interface fa0/ 1
Router3( config-if)# ip add 150.150.150.2 255.255.255.0
Router3( config-if)# no shut

Configuring RIPv1

Once you have configured the IP addresses on Router2 and Router3, configure the RIPv1 routing protocol.

  1. On Router1, execute the following commands to configure RIPv1 routing protocol:
Router1( config)# router rip
Router1( config-router)# network 10.0.0.0
Router1( config-router)# network 192.168.1.0
Router1( config-router)# exit
Router1( config)#
  1. On Router2, execute the following commands to configure RIPv1 routing protocol:
Router2( config)# router rip
Router2( config-router)# network 20.0.0.0
Router2( config-router)# network 192.168.1.0
Router2( config-router)# network 150.150.150.0
Router2( config-router)# exit
Router2( config)#
  1. On Router3, execute the following commands to configure RIPv1 routing protocol:
Router3( config)# router rip
Router3( config-router)# network 150.150.150.0
Router3( config-if)# exit
Router3( config)# do show ip route
  1. Verify the routes learned by the RIP protocol.

  2. The following figure shows the RIP routing table of Router2 (hostname Router3). You can see that the routes are added through the RIP protocol.

A Packet Tracer IOS command line window titled Router2, whose prompt reads simply Router. RIP is turned on with router rip and network 150.150.150.0, then show ip route is run. The table shows R 10.0.0.0/8 [120/2] via 150.150.150.1, 00:00:05, FastEthernet0/1; R 20.0.0.0/8 [120/1] via the same next hop and interface; the line 150.150.0.0/24 is subnetted, 1 subnets; C 150.150.150.0 directly connected on FastEthernet0/1; and R 192.168.1.0/24 [120/1] via 150.150.150.1, 00:00:05, FastEthernet0/1. The gateway of last resort is not set, and the R code for RIP is ringed in the codes legend.

Verifying RIPv1 Configuration

  1. To verify and test the RIPv1 configuration, you can use the following commands:

Use the show ip protocols command on Router3 to verify which routing protocol is configured.

Router3# show ip protocols

A Packet Tracer IOS command line window titled Router2, prompt Router. show ip protocols reports Routing Protocol is rip, sending updates every 30 seconds with the next due in 3 seconds, invalid after 180 seconds, hold down 180, flushed after 240. Default version control is send version 1, receive any version, and the interface table lists FastEthernet0/1 sending 1 and receiving 2 and 1. Automatic network summarization is in effect, maximum path 4, routing for network 150.150.0.0, and the one routing information source is gateway 150.150.150.1 at distance 120, last updated 00:00:21. Default distance is 120.

  1. To view the RIP messages being sent and received, use the debug ip rip command.
Router3# debug ip rip

A Packet Tracer IOS command line window titled Router2, prompt Router3. debug ip rip turns RIP protocol debugging on, and two version 1 updates arrive from 150.150.150.1 on FastEthernet0/1. Each update lists 10.0.0.0 in 2 hops, 20.0.0.0 in 1 hops and 192.168.1.0 in 1 hops. Eight bare Router3 prompts follow.

  1. To stop the debugging process, type the undebug all command.
Router3# undebug all

Configuring RIPv2

The configuration process of the RIPv2 protocol is similar to configuring RIPv1 protocol. To configure the RIPv2 routing protocol, you just need to type version 2 command before executing the network command. To configure the RIPv2 protocol, execute the following command on each router.

  1. On Router1, execute the following commands.
Router1( config)# router rip
Router1( config-router)# version 2
  1. On Router2, execute the following commands.
Router2( config)# router rip
Router2( config-router)# version 2
  1. On Router3, execute the following commands.
Router3( config)# router rip
Router3( config-router)# version 2
  1. Once you have executed the preceding commands, execute the following command on each router, and verify the configuration:
Router# show ip rip protocols

A Packet Tracer IOS command line window titled Router2, prompt Router3. show ip protocols now reports Routing Protocol is rip with default version control of send version 2, receive 2, and FastEthernet0/1 shown as 2 and 2 in the Send and Recv columns, so the router has been moved to RIP version 2. Updates go every 30 seconds with the next due in 25 seconds, invalid after 180 seconds, hold down 180, flushed after 240. Automatic network summarization is in effect, maximum path 4, routing for network 150.150.0.0, and the routing information source is 150.150.150.1 at distance 120, last updated 00:00:01.

Removing the RIP Routing

To remove the routes learned by the RIP protocol, execute the following commands on each router:

  1. On Router1, execute the following commands.
Router1( config)# router rip
Router1( config-router)# no network 10.0.0.0
Router1( config-router)# no network 192.168.1.0
Router1( config-router)# exit
Router1( config)# exit
Router1# clear ip route *
  1. On Router2, execute the following commands.
Router2( config)# router rip
Router2( config-router)# no network 20.0.0.0
Router2( config-router)# no network 192.168.1.0
Router2( config-router)# no network 150.150.150.0
Router2( config-router)# exit
Router1( config)# exit
Router1# clear ip route *
  1. On Router3, execute the following commands.
Router3( config)# router rip
Router3( config-router)# no network 150.150.150.0
Router3( config-router)# exit
Router1( config)# exit
Router1# clear ip route *
  1. Now, execute the show ip route command and verify that the routes, learned by RIP protocol, have been deleted as shown in the following figure.

A Packet Tracer IOS command line window titled Router2, prompt Router3. The RIP network statement is withdrawn with router rip followed by no network 150.150.150.0, the route table is cleared with clear ip route asterisk, and show ip route then lists only the directly connected network: 150.150.0.0/24 is subnetted, 1 subnets, with C 150.150.150.0 directly connected on FastEthernet0/1. Every RIP learned route has gone and the gateway of last resort is not set.

Preparing Topology for the Next Exercise

Once, you have deleted the routes learned by the RIP protocol on each router, save the configuration changes.

  1. To save the configuration changes permanently, execute the following command on each router.
Router1# copy running startup
Router2# copy running startup
Router3# copy running startup
  1. On Packet Tracer, click File, select Save As. In the File name text box, type Routing Topology, and then click Save to save this topology.

Source: itexamanswers.net