Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
RC-2328
Protocol no :-89
AD:- 110
Type:- Link State
Metric:-Cost(Cost of all the links to the destination)
Algorithm:- Dijkstra
Hello:- 10sec on broadcast and point to point interface / 30 sec on NBMA Network
Dead:- 4xHello
To create/maintain Neighbor table it uses hello packets. Router sends hello packets to 224.0.0.5 .
Hello packet contains : 1) Router ID
2) Area ID
3) Source Address
4) Authentication Info.
5) Hello Interval
6) Dead Interval
7) Priority
8) DR/BDR ID
9) Neighbor Router ID
* Area ID, Authentication, Hello Interval, Dead Interval should match to become a neighbor or form a neighbor
relationship.
After neighbor relationship router checks for Adjacency. Only Adjacent routers can exchange LSA with each other .
Conditions for adjacency are
Hello Packet
Hello Packet
Router is in init state after receiving hello from A
1) Init state means hello exchange started.( sent the hello packet)
If link stays in Init state then there is some mismatch in hello packets
2) 2 Way state means neighbor but not adjacent. No LSA exchange can happen .
If link stays in 2way state then it is neighbor but can’t form adjacency and no LSA exchange can happen.
3) After 2 way state Adjacency is formed (DR/BDR election happens in broadcast network.)
4) Ex-start state means exchanging the DBD packets.
5) Exchange state means full link state database is exchanged.
6) Full state means adjacent and LSA exchange done and synchronized.
Network Types in OSPF
1) Point-to-Point ( No DR/BDR)
2) Broadcast ( DR/BDR)
3) NBMA (Only DR , No broadcast/No multicast – For Neighbor Communication Unicast is used)
4) Point-to-Multipoint (No DR/BDR – Broadcast /Multicast allowed – Map ip * broadcast command)
*Stub Area and totally stub area routers use a default routes to reach other external routes or other area routes in
case of totally stubby area.
Router Types:-