DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
WORKSHEET 2.4
Student Name:Gaurav Kumar UID: 21BCS5875
Branch: CSE Section/Group: 812-A
Semester: 4th Date of Performance:25-04-23
Subject Name: Computer Networks Subject Code: 21-CSH-256
1. Aim: Configure a network using Link State routing Protocol using Packet Tracer orNS2.
2. Objective :- Understand Routing mechanism.
3. Software Requirements:
CISCO Packet Tracer
macOS 10.14 or newer
4. Theory :
Intermediate Systems-to-Intermediate Systems (IS-IS) are examples of Link State routing protocols.
Open Shortest Path First (OSPF) is an open standard protocol developed by IETF due limitations with the
Routing Information Protocol (RIP). OSPF’s major advantages over RIP and other distance vector routing
protocol include fast convergence, support for large scalable networks etc. OSPF uses cost as the metric
which is much more robust then RIP’s hop count which puts the limit to maximum 16 routes and also allows
for equal cost load balancing for more efficient use of multiple paths.
OSPF uses the hello protocol to form and keep track of neighborships, and it builds adjacencies with
neighbors by exchanging link-state information using link state advertisements.
OSPF Configuration
For Router 1:-
Router (config-if)#exit
Router (config)#router OSPF 1
Router (config-router) #network 192.168.10.0 0.0.0.255 area 0
Router(config-router) #network 10.0.0.0 0.255.255.255 area 0
Router(config-router) #exit
For Router 2:-
Router (config-if)#exit
Router (config)#router OSPF 1
Router (config-router) #network 192.168.20.0 0.0.0.255 area 0
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Router (config-router) #network 10.0.0.0 0.255.255.255 area 0
Router (config-router)# exit
5. Procedure :
1. Open the simulator.
2. Plot some generic routers and some end devices(PC’s) where end devices
to router is connected by Automatically Choosen wire and routers are
connected each other by Serial DCE wire type
3. Give Ip addresses to all the end devices and give default Ip address to
router with default gateway.
4. Now, Configure router’s fast ethernet with port status ON
5. Now, configure router’s serial port with clock rate 64000
6. Also, now similarly setup other routers and end devices for perfect setup
for experiment. And make sure all connections are green
6. Results & Screenshots :
Students will implement Open Shortest Path First (OSPF) Link State routing protocol
7. Learning outcomes (What I have learnt):
1. Know about how the data is transfer through computers.
2. Uses of switches(can be used) and routers.
3. Knowledge about address like Ip, default, static routing, etc.
4. Some knowledge about port status, subnet mask.
5. Learnt about concept of open shortest path first (OSPF) protocol