CIS-3210 Lab #5: RIP Version 2

Reading: Finish me!

In this lab, you will configure a small network to use the RIP version 2 routing protocol instead of static routes.

Part 1: Configure The Network

Using Packet Tracer, construct the following network:

Lab #5 Network

As with the previous lab, use 1941 routers and 2960-24TT switches. As always, use one of the uplink ports on the switches to connect to the routers. You will need to install an HWIC-2T module into routers R2 and R3 before you start configuring them. Be sure to install the module into slot 0 (on the right when looking at the back of the router).

Note that the 1941 routers have GigabitEthernet ports, and not FastEthernet ports as shown in the diagram.

Configure the basic settings (Global Settings and Console Access; you do not need to configure remote access for this lab) on all the devices. Configure the network interfaces using the addresses shown in the diagram.

In Packet Tracer, be sure to use the serial connection with the clock next to one end. Make the connection from R2 to R3 starting with the DCE side. You will need to set the clock rate on the DCE side of the serial links. Use a clock rate of 128000 on R2's Serial0/0/0 interface by using the clock rate 128000 command when configuring that interface.

Be sure to set appropriate default gateways on the switches.

Demonstrate that each switch can ping all the interfaces on its router, and that the routers can ping each other. R1 and R3 won't be able to communicate without routing information configured. That is normal.

Part 2: Configure RIP version 2

Configure R1, R2, and R3 to use RIP version 2. Use the network command to enable RIP on the appropriate interfaces. Use the version 2 command to specify that RIP version 2 should be used. Use the no auto-summary command to disable automatic summarization of routes. Use the passive-interface command to disable RIP on interfaces that do not need it.

Here is how it looks for R1:

  R1# configure terminal
  R1(config)# router rip
  R1(config-router)# version 2
  R1(config-router)# no auto-summary
  R1(config-router)# passive-interface GigabitEthernet0/1
  R1(config-router)# network 172.30.0.0
  R1(config-router)# network 10.0.0.0
  R1(config-router)# exit

Notice how the classful network addresses are used despite RIP version 2 being a classless routing protocol. The netmask information is taken from the interface configurations.

The no auto-summary command is necessary to prevent RIP from summarizing address ranges into classful boundaries. Such summarization causes problems for R2 since the classful network 172.30.0.0/16 is split into subnetworks in two different directions.

The passive-interface command prevents RIP from sending routing protocol traffic out the indicated interface (and it will ignore any such traffic that it sees from that interface. Only the interfaces that are connected to other routers need to carry routing protocol traffic. It is a significant security hazard to do otherwise.

  1. View the routing tables on all three routers. Does the information make sense?

  2. Demonstrate that the switches can now all ping each other.

  3. Use the show ip protocols command on all three routers. Does the information look reasonable? (Why?)

Part 3: Configuring a Network-Wide Default Route

From R2, create a static route to network 0.0.0.0 0.0.0.0, using the ip route command as you did in previous labs. This forwards any traffic with an unknown destination address to Switch-B at 209.165.201.2, simulating the Internet by setting a "gateway of last resort" on router R2.

  R2(config)# ip route 0.0.0.0 0.0.0.0 209.165.201.2

R2 will advertise a route to the other routers if the default-information originate command is added to its RIP configuration.

  R2(config)# router rip
  R2(config-router)# default-information originate

Finally, observe the routing tables on R1 and R3 to confirm the new gateway of last resort.

Submission

For this lab, submit your final Packet Tracer model, along with a document containing the commands you used to configure your devices, and your answers to the questions. The preferred document format is PDF, but Word, ODT, or plain text is also acceptable.


Last Revised: 2023-12-18
© Copyright 2023 by Peter Chapin <peter.chapin@vermontstate.edu>