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

Lab 12-New

Router configurations were completed for a single area and multi-area OSPF network topology. In the single area topology, OSPF was configured on three routers with area 0. Ping tests between PCs were successful. For the multi-area topology, routers were configured in area 0 and area 1 with the ABR router connecting both areas. Additional OSPF verification commands showed routing tables, neighbors, and interfaces on each router.

Uploaded by

Sumaira Khan
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)
66 views

Lab 12-New

Router configurations were completed for a single area and multi-area OSPF network topology. In the single area topology, OSPF was configured on three routers with area 0. Ping tests between PCs were successful. For the multi-area topology, routers were configured in area 0 and area 1 with the ABR router connecting both areas. Additional OSPF verification commands showed routing tables, neighbors, and interfaces on each router.

Uploaded by

Sumaira Khan
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/ 17

Name & ID:__Sumaira Khan______ Date: __14/11/23__

EE-424L Data Communication & Networking


Fall 2023

Habib University

Dhanani School of Science & Engineering

LAB 12: Open Shortest Path First (OSPF) Routing

Lab #12 Marks distribution:

LR2=30 LR4=30 LR5=30 AR4=10


10 10 10
In-Lab Task 1
10
Tasks Task 2 20 20 20

Total 100
Marks

Lab #12 Marks Obtained:

LR2=30 LR4=30 LR5=30 AR4=10

In-Lab Task 1
Tasks Task 2

Marks
Obt.

The objective of this lab is to configure and verify Single and Multi-Area Open
objectives
Shortest Path First (OSPF) Routing.

Introduction

1
OSPF (Open Shortest Path First) is a link state routing protocol. Because it is an open standard, it is
implemented by a variety of network vendors. OSPF will run on most routers that doesn’t necessarily
have to be Cisco routers (unlike EIGRP which can be run only on Cisco routers).

Here are the most important features of OSPF:

 a classless routing protocol


 supports VLSM, CIDR, manual route summarization, equal cost load balancing
 incremental updates are supported
 uses only one parameter as the metric – the interface cost.
 the administrative distance of OSPF routes is, by default, 110.
 uses multicast addresses 224.0.0.5 and 224.0.0.6 for routing updates.

Routers running OSPF have to establish neighbor relationships before exchanging routes. Because OSPF
is a link state routing protocol, neighbors don’t exchange routing tables. Instead, they exchange
information about network topology. Each OSFP router then runs SFP algorithm to calculate the best
routes and adds those to the routing table. Because each router knows the entire topology of a network,
the chance for a routing loop to occur is minimal.

Each OSPF router stores routing and topology information in three tables:

 Neighbor table – stores information about OSPF neighbors


 Topology table – stores the topology structure of a network
 Routing table – stores the best routes

Task 1: Configuration of Single Area OSPF

Configure and create the below topology in packet tracer and complete the IP configuration and
interface configuration in Table 1 according to your Network Topology. Attach your network topology
with labelled IPs and interfaces below.

2
Note: Make sure to enter correct subnet masks as mentioned in above topology

Device Name Protocol Configuration IP Scheme/Interface Configuration


PC0 -- 192.168.44.2
PC1 -- 10.10.22.2
Router0 Osfp 192.168.44.1
192.168.55.1
Router1 ospf 192.168.55.2
172.16.10.1
Router2 ospf 172.16.10.2
10.10.22.1

Ping PC0 to PC1 and note the response below.

Configure and verify Open Shortest Path First (OSPF) Routing

Configure an OSPF routing process on all routers. Use OSPF process number 1 and ensure all networks
are in area 0. For configuring any router with OSPF you need to advertise all the directly connected
network in OSPF process. For example, on router0 you have the networks 192.168.44.0/24 and
192.168.55.0/24

3
Router 0 OSPF Configuration:

Router0#conf t
Router0(config)#router ospf 1
Router0(config-router)#network 192.168.44.0 0.0.0.255 area 0
Router0(config-router)#network 192.168.55.0 0.0.0.255 area 0
Router0(config-router)#router-id 1.1.1.1

We have used the router-id 1.1.1.1 command to manually specify the router ID of this router. OSPF
process will use that RID (router-id) when communicating with other OSPF neighbors. Do it for Router 1
& 2 with router-ids 2.2.2.2 and 3.3.3.3 respectively and attach its screenshot below:
Router 0:

Router 1:

4
Router 2:

Ping PC0 to PC1 and write down the response.

As we can see the pinging was successful now.

5
My network.

OSPF verification commands:

Run show ip protocol on any one Router and discuss the findings.
Router 0:

6
We can we that running the show ip protocol gives us the details.

Run show ip route on all routers and discuss the findings.


We can see that this command shows the routing table in every single router.
Router 0:

Router 1:

7
Router 2:

Run below commands, attach its screenshot and discuss the results.
 show ip ospf neighbor: Run this command on Router 0, 1 and 2

Router 0:

8
Router 1:

Router 2:

 show ip ospf interface: Run this command on any one Router

Router 1:

9
10
Task 2: Configuration of Multi Area OSPF

Although basic OSPF configuration can be very simple, OSPF provides many extra features that can get
really complex. In this task, we will configure multiarea OSPF network and some other OSPF features.
Consider the following multiarea OSPF network:

In this task we have two OSPF areas – area 0 and area 1. As you can see from the network topology
depicted above, routers R1 and R3 are in the area 0 and area 1, respectively. Router 2 connects to both
areas, which makes him an ABR (Area Border Router).

Attach screenshot of all configuration steps done on R1, R2 and R3 and provide screenshot of your
network topology.
Router 1:

Router 2:

11
Router 3:

Ping PCs and attach the response below.

Again, run all below commands and discuss the differences observe in single and multi-area OSPF.

OSPF verification commands:

Run show ip protocol on any one Router and discuss the findings.
On router 2:

12
We can clearly see that the ospf protocol is running on this router.

Run show ip route on all routers and discuss the findings.


We can see that this command shows the routing table in every single router.

Router 1:

Router 2:

13
Router 3:

Run below commands, attach its screenshot and discuss the results.
 show ip ospf neighbor: Run this command on Router 1, 2 and 3

14
This command shows what router (shows their router id that we set) is next to our selected
router.
Router 1:

Router 2:

Router 3:

 show ip ospf interface: Run this command on any one Router


On router 2:

15
Lab Evaluation Assessment Rubric

EE-424 Lab 12

# Assessment Elements Level 1: Level 2: Developing Level 3: Good Level 4: Exemplary


Unsatisfactory Points 2 Points 3 Points 4
Points 0-1

LR2 Program/Code/ Program/code/ Program/code/ Program/code/ Program/code/


Simulation Model/ simulation simulation simulation simulation /network

16
Network Model model/network model/network model/network model is efficiently
model does not model has some model gives correct implemented and
implement the errors and does not output but not gives correct output.
required functionality produce completely efficiently Student has full
and has several accurate results. implemented or command on the
errors. The student is Student has limited implemented by basic tools of the
not able to utilize command on the computationally software.
even the basic tools basic tools of the complex routine.
of the software. software.

LR4 Data Collection Measurements are Measurements are Measurements are Measurements are
incomplete, somewhat inaccurate mostly accurate. both accurate and
inaccurate and and imprecise. Observations are precise. Data
imprecise. Observations are generally complete. collection is
Observations are incomplete or vague. Minor errors are systematic.
incomplete or not Major errors are there present in using Observations are very
included. Symbols, in using symbols, units symbols, units and thorough and include
units and significant and significant digits. significant digits. appropriate symbols,
figures are not units and significant
included. digits and task
completed in due
time.

LR5 Results & Plots Figures/ graphs / Figures, graphs and All figures, graphs, Figures / graphs /
tables are not tables are drawn but tables are correctly tables are correctly
developed or are contain errors. Titles, drawn but contain drawn and
poorly constructed captions, units are minor errors or some appropriate
with erroneous not accurate. Data of the details are titles/captions and
results. Titles, presentation is not missing. proper units are
captions, units are too clear. mentioned. Data
not mentioned. Data presentation is
is presented in an systematic.
obscure manner.

Late submission after Late submission after Late submission after Timely submission of
1 week and in 2 days and within a the lab timing and the report and in the
AR4 *Report Submission
between 2 weeks. week. within 2 days of the lab time.
due date.

*Report: Report will not be accepted after due date

17

You might also like