Open Shortest Path First
Link state Protocol
‘Open standard
‘Successor of RIP
Uses Dijkstra (Shortest Path Fest (SPF) Algorithm
‘lassess routing protocol
Updates ae sent through Multicast IP address 228.005
‘Tggered Updates
Hello packets are sent every 10 seconds
(OSPF (contd..)
Administrative distance is 110
“Metric = Cost =10%/Bandwidthin bps (CISCO)
Untimited Hep Count
Faster Convergence
Hierarchical design with Multiple Areas
‘One area has tobe designated as Area 0
‘Acea 0s called the backbone area‘+ Router 1D is used to identity the Router.
‘+ ‘The highest assigned to an active physical interface isthe Router ID.
+ If logical interface is configured then the highest IP assigned to a
logical interface (loopback isthe Route 1D.
eo fe
mvvaane
aise
+ Neighbor
~ Routers that share a common nk beceme neighbors.
~ Nelghbors ae dscovered by Helo Packets
~ To become neighbor the following should match
+ Adjacencies
~ Adjacencies ae formed once neighbor relation sabes
~ Im Adjcencls the database details are exchange
Co
maintains theee tables:
+ Neighbor Table
~ Nalghbor table contains Information about the decty connected OSPF
ihe fring sacar,
+ Database Table
~ Databose table contains information about the eve view ofthe topeloty
+ Routing Table
shortest path eager nthe database abeOem
Cees
CaWild Card Mask
‘+ Avil card mask canbe calculated using the formula
Global Subnet Mask
= Subnet Mask
‘Wild Card Mask
255.255.255.255 255.255.255.255
255.255.255. 0 ~ 255.255.255.240
Oe ea
aN192368..0728 aN 19230820/28
Poe
+ Designated Router (OR)
~ Dasgnated Router selected when ever OSPF routers are connected tothe
same mult sce networks
— TW isdone to reduce the number of ejecence formed
= s¥tereis a change in topology the inal route wil nly updte the DR an
‘808 and no oer router The OR in turn wil update the emining routers.
+ Backup Designated Router (BR)
Tiss a bacup tothe OR and wil only receive updates but wil not update
the the routers.
~ sfthe 08 goes down then the BOR iat asthe DR.Peco
Rand BOR Election is done by the Hello Packets
“The router withthe highest OSPF priority will become the DRand the
router with the second highest priority will become BOR
‘nail routers the default priortyis 1
In that case, the router with the highest Router 1D will become the DR.
“and the Router withthe second highest D will become the BOR
Multicast adress used for updating
~ omer routers 908 9 224008
= onto other outers > 224005
Disadvantages of OSPF
+ Consumes More Memory and CPU processing
+ Complex configuration