OSPF Configure

How to configure OSPF Routing on Packet tracer?


OSPF:- OSPF is stand for Open Shortest Path First Routing Protocol. It is standard of ISO. It is link state Routing Protocol. Prefer the lowest cost to packet transfer from source to destination. If cost is lowest so router send packet by lowest route. Cost is defined when a able speed 100 mbps after that emerged a cost and by lowest cost it will send packet by that route. In this method we used to wildcard mask subnet method.






Area 0:- It is backbone area which is connecting to one area to another area that is called ABR (Area Border Router). It is must to connect to area 0 without connectivity area 0 you can’t connect to each another area and router until you will not use another routing method.




Router0> enable
Router0# configure terminal
Router0(config)# int  fa 0/0
Router0(config-if)# ip add 10.0.0.1 255.0.0.0
Router0(config-if)# no sh
Router0(config)# int  fa 0/1
Router0(config-if)# ip add 11.0.0.1 255.0.0.0
Router0(config-if)# no sh
Router0(config-if)# exit
Router0(config)# router ospf 1
Router0(config-router)# network 10.0.0.0 0.0.0.255 area 0   
Router0(config-router)# network 11.0.0.0 0.0.0.255 area 0
Router0(config-router)# do wr


Router1> enable
Router1# configure terminal
Router1(config)# int  fa 0/0
Router1(config-if)# ip add 10.0.0.2 255.0.0.0
Router1(config-if)# no sh
Router1(config)# int  fa 0/1
Router1(config-if)# ip add 12.0.0.1 255.0.0.0
Router1(config-if)# no sh
Router1(config-if)# exit
Router1(config)# router ospf 1
Router1(config-router)# network 10.0.0.0 0.0.0.255 area 0   
Router1(config-router)# network 12.0.0.0 0.0.0.255 area 1
Router1(config-router)# do wr


Router2> enable
Router2# configure terminal
Router2(config)# int  fa 0/0
Router2(config-if)# ip add 11.0.0.2 255.0.0.0
Router2(config-if)# no sh
Router2(config)# int  fa 0/1
Router2(config-if)# ip add 13.0.0.1 255.0.0.0
Router2(config-if)# no sh
Router2(config-if)# exit
Router2(config)# router ospf 1
Router2(config-router)# network 11.0.0.0 0.0.0.255 area 0
Router2(config-router)# network 13.0.0.0 0.0.0.255 area 2
Router2(config-router)# do wr


Router3> enable
Router3# configure terminal
Router3(config)# int  fa 0/0
Router3(config-if)# ip add 12.0.0.2 255.0.0.0
Router3(config-if)# no sh
Router3(config-if)# exit
Router3(config)# router ospf 1
Router3(config-router)# network 12.0.0.0 0.0.0.255 area 1
Router3(config-router)# do wr

Router4> enable
Router4# configure terminal
Router4(config)# int  fa 0/0
Router4(config-if)# ip add 13.0.0.2 255.0.0.0
Router4(config-if)# no sh
Router4(config-if)# exit
Router4(config)# router ospf 1
Router4(config-router)# network 13.0.0.0 0.0.0.255 area 2
Router(config-router)# do wr



Share:

0 comments

Please leave your comments...... Thanks