0% found this document useful (0 votes)
5 views

Lab 12_ Dynamic Protocol - Routing Information Protocol (RIP)

The document outlines Lab 12 of the Computer Networks course, focusing on the Dynamic Routing Protocol, specifically the Routing Information Protocol (RIP). It explains the purpose of dynamic routing protocols, details the characteristics of RIP versions 1 and 2, and provides instructions for configuring RIP in a lab environment with specific devices and connections. The lab aims to ensure that all systems can communicate with each other using RIP.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Lab 12_ Dynamic Protocol - Routing Information Protocol (RIP)

The document outlines Lab 12 of the Computer Networks course, focusing on the Dynamic Routing Protocol, specifically the Routing Information Protocol (RIP). It explains the purpose of dynamic routing protocols, details the characteristics of RIP versions 1 and 2, and provides instructions for configuring RIP in a lab environment with specific devices and connections. The lab aims to ensure that all systems can communicate with each other using RIP.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

CL3001 - Computer Networks Lab

Instructors: Mr. Muneeb Baig, Ms. Zoya Mahboob, Mr. Naveed Khurshid
Lab 12 - Dynamic Routing Protocol - Routing Information Protocol (RIP)

Lab 12 - Dynamic Routing Protocol -


Routing Information Protocol (RIP)
Objective:

●​ What is Dynamic Routing Protocol Protocol?


●​ What is Routing Information Protocol (RIP)?
●​ How to configure the Routing Information Protocol (RIP)?

1. Introduction - What is Dynamic Routing Protocol


Routing protocols are used to enable the routers exchange routing information, they
allow routers to learn about remotely connected networks dynamically. This information
is then added to their routing tables as a basis for forwarding packets.

Routing Information Protocol (RIP), Enhanced Interior Gateway Routing Protocol


(EIGRP) and Open Shortest Path First (OSPF) are examples of Dynamic Routing
Protocols.

In this lab, students will learn Routing Information Protocol (RIP) only.

2. What is Routing Information Protocol (RIP)


RIP falls under the Distance Vector Routing protocol of Interior Gateway Protocols.
There are two versions for IPv4 for RIP i.e. RIPv1 and RIPv2. RIPv1 is for classful ipv4,
whereas RIPv2 is for classless ipv4. For IPv6, RIPng is used. However, this lab only
covers RIPv1 and RIPv2.

0
CL3001 - Computer Networks Lab
Instructors: Mr. Muneeb Baig, Ms. Zoya Mahboob, Mr. Naveed Khurshid
Lab 12 - Dynamic Routing Protocol - Routing Information Protocol (RIP)

RIPv1 supports the following IP classes.

●​ Class A (1.0.0.0 – 126.255.255.255) → Supports very large networks.


●​ Class B (128.0.0.0 – 191.255.255.255) → Supports medium-sized networks.
●​ Class C (192.0.0.0 – 223.255.255.255) → Supports small networks.

The Routing Information Protocol (RIP) Version 1 uses broadcast UDPdata packets, and RIPv2
uses multicast packets to exchange routing information. Cisco software sends routing
information updates every 30 seconds, which is termed advertising. If a device does not receive
an update from another device for 180 Routing Information Protocol 1 seconds or more, the
receiving device marks the routes served by the non updating device as unusable. If there is still
no update after 240 seconds, the device removes all routing table entries for the non updating
device.

A device that is running RIP can receive a default network via an update from another device
that is running RIP, or the device can source the default network using RIP. In both cases, the
default network is advertised through RIP to other RIP neighbors. The Cisco implementation of
RIP Version 2 (RIPv2) supports plain text and message digest algorithm 5 (MD5) authentication,
route summarization, classless interdomain routing (CIDR), and variable-length subnet masks
(VLSMs).

1. How to configure the Routing Information Protocol (RIP)?

1
CL3001 - Computer Networks Lab
Instructors: Mr. Muneeb Baig, Ms. Zoya Mahboob, Mr. Naveed Khurshid
Lab 12 - Dynamic Routing Protocol - Routing Information Protocol (RIP)

2
CL3001 - Computer Networks Lab
Instructors: Mr. Muneeb Baig, Ms. Zoya Mahboob, Mr. Naveed Khurshid
Lab 12 - Dynamic Routing Protocol - Routing Information Protocol (RIP)
Practically configuring RIP

Lab Setup
Topology:

Devices Required:

●​ 2 Router (Cisco 2811)


●​ 2 Switches (2960)
●​ 2 PCs & 2 Laptops

3
CL3001 - Computer Networks Lab
Instructors: Mr. Muneeb Baig, Ms. Zoya Mahboob, Mr. Naveed Khurshid
Lab 12 - Dynamic Routing Protocol - Routing Information Protocol (RIP)
Connections:

Router to Router: Use Fast ethernet interfaces / cross cables - As described in above diagram

Router to Switch: Use Fast ethernet interfaces / straight cables - As described in above diagram

Switches to PCs: Use Fast ethernet interfaces / straight cables - As described in above diagram

PC0 IP Configuration:

Laptop 0 IP Configuration

4
CL3001 - Computer Networks Lab
Instructors: Mr. Muneeb Baig, Ms. Zoya Mahboob, Mr. Naveed Khurshid
Lab 12 - Dynamic Routing Protocol - Routing Information Protocol (RIP)

How to configure Fast Ethernet 0/0 of Router 0

How to configure Fast Ethernet 0/1 of Router 0

Configuring RIP on Router 0

—----------------------------------------------------------------------------------------------------------------------------
PC1 IP Configuration:

5
CL3001 - Computer Networks Lab
Instructors: Mr. Muneeb Baig, Ms. Zoya Mahboob, Mr. Naveed Khurshid
Lab 12 - Dynamic Routing Protocol - Routing Information Protocol (RIP)

Laptop 1 IP Configuration

How to configure Fast Ethernet 0/0 of Router 1

How to configure Fast Ethernet 0/1 of Router 1

Configuring RIP on Router 1

6
CL3001 - Computer Networks Lab
Instructors: Mr. Muneeb Baig, Ms. Zoya Mahboob, Mr. Naveed Khurshid
Lab 12 - Dynamic Routing Protocol - Routing Information Protocol (RIP)

Testing using Ping (Ping from PC 0)

Testing using Ping (Ping from PC 1)

7
CL3001 - Computer Networks Lab
Instructors: Mr. Muneeb Baig, Ms. Zoya Mahboob, Mr. Naveed Khurshid
Lab 12 - Dynamic Routing Protocol - Routing Information Protocol (RIP)

Lab Task - Implement the following scenario using RIP

Make sure every system pings every other system.

You might also like