Re: DR & BDR Election

Yasuhiro Ohara <yasu@SFC.WIDE.AD.JP> Tue, 28 May 2002 06:51 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 CAA09716 for <ospf-archive@LISTS.IETF.ORG>; Tue, 28 May 2002 02:51:22 -0400 (EDT)
Received: from walnut (209.119.0.61) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <16.00625785@cherry.ease.lsoft.com>; Tue, 28 May 2002 2:51:43 -0400
Received: from DISCUSS.MICROSOFT.COM by DISCUSS.MICROSOFT.COM (LISTSERV-TCP/IP release 1.8d) with spool id 887494 for OSPF@DISCUSS.MICROSOFT.COM; Tue, 28 May 2002 02:51:43 -0400
Received: from 203.178.142.130 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0d) with TCP; Tue, 28 May 2002 02:51:43 -0400
Received: from localhost (page.sfc.wide.ad.jp [203.178.143.89]) by shonan.sfc.wide.ad.jp (Postfix) with ESMTP id C2FD95D00D; Tue, 28 May 2002 15:51:40 +0900 (JST)
References: <F125KVM1Z95eWEhrkMN0000e923@hotmail.com>
X-Mailer: Mew version 2.1 on XEmacs 21.1.14 (Cuyahoga Valley)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <20020528.154515.58386327.yasu@sfc.wide.ad.jp>
Date: Tue, 28 May 2002 15:45:15 +0900
Reply-To: Mailing List <OSPF@DISCUSS.MICROSOFT.COM>
Sender: Mailing List <OSPF@DISCUSS.MICROSOFT.COM>
From: Yasuhiro Ohara <yasu@SFC.WIDE.AD.JP>
Subject: Re: DR & BDR Election
Comments: To: made_in__china@HOTMAIL.COM
To: OSPF@DISCUSS.MICROSOFT.COM
In-Reply-To: <F125KVM1Z95eWEhrkMN0000e923@hotmail.com>
Content-Transfer-Encoding: 7bit

> Question
> ---------
> I have doubt with (ii) and (iii). Should router A have placed itself in BDR
> candidates list before recalculating steps (2) and (3) or just allow router
> C to retain its BDR post?

In my understanding, an implementation strictly following RFC2328 will
do latter: just allow router C to retain its BDR post. The next BDR
view of the segment depends on whether A will declare itself as BDR or
not.

> I can understand why a newly designated DR needs to repeat steps (2) and
> (3). Those steps avoid the router from claiming to be DR and BDR at one
> time. However I cannot see why *repetition* of those steps are required for
> a router that self-nominate as BDR, resigning from BDR, or resigning from
> DR, as indicated by step (4) because even after the recalculation, its view
> will never change. Do I miss any important point here?

I can't think of a situation where the 2nd calculation of DR (2nd (3))
is necessary ... (I want someone to teach me ...)

But obviously 2nd calculation of BDR (2nd (2)) is necessary, see
below:

# note: RFC2328 9.4 (2) describes BDR calculation, (3) describes DR
#       calculation

                            new comer
            +-+-+    +-+-+    +-+-+
            |A|1|    |B|0|    |C|2|
            +-+-+    +-+-+    +-+-+
            | A |    | A |    | C |
            +---+    +---+    +---+
            | - |    | - |    | - |
            +---+    +---+    +---+

 after        C
1st (2)(3)    -

 after        C
2nd (2)       A

Router B has priority 0 so he is not eligible to become neither DR nor
BDR. So before the newcomer comes, the segment's DR is A and BDR is
none.

Looking into A's calculation, After the newcomer has come and just
after 1st calculation of DR/BDR, A has just resigned DR but he's
yet eligible to become BDR. If we don't recalculate BDR/DR again,
A cannot realize that he can be BDR.

regards.
yasu