0% found this document useful (0 votes)
10 views9 pages

Lab 2

The lab report outlines the configuration and testing of RIP (Routing Information Protocol) on two Cisco routers to enable dynamic routing between networks. It explains the theory behind RIP, its advantages and disadvantages, and provides detailed configuration steps for the routers. The report concludes that RIP is an efficient solution for small-to-medium-sized networks, facilitating automatic route adjustments and simplified management.

Uploaded by

ashik23105101236
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views9 pages

Lab 2

The lab report outlines the configuration and testing of RIP (Routing Information Protocol) on two Cisco routers to enable dynamic routing between networks. It explains the theory behind RIP, its advantages and disadvantages, and provides detailed configuration steps for the routers. The report concludes that RIP is an efficient solution for small-to-medium-sized networks, facilitating automatic route adjustments and simplified management.

Uploaded by

ashik23105101236
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Lab Report: RIP Configuration on Cisco

Routers
Objective:

The purpose of this lab is to configure and test RIP (Routing Information Protocol) on two Cisco
routers to enable dynamic routing between networks. The routers will exchange routing
information to allow communication between different subnets.

Theory:

What is RIP?

RIP (Routing Information Protocol) is a distance-vector routing protocol that uses hop count as
its metric. RIP is commonly used in smaller networks or as a part of the initial configuration of
larger networks. RIP routers share routing tables periodically and use the hop count to determine
the best path to each destination network.

How RIP Works:

RIP routers share routing updates with their neighbors periodically (every 30 seconds by
default).

Each router keeps a routing table that lists available routes and their associated hop count
(maximum of 15 hops).

If a router detects a route that is no longer valid (for example, due to a link failure), RIP will
recalculate the best route and propagate the changes to its neighbors.

Importance of RIP in Networks:

Dynamic Routing: RIP enables routers to automatically adjust their routing tables without
manual configuration, which helps in dynamic environments.

Simplicity: RIP is easy to configure and is often used in smaller networks or for initial
configurations.

Cost-Effective: Due to its simple algorithm, RIP does not require powerful routers or
sophisticated hardware.
RIP Process:

RIP Initialization: When the router is powered on, it sends a routing update to its neighbors.

Routing Table Exchange: Routers exchange routing updates every 30 seconds, allowing each
router to know about the available routes.

Convergence: Once a router has learned the routing paths, it builds its routing table and adjusts
to the network's current topology.

Components of RIP:

RIP Routers: Devices that use RIP to exchange routing information and dynamically calculate
the best routes to destination networks.

Routing Table: A table that stores routes and their associated metrics (hop count). The table is
updated dynamically as RIP updates are received.

Neighbors: Routers directly connected to each other that exchange routing information.
RIP Configuration on Cisco Routers (Based on Your CLI):

The following is the configuration for two Cisco routers that will communicate using RIP, as per
the CLI commands you p rovided:

Router 1 Configuration:

Access the Router CLI:

Router1> enable
Router1# configure terminal

Configure Interfaces:

Interface FastEthernet 0/0:

Router1(config)# interface fa0/0


Router1(config-if)# ip address 192.168.30.1 255.255.255.240
Router1(config-if)# no shutdown
Router1(config-if)# exit

Interface FastEthernet 1/0:

Router1(config)# interface fa1/0


Router1(config-if)# ip address 192.168.20.2 255.255.255.224
Router1(config-if)# no shutdown
Router1(config-if)# exit
Enable RIP Routing:

Router1(config)# router rip


Router1(config-router)# network 192.168.20.0
Router1(config-router)# network 192.168.30.0
Router1(config-router)# exit

Router 2 Configuration:

Access the Router CLI:

Router2> enable
Router2# configure terminal

Configure Interfaces:

Interface FastEthernet 0/0:

Router2(config)# interface fa0/0


Router2(config-if)# ip address 192.168.10.1 255.255.255.240
Router2(config-if)# no shutdown
Router2(config-if)# exit

Interface FastEthernet 1/0:

Router2(config)# interface fa1/0

Router2(config-if)# ip address 192.168.20.1 255.255.255.224

Router2(config-if)# no shutdown
Router2(config-if)# exit

Enable RIP Routing:

Router2(config)# router rip


Router2(config-router)# network 192.168.20.0
Router2(config-router)# network 192.168.10.0
Router2(config-router)# exit
Advantages of RIP:

Simple to Configure and Use:

Ease of Setup: RIP is relatively easy to configure and manage. It does not require complex
configurations or extensive training, making it ideal for small networks or for network
administrators who are new to routing protocols.

Less CPU and Memory Usage:

Lightweight: Compared to more advanced protocols like OSPF or EIGRP, RIP is less resource-
intensive, requiring less CPU and memory on routers. This makes it

a good choice for smaller routers or older hardware with limited resources.

Automatic Route Calculation:

Dynamic Routing: RIP automatically calculates the best routes in the network based on the
number of hops. This means there’s no need for manual route configuration, simplifying network
management as the network grows or changes.

Works Well in Small to Medium Networks:

Good for Simple Networks: For small or medium-sized networks (usually with less than 15
hops), RIP works efficiently, providing a reliable routing solution without the need for complex
setups.

Low Overhead in Small Networks:

Minimal Administrative Effort: For small networks, RIP can be the most straightforward
routing solution, minimizing the need for constant administrative attention or configuration
updates.

Supports Classful and Classless Routing (RIPng):

Classful and Classless Support: Traditional RIP (RIP v1) operates in a classful manner, which
means it doesn’t send subnet information in updates. However, RIP v2 and RIPng (RIP for IPv6)
support classless routing, allowing for subnet information to be included in the routing updates
and offering more flexibility in IP addressing.

Fault Tolerant with Updates:

Periodic Updates: RIP routers send regular updates every 30 seconds to keep the network aware
of any changes. This helps routers stay up-to-date with the network topology, automatically
adjusting when links go down or when new paths are available.
Backup Routes and Load Balancing:

Multiple Routes: RIP can support up to 4 equal-cost routes for load balancing, which can help
distribute network traffic more efficiently and provide some redundancy in case of failures.

Wide Compatibility:

Industry Standard: RIP is one of the oldest and most widely supported routing protocols. Many
network devices, including routers and switches, support RIP, making it a good option for basic
networking needs.

Disadvantages of RIP:

Limited Scalability:

Hop Count Limitation: RIP has a maximum hop count of 15, which makes it unsuitable for
large-scale networks. Any network requiring more than 15 hops will be considered unreachable
by RIP.

Slow Convergence:

Convergence Time: RIP has a slow convergence time compared to other routing protocols like
OSPF or EIGRP. This means that after a network change (e.g., a link failure), it takes longer for
RIP to update its routing tables across the network, leading to temporary routing loops or
unreachable destinations.

High Bandwidth Usage:

Frequent Updates: RIP sends full routing updates every 30 seconds, even if there have been no
changes in the network. This can result in unnecessary bandwidth consumption, especially in
larger networks.

Limited to Distance-Vector Protocol:

Basic Algorithm: RIP uses the distance-vector algorithm, which is relatively simple and lacks the
advanced features of more complex protocols like OSPF or EIGRP. This simplicity can lead to
inefficient routing decisions, as RIP doesn’t consider factors such as link bandwidth or load.

Routing Loops:
Potential for Loops: Due to its slow convergence and distance-vector nature, RIP is more prone
to routing loops. Although mechanisms like split horizon, route poisoning, and hold-down timers
help mitigate this, they do not entirely eliminate the risk of loops in unstable networks.

No Support for Authentication (in Older Versions):

Lack of Security: Early versions of RIP did not support authentication, making it vulnerable to
unauthorized or malicious routing updates. Although RIPng (RIP next generation) introduced
security features, earlier versions lack robust security mechanisms compared to other protocols.

Lack of Hierarchical Routing:

No Support for Hierarchical Structure: RIP does not support hierarchical network designs, which
can make it harder to manage large networks efficiently. In contrast, protocols like OSPF support
hierarchical routing and areas, providing better scalability and efficiency.

Poor Load Balancing:

Limited Load Balancing: RIP has limited support for load balancing. While it supports basic load
balancing (up to 4 equal-cost paths), it does not handle load balancing across unequal paths,
which can limit its performance in complex network topologies.

Practical Implementation in Cisco Packet Tracer:

Set Up the Network Topology:

Place two Cisco routers in Cisco Packet Tracer and connect them via Ethernet links.

Add multiple PCs to each router's network.

Configure the Routers as Described Above:

Configure each router’s interfaces with the IP addresses provided.

Enable RIP routing and configure the networks accordingly


Testing RIP Functionality:

Ping Test: From one of the PCs in Router 1's network, try to ping a PC in Router 2's network to
verify connectivity.

Check Routing Table: On both routers, use the show ip route command to view the routing
tables and ensure they have learned about the remote networks via RIP.

Conclusion:

This lab demonstrated the configuration and implementation of RIP on two Cisco routers. By
configuring RIP and assigning appropriate IP addresses to the interfaces, the routers were able to
exchange routing information and dynamically adjust their routing tables. RIP provides an
efficient and simple solution for small-to-medium-sized networks, allowing for dynamic routing
and easier management of network topologies.

You might also like