Vaibhi CN 6
Vaibhi CN 6
Vaibhi CN 6
Experiment 6
Student Name:Vaibhavi Shreya UID: 22BCS16922
Branch:CSE Section/Group:22BCS_FL_IOT-604 B
Semester: 5th Date of Performance:10/09/2024
Subject Name:Computer network Subject Code:22CSH-312
1. Aim: Configure a network using any Routing Protocol such as Distance Vector
routing or Link State Routing Protocol using Packet Tracer or NS2
2. Requirements(Hardware/Software):
Cisco Packet Tracer or NS2
Routers, Switches, PCs (as per the network topology)
Routing Protocol (e.g., RIP for Distance Vector, OSPF for Link State)
Ethernet cables to connect devices in Packet Tracer
3. Reading Material:
RIP vs OSPF:
4. Procedure:
Begin by creating a network with at least three routers and two switches.
Connect each PC to a switch and the switches to the routers.
Ensure that all routers are connected using serial links.
Configure IP Addresses:
Assign IP addresses to the PCs and routers, making sure each router and
connected device is in the correct network range.
Set IP addresses for routers' Fast Ethernet interfaces (e.g., 10.10.10.1 for Router
0, 20.20.20.1 for Router 1).
Configure the routers' serial ports using appropriate IP addresses from a different
network range (e.g., 30.30.30.1 for Serial 2/0 on Router 0).
Don't forget to assign the clock rate for the serial interfaces where necessary.
Verify IP Connectivity:
Test the connectivity within the same network (e.g., PC to its connected router) by
sending a ping. Ensure basic connections are functional.
The connection between different networks will not work at this stage because
OSPF routing has not been configured yet.
Access the command line interface (CLI) on each router and configure OSPF:
o Type router ospf 1 to enable OSPF.
o Publish the connected networks using the command network
<network_address> <wildcard_mask> area 0 .
o Example: network 10.0.0.0 0.255.255.255 area 0.
Repeat this for all connected networks on each router.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Once OSPF is configured, test the connection by sending data between PCs in
different networks (e.g., PC 0 to PC 1).
Ensure that data can now be transmitted across different networks through the
routers using OSPF routing.
5. Output:
6. Learning Outcome:
Learn how OSPF is used to determine the shortest path in a network.
Gain skills in network topology design and device configuration.
Understand IP addressing and configuration on network devices.
Practice router configuration using the command-line interface (CLI).
Learn to verify and troubleshoot OSPF network connections.