The most viewed posts

Registry Reviver

How to clean up Windows Computer

About Desktop Icons in Windows Computer

Driver Booster

CCleaner

some (JavaScript Array Method)

Myanmar font and keyboard for Windows

Advanced System Care

How to sell IT materials in zilastar.com

Web Development Services

The most viewed items

Desktop Hard Disk

Dell Inspiron 5559

HP ProBook 430

SONY Playstation Portable

Laptop RAM

External Hard Disk

Laptop

ZilaStar ICT Nov 28 2018, 14:31:57

How to configure OSPF in Cisco Router

OSPF is Open Shortest Path First and it is a link state routing protocol. The example of how to configure OSPF in Cisco IOS Routers is shown in the below with the picture together. I hope this example will be benefit for brothers and sisters who are learning Cisco Networking.

 

Router 1

Activate the connection to PC1
en
config t
int g0/0
ip address 192.168.1.1 255.255.255.0
no shut

 
Activate the connection to Router2
int s0/0/1
ip address 223.200.100.9 255.255.255.252
clock rate 64000
no shut

Activate the connection to Router 3
int s0/0/0
ip address 223.200.100.1 255.255.255.252
no shut
exit

 
Configure OSPF
router ospf 10
network 192.168.1.0 0.0.0.255 area 0
network 223.200.100.0 0.0.0.3 area 0
network 223.200.100.8 0.0.0.3 area 0
end
 

Save the configuration
copy run start
 

Router 2

Activate the connection to PC2
en
config t
int g0/0
ip address 192.168.2.1 255.255.255.0
no shut


Activate the connection to Router 1
int s0/0/1
ip address 223.200.100.10 255.255.255.252
no shut

 
Activate the connection to Router 3
int s0/0/0
ip address 223.200.100.6 255.255.255.252
no shut
exit


Configure OSPF
router ospf 10
network 192.168.2.0 0.0.0.255 area 0
network 223.200.100.8 0.0.0.3 area 0
network 223.200.100.4 0.0.0.3 area 0

end

Save the configuration
copy run start
 

Router 3

Activate the connection to PC3
en
config t
int g0/0
ip address 192.168.3.1 255.255.255.0
no shut
 

Activate the connection to Router 1
int s0/0/0
ip address 223.200.100.2 255.255.255.252
clock rate 64000
no shut



Activate the connection to Router 2
int s0/0/1
ip address 223.200.100.5 255.255.255.252
clock rate 64000
no shut
exit

 
Configure OSPF
router ospf 10
network 192.168.3.0 0.0.0.255 area 0
network 223.200.100.0 0.0.0.3 area 0
network 223.200.100.4 0.0.0.3 area 0
end
 

Save the configuration
copy run start


If you want to do testing in Packet Tracer, please click here to download .pkt file.

  • To Contact
    Available Services
    Terms and Conditions