You are on page 1of 8

Sateyndra shukla 18359

Practical No: 05
Aim: Configuring OSPF routing protocol using CISCO Packet Tracer
Step 1: Design Topology
Router: 1841
Switch: 2950-24
PC: Generic
1.1Place all components

Note: As router has only 2 ports , both are FastEthernet we need to add
Serial port in it
1.2Click on Router->Physical Tab-> Select WIC-2T-> Power Off router-
>Place Port on router
->Power on the router
(Follow Same Step for all routers)
Sateyndra shukla 18359
Sateyndra shukla 18359

1.3Connect all devices and do labelling , draw network area and OSPF Area
Sateyndra shukla 18359

Step 2: Addressing
2.1 PC IP Addressing
Click on PC->Desktop Tab->Click IP Configuration->Give IP Address
(Follow same Steps for all PC)

PC IP Address Default Gateway


First 192.168.1.2 192.168.1.1
Second 192.168.2.2 192.168.2.1
Third 192.168.3.2 192.168.3.1
Sateyndra shukla 18359

2.2 Router IP Addressing


(i) Click on First Router->Config Tab->FastEthernet0/0
Sateyndra shukla 18359

Click on Serial 0/0/0 ->

(Note: No need to give Clock Rate, Don’t even set it as “Not Set”)
(ii) Click on Second router->Config Tab
Interface IP Address
FastEthernet0/0 192.168.2.1
Serial 0/0/0 10.0.0.3
Serial 0/0/1 11.0.0.2

(iii) Click on Third Route-> Config Tab


Interface IP Address
FastEthernet 0/0 192.168.3.1
Serial 0/0/0 11.0.0.3
Note: Before giving IP address to any router, first check on which interface which
IP address label is assigned by just keeping cursor on particular link.
Sateyndra shukla 18359

Step 3: OSPF Configuration:


3.1 Click First Router->CLI tab-> It should be

If it is not showing “Router->”, type “exit” command and enter until it will not
come.
Now put below command one by one(Common for all routers)
- en (It will enable the router for configuration and showing “Router#”)
- config(Router will go into global configuration mode and showing
“Router(config)#”)
Sateyndra shukla 18359

(i) For First Router


- router ospf 1(Router is under router configuration mode and showing
“Router(config-router)#)”)
- network 192.168.1.0 0.0.0.255 area 1(Syntax : <Network address>
<compliment of default mask> area <area no> )
- network 10.0.0.0 0.255.255.255 area 1
- exit
- exit

(ii) For Second Router


- router ospf 2 (as this router is connected with backbone area use ospf
2 otherwise use ospf 1)
- network 192.168.2.0 0.0.0.255 area 0
- network 10.0.0.0 0.255.255.255 area 1
- network 11.0.0.0 0.255.255.255 area 2
- exit
- exit
(iii) For third router
- router ospf 1
- network 192.168.3.0 0.0.0.255 area 2
- network 11.0.0.0 0.255.255.255 area 2
- exit
- exit
Step 4: Save the Project and Check the connectivity

Conclusion : Hence OSPF routing protocol implemented successfully.

You might also like