Lab 06 Report CSE 4512

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 22

Department of Computer Science and Engineering

Islamic University of Technology (IUT)


A subsidiary organ of OIC

Laboratory Report

CSE 4512: Computer Networks Lab

Name: Fatema Tuz Zohora Moon


Student ID: 210041145
Section: 01(A)
Semester:
Academic Year: 2023-24

Date of Submission:
Title: Implementing Static and Dynamic Routing (RIP & OSPF)

Objective:
1. Define and describe the concept of routing and its purpose in network communications.
2. Explain the difference between static routing and dynamic routing.
3. Configure static routing in a network topology using Cisco Packet Tracer.
4. Configure dynamic routing in a network topology using Cisco Packet Tracer.

Devices/ software Used:


1. Cisco packet tracer

Theory:
Routers make these decisions using a routing table, which contains network paths and interfaces. When
a packet arrives at a router, the device checks its routing table for the optimal path and
forwards the packet accordingly. The routing table can be populated either manually (static
routing) or automatically (dynamic routing). Routers in a dynamic routing environment
continuously exchange information, allowing them to detect and adapt to changes.
Common dynamic routing protocols include Routing Information Protocol (RIP),
which uses a distance-vector algorithm, and Open Shortest Path First (OSPF), which
uses a link-state algorithm. OSPF is a dynamic routing protocol based on the link-state
algorithm. Route redistribution allows routers to share routing information between
different protocols (e.g., OSPF and RIP).

Routing Information Protocol (RIP)

Open Shortest Path First (OSPF)

Diagram of the experiment:


(Provide screenshot of the final network topology. Make sure to label the network components.)
Task #01:
Task #02:

Task #03:
Working Procedure:
(Explain in brief how you completed the tasks. Provide necessary screenshots of used commands
for each task.)
Task #01:
Pc-a:

Pc-b:
Task #02:
R2:
R3:
Pc0:

Pc1:
Pc2:

Task #03:
R1:

PC2:

PC1:
Pc0:

R2:
R3:
Q/A for the tasks:
Examine the current router IDs in the topology.
Since no router IDs or loopback interfaces have been configured on the three routers, the
router
ID for each router is determined by the highest IP address of any active interface.
What is the router ID for R1?
What is the router ID for R2?
What is the router ID for R3?
Ans:
R1’s Router ID: 192.168.10.5 (highest IP on R1's active interfaces)
R2’s Router ID: 192.168.10.9 (highest IP on R2's active interfaces)
R3’s Router ID: 192.168.10.10 (highest IP on R3's active interfaces)

After configuring loopback interfaces, the new Router IDs will not take effect until the OSPF
process is restarted, either by reloading the router or using the command clear ip ospf process.
 R1’s Router ID: 10.1.1.1
 R2’s Router ID: 10.2.2.2
 R3’s Router ID: 10.3.3.3

Observation:

Challenges (if any):


nope

You might also like