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

OSPF

Uploaded by

Sandip Pote
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)
3 views

OSPF

Uploaded by

Sandip Pote
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/ 4

TCP/IP Networks and Network Management Lab

Veermata Jijabai Technological Institute


(An Autonomous Institute of Government of Maharashtra)

Department: Electronics and Telecommunication Engineering


(TCP/IP Networks and Network Management Lab)

Experiment No.

Aim: To implement and simulate open short path first algorithm using cisco packet tracer.

Name of Student:

Register Number:

Year & Semester:

Branch:

1
TCP/IP Networks and Network Management Lab

Experiment No. Date:

Objective: To understand the concept for how to find the best path between the source and the
destination.

Aim: To implement and simulate open short path first algorithm using cisco packet tracer.

Software: Cisco Packet Tracer 8.2.1

How does OSPF work?

There are three steps that can explain the working of OSPF:

Step 1: The first step is to become OSPF neighbors. The two connecting routers running OSPF
on the same link creates a neighbor relationship.

Step 2: The second step is to exchange database information. After becoming the neighbors, the
two routers exchange the LSDB information with each other.

Step 3: The third step is to choose the best route. Once the LSDB information has been
exchanged with each other, the router chooses the best route to be added to a routing table based
on the calculation of SPF.

Procedure:

Circuit Diagram:

2
TCP/IP Networks and Network Management Lab

Procedure:

Step 1: First, open the Cisco packet tracer desktop and select the devices and create a network
topology as shown in the image. Use an Automatic connecting cable to connect the devices
with others.
Step 2: Configure the PCs (hosts) with IPv4 address, subnet mask and default gateway.
• To assign an IP address in PC0, click on PC0.
• Then, go to desktop and then IP configuration and there you will get IPv4 configuration.
• Fill IPv4 address, subnet mask and default gateway.
• Repeat the same procedure with other PCs to configure them thoroughly.
Step 3: Configure router with IP address and Subnet mask.
• To assign an IP address in router0, click on router0.
• Then, go to config and then Interfaces.
• Make sure to turn on the ports.
• Then, configure the IP address in FastEthernet.
• Fill IPv4 address and subnet mask.
• Repeat the same procedure with other routers to configure them thoroughly.
Step 4: Configure OSPF on the routers.
• Enable OSPF on a router using the router ospf PROCESS_ID in the global configuration
mode.
• Define on which interfaces OSPF will run and what networks will be advertised using
network IP_ADDRESS WILCARD_MASK AREA command in the OSPF configuration
mode.
Step 5: Simulate by sending a packet from PC0 to PC1.
Output:
Router0 to CLI:

Router1 to CLI:

Simulation:

Conclusion:

3
TCP/IP Networks and Network Management Lab

Viva Questions:

1. Explain the functioning of OSPF.


2. Name the five packets used in OSPF
3. What is the OSPF router ID?
4. What are the four types of areas in OSPF?

You might also like