by abdel_n on Thu Jul 01, 2010 4:01 pm
Hi Xuchao,
Here is the story of the "OSPF in the multiaccess network" I hope you will like it
As a link-state protocol OSPF establish neighbor relationships (full) with its neighbors to exchange updates.
In a multiaccess networks like Ethernet or NBMA (FR/ATM), each connected routers will establish a neighbor relationship (full) with all other routers, to exchange updates.
So just imagine 10 routers (not considered a big network) connected through Ethernet, will establish n*(n-1)/2=10*(9)/2= 45 "full" neighbor relationships, and their associated "update flooding".
To avoid this situation, a DR (Designated router) will take charge of collecting all updates from each participants (full relationship) and advertise it to others, while the remanding participants will establish only a 2-way relationships with each other without exchanging updates ("I recognize you as a neighbor, but I'm exchanging updates ONLY with the DR"). ==> ONLY (n-1)=9 "full" relationships + update flooding's.
Because DR is a crucial role, it will be a good idea to back it up, hence the BDR (Backup Designated router)
DR election criteria:
- Highest priority
- otherwise highest Router ID
BDR will be the second best participant.
Routers with priority=0 are excluded from the election (will never be DR/BDR).
Hope this answer your questions.