Re: DR & BDR Election
wu min <made_in__china@HOTMAIL.COM> Fri, 24 May 2002 14:41 UTC
Received: from cherry.ease.lsoft.com (cherry.ease.lsoft.com [209.119.0.109]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA00451 for <ospf-archive@LISTS.IETF.ORG>; Fri, 24 May 2002 10:41:54 -0400 (EDT)
Received: from walnut (209.119.0.61) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <16.0061C418@cherry.ease.lsoft.com>; Fri, 24 May 2002 10:42:11 -0400
Received: from DISCUSS.MICROSOFT.COM by DISCUSS.MICROSOFT.COM (LISTSERV-TCP/IP release 1.8d) with spool id 874741 for OSPF@DISCUSS.MICROSOFT.COM; Fri, 24 May 2002 10:42:11 -0400
Received: from 64.4.37.120 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0d) with TCP; Fri, 24 May 2002 10:42:11 -0400
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 24 May 2002 07:42:10 -0700
Received: from 155.245.254.253 by pv2fd.pav2.hotmail.msn.com with HTTP; Fri, 24 May 2002 14:42:10 GMT
X-Originating-IP: [155.245.254.253]
Mime-Version: 1.0
Content-Type: text/plain; format="flowed"
X-OriginalArrivalTime: 24 May 2002 14:42:10.0785 (UTC) FILETIME=[2FAB9510:01C20331]
Message-ID: <F120GppWVSQb84pMJZY0000ba6c@hotmail.com>
Date: Fri, 24 May 2002 14:42:10 +0000
Reply-To: Mailing List <OSPF@DISCUSS.MICROSOFT.COM>
Sender: Mailing List <OSPF@DISCUSS.MICROSOFT.COM>
From: wu min <made_in__china@HOTMAIL.COM>
Subject: Re: DR & BDR Election
To: OSPF@DISCUSS.MICROSOFT.COM
Hi Yasu and Alex, Yes, it can be more complex than this as Yasu pointed out, however I try to keep it simple because I only intended to make myself clear of the fundamental working of the election process. I will figure out the rest of the complexities and try on my own once I am pretty sure about its basic working (unless I bump into problem again :). The assumption made on paragraph 2 and 4 of my previous example is that all individual Hello packets are transmitted (and also received) around the same time (this simplifies the example :). Both of you mentioned that the BDR should be elected as well during the first round so I have augmented the scenario below. Please verify it for me. >Lets say we have 4 routers, namely, S, T, U, and V with priority 2, >3, 4, and 5 respectively. Initially none of the routers had interact >with one another yet. When all first broadcasted their respective >Hello packets, they declared themselves individually as DR but let >BDR = 0.0.0.0. > >At this stage, all routers have received this information and they >start to calculate (since this information is new to them, it triggers >NeighbourChange event, and thus the calculation) and found out that >there is no BDR yet and V should be nominated as DR. [If I followed the rules strictly, then the statements below should be true and should come after the last paragraph above] All routers EXCEPT ROUTER V will *repeat* steps (2) and (3) since they realize that they are no longer *once believed* to be DRs. However after the execution, their perceptions about DR & BDR stays the same (DR = V; BDR = 0.0.0.0) since no one claims to be BDR (the BDR field in their HelloPacket was 0.0.0.0) EXCEPT FOR ROUTER U where it now nominates itself as BDR (however it keeps its DR = V). >V, the newly elected DR, repeats step (2) and (3), but its perception >about DR & BDR stays the same (DR = V; BDR = 0.0.0.0). This statement (the above paragraph) is no more valid. >The next moment, all broadcast individual Hello packets again, each >Hello packet, except from U, still contain DR = V and BDR = 0.0.0.0. >Hello packet from U now contains DR = V and BDR = U. All routers see >the change and begin calculating again. Now every router realizes >that BDR = U and DR = V and the election process complete for all >routers except router U. [Please verify the additional statements below] Note that all routers, except router U, trigger NeighbourChange event and thus start calculating because router U's HelloPacket contents is different from their views. Whereas, router U triggers NeighbourChange event and thus start calculating because all other routers' HelloPackets contents are different from its view. So effectively all routers see the change and start calculating. [Modification] The last statement in the paragraph above should read, "Now every router realizes that BDR = U and DR = V and the election process are completed for all routers INCLUDING router U". The reason is stated below. >U, the newly elected BDR, repeats step (2) and (3), but its >perception about DR & BDR stays the same (DR = V; BDR= U). Election >process ends. The paragraph above is not valid since router U has already assumed the BDR post since prior to the last broadcast and its view never change till this current stage. Due to this, note that during this round, no router *re-execute* steps (2) and (3). >Subsequent Hello packets from all routers will have DR = V and >BDR = U. Thank you in advance. -Tze Ven. _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
- DR & BDR Election wu min
- Re: DR & BDR Election Alex Zinin
- Re: DR & BDR Election wu min
- Re: DR & BDR Election Yasuhiro Ohara
- Re: DR & BDR Election Alex Zinin
- Re: DR & BDR Election Yasuhiro Ohara
- Re: DR & BDR Election Erblichs
- Re: DR & BDR Election wu min
- Re: DR & BDR Election Yasuhiro Ohara
- Opaque LSA Amit Srivastava
- Re: DR & BDR Election wu min
- Re: DR & BDR Election Yasuhiro Ohara
- DR & BDR Election?? Amit Srivastava
- Re: DR & BDR Election?? Yasuhiro Ohara
- Re: DR & BDR Election Balaji R (Networking) - CTD, Chennai.
- Re: DR & BDR Election Balaji R (Networking) - CTD, Chennai.
- Re: DR & BDR Election Amit Srivastava