Aditya CN2.4 (1) Sharma
Aditya CN2.4 (1) Sharma
WORKSHEET 2.4
1. Aim: - Configure a network using Link State routing Protocol using Packet Tracer or
NS2.
4. H/W Requirements: -
• Processor – Any suitable Processor e.g. Celeron
• Main Memory - 128 MB RAM
• Hard Disk – minimum 20 GB IDE Hard Disk
• Removable Drives–1.44 MB Floppy Disk Drive
–52X IDE CD-ROM Drive
•PS/2 HCL Keyboard and Mouse
5. Method:
Configuration
OSPF Configuration
OSPF configuration is also very simple, we enter the routing protocol configuration mode
by entering the command ‘router ospf 100’, 100 is the OSPF process number, and then we
enable the OSPF process on our links using the network command. OSPF uses the concept
of areas to logically divide the network for scalability.
OSPF uses cost as the metric which is based on the interface bandwidth. The formula to
calculate cost is shown below
COST = REFERENCE_BANDWIDTH / INTERFACE_BANDWITDH
Where, REF_ BANDWITDH = 100 Mbps
So Router B will have an OSPF route in its routing table for the prefix 10.10.1.0/24 with a
metric of 2 (1+1) since both links are Fast Ethernet (100 Mbps). This can be confirmed by
viewing the Router B’s routing table.
We can modify the cost of an OSPF enabled interface using the command ‘ip ospf [cost]”
We have modified the cost of Fast Ethernet 0/1 Interface on Router A to 10, and now the
routing table on Router B will have the following information.
6. Screenshot of Outputs:
7. Learning Outcomes: