Re: DR & BDR Election

wu min <made_in__china@HOTMAIL.COM> Thu, 23 May 2002 14:53 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 KAA13077 for <ospf-archive@LISTS.IETF.ORG>; Thu, 23 May 2002 10:53:53 -0400 (EDT)
Received: from walnut (209.119.0.61) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <3.00619BEB@cherry.ease.lsoft.com>; Thu, 23 May 2002 10:54:10 -0400
Received: from DISCUSS.MICROSOFT.COM by DISCUSS.MICROSOFT.COM (LISTSERV-TCP/IP release 1.8d) with spool id 889996 for OSPF@DISCUSS.MICROSOFT.COM; Thu, 23 May 2002 10:54:10 -0400
Received: from 64.4.37.11 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0d) with TCP; Thu, 23 May 2002 10:54:10 -0400
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 23 May 2002 07:54:09 -0700
Received: from 155.245.254.253 by pv2fd.pav2.hotmail.msn.com with HTTP; Thu, 23 May 2002 14:54:09 GMT
X-Originating-IP: [155.245.254.253]
Mime-Version: 1.0
Content-Type: text/plain; format="flowed"
X-OriginalArrivalTime: 23 May 2002 14:54:09.0512 (UTC) FILETIME=[B1A6DE80:01C20269]
Message-ID: <F11r7FYpVZd5eH5mzpa0000abc9@hotmail.com>
Date: Thu, 23 May 2002 14:54:09 +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 Alex,

Thank you for the reply and thanks for pointing out the previous question
raised too.

>  A short answer to your questions would be---please follow
>  the spec.

Yes, sir!

For question (1) and (2), I am now clear of what DR and BDR fields in Hello
packets should be. I got them mixed up with priority field :)

However, I am still pretty vague with the election process. The following is
a scenario and the effects and actions taken by routers (this is from my
current understanding).

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.

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).

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.

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. Subsequent
Hello packets from all routers will have DR = V and BDR = U.

I believe some part is wrong, but please point out to me.

Further question: Should a router immediately broadcast a Hello packet when
its perception about DR/BDR changed? Or just wait for the Hello Timer to
expire?

-Tze Ven


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com