Options

about DR election and flooding LSA packets in OSPF?

thedramathedrama Member Posts: 291 ■□□□□□□□□□
Hey guyz i forgot something very important about single-area OSPF. After establishing adjacency with directly connected routers by sending and receiving hello packets with required same values such as area ID, LSA packets are exchanged between adjacent routers. However,then, additionally DR is elected in order to flood LSAs between all others once more.

So if we exchange LSA packets including route and link-state information between all other directly connected routers, why do we need to flood LSA packets by DR "second time"?
Monster PC specs(Packard Bell VR46) : Intel Celeron Dual-Core 1.2 GHz CPU , 4096 MB DDR3 RAM, Intel Media Graphics (R) 4 Family with IntelGMA 4500 M HD graphics. :lol:

5 year-old laptop PC specs(Toshiba Satellite A210) : AMD Athlon 64 x2 1.9 GHz CPU, ATI Radeon X1200 128 MB Video Memory graphics card, 3072 MB 667 Mhz DDR2 RAM. (1 stick 2 gigabytes and 1 stick 1 gigabytes)


Comments

  • Options
    MsafiriMsafiri Member Posts: 11 ■□□□□□□□□□
    A router will form adjacencies with its neighbors and with the DR and BDR, when a link state changes it will send LSAs to neighbors and DR, the DR will then send the LSA to all routers, this ensures that all routers receive the LSA even those that were not neighbors of the router the LSA originally came from.

    It also reduced the amount of bandwidth consumed by routing updates.
  • Options
    thedramathedrama Member Posts: 291 ■□□□□□□□□□
    Msafiri wrote: »
    A router will form adjacencies with its neighbors and with the DR and BDR, when a link state changes it will send LSAs to neighbors and DR, the DR will then send the LSA to all routers, this ensures that all routers receive the LSA even those that were not neighbors of the router the LSA originally came from.

    It also reduced the amount of bandwidth consumed by routing updates.

    Would you explain with more details?
    Monster PC specs(Packard Bell VR46) : Intel Celeron Dual-Core 1.2 GHz CPU , 4096 MB DDR3 RAM, Intel Media Graphics (R) 4 Family with IntelGMA 4500 M HD graphics. :lol:

    5 year-old laptop PC specs(Toshiba Satellite A210) : AMD Athlon 64 x2 1.9 GHz CPU, ATI Radeon X1200 128 MB Video Memory graphics card, 3072 MB 667 Mhz DDR2 RAM. (1 stick 2 gigabytes and 1 stick 1 gigabytes)


  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    The DR/BDR is only used on multiaccess segments where there is a possibility for forming a neighbor with more than one router.

    The DR election is completed before the routers form the neighborship, and before any LSAs are exchanged.

    All routers on the multiaccess segment then only form full adjacencies with the DR and BDR. All LSA information is exchanged with these fully adjacent neighbors. The DR also creates the type 2 LSA which is flooded to represent all routers on the segment.

    It basically just cuts down on all the traffic needed to ensure everyone has all the complete information.
    An expert is a man who has made all the mistakes which can be made.
  • Options
    MsafiriMsafiri Member Posts: 11 ■□□□□□□□□□
    thedrama wrote: »
    Would you explain with more details?
    The idea behind this is that routers have a central point of contact for information exchange. Instead of each router exchanging updates with every other router on the segment, every router exchanges information with the DR and BDR. The DR and BDR relay the information to everybody else.

    In mathematical terms, this cuts the information exchange from O(n*n) to O(n) where n is the number of routers on a multi-access segment. The following router model illustrates the DR and BDR:

    5K2cI.gif

    OSPF Design Guide - Cisco Systems
  • Options
    thedramathedrama Member Posts: 291 ■□□□□□□□□□
    The DR/BDR is only used on multiaccess segments where there is a possibility for forming a neighbor with more than one router.

    The DR election is completed before the routers form the neighborship, and before any LSAs are exchanged.

    All routers on the multiaccess segment then only form full adjacencies with the DR and BDR. All LSA information is exchanged with these fully adjacent neighbors. The DR also creates the type 2 LSA which is flooded to represent all routers on the segment.

    It basically just cuts down on all the traffic needed to ensure everyone has all the complete information.

    wait! As much as i can realise from both of your replies,

    Normally, LSAs are exchanged between all directly connected routers then topology table is built for each router. Eventually, when convergence is done, best paths are chosen in order to reach remote networks.
    Furthermore, LSAs are also flooded by DR to all other routers only when topology changes occur. If topology changes happen on another router, it is told to DR first and DR does the flood. Right?
    Monster PC specs(Packard Bell VR46) : Intel Celeron Dual-Core 1.2 GHz CPU , 4096 MB DDR3 RAM, Intel Media Graphics (R) 4 Family with IntelGMA 4500 M HD graphics. :lol:

    5 year-old laptop PC specs(Toshiba Satellite A210) : AMD Athlon 64 x2 1.9 GHz CPU, ATI Radeon X1200 128 MB Video Memory graphics card, 3072 MB 667 Mhz DDR2 RAM. (1 stick 2 gigabytes and 1 stick 1 gigabytes)


Sign In or Register to comment.