Re: [pim] Some thoughts on draft-mirsky-pim-bfd-p2mp-use-case

Stig Venaas <stig@venaas.com> Mon, 25 June 2018 20:23 UTC

Return-Path: <stig@venaas.com>
X-Original-To: pim@ietfa.amsl.com
Delivered-To: pim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B2F8130E40 for <pim@ietfa.amsl.com>; Mon, 25 Jun 2018 13:23:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, T_DKIMWL_WL_MED=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=venaas-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7TmuRHNcnwhd for <pim@ietfa.amsl.com>; Mon, 25 Jun 2018 13:23:56 -0700 (PDT)
Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB140130E3E for <pim@ietf.org>; Mon, 25 Jun 2018 13:23:55 -0700 (PDT)
Received: by mail-ed1-x532.google.com with SMTP id a5-v6so6209578edt.5 for <pim@ietf.org>; Mon, 25 Jun 2018 13:23:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=venaas-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ncgCW00feuDcpfptFq8NHb4J9DopFjNQI/nAMFVcKqI=; b=JXIXrDr+PG6lGP7JDpMrRKqmRPm6EbAwny1jEcyAN2p/bZnwz/qqhxAEK0FhntqFaV p3Vj6WwQIaul98Pg5s25t60N4UnUhf4CKsDMuzh4BfSzpm1R5ma8+26rV35TkIwW3Ntk j1cnZFp0HBzrc7sw5JUfd/3YhDFPjsIDZYThqZi/8SshsYWOW+ohKbUtslgw/IISZdSj j2p6cqzYVs1KxjNuNeHEP0P2GcIu8Y51M1Wzeu8ddf2cyl8vtCJZM4jKgYtFhi2M5hCR jSdp4lz93ODiN5QZAQxrSFOcyPkWhwigSu3/F5koYz0IgTglqCb6XPL/qh328UK203iJ 5d4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ncgCW00feuDcpfptFq8NHb4J9DopFjNQI/nAMFVcKqI=; b=c7Qp5BABis1HUcd5YxW9r87VmQNaUWLDMSvRkSt/wQYIK07E59Hp8cBZ9ANWGwNXVj XO5mztq39Lc6VAe6TIATiDy2AWYqv+vR+rWAjms9lolKbLoTjsfYdmupE91bVSl33h62 Mu9ZnJZA3QXTNfZ5dylijQu6rOa9veJGQtbmZ+cygte3gu2/LIUpUhwlaPhDyzLPyTmD OqZkpSTizEcPct1X+RSEg1wll1vuLPtGRqufCp/VN+SWNZZs2utoyN06xnDb8vSn82Np +LASsOGB8paCsUEAgQ/fhdhloAjDkSSQMBjJzoRyyDEBpIWfpISmKH+lYwusCyg26pRq uBKQ==
X-Gm-Message-State: APt69E1XitxTsoxBg2kkGq6Ukh8A5TZA3WnwKVEuKT7GLx4qOJuuewSb 7XYASFBTqAF7Ts+YZC159BHpcCXKfS0WdNwQeshXMA==
X-Google-Smtp-Source: ADUXVKKUBgKkvVZ7sWbgtW6Yv+NBOtU0yr4n4DmJyST0r7w6E+oP+yo2wdNmpraMZ5PhHn6bMjKj2fWRvFCfUytLthU=
X-Received: by 2002:a50:cb0d:: with SMTP id g13-v6mr12440377edi.81.1529958234403; Mon, 25 Jun 2018 13:23:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a50:ec17:0:0:0:0:0 with HTTP; Mon, 25 Jun 2018 13:23:53 -0700 (PDT)
In-Reply-To: <CA+RyBmXmJ3-qgOLyquLsAc1oKvakb7esfLeE90-5V7VGb35rMw@mail.gmail.com>
References: <CAHANBtJMzViBO18tOstON4kQdcBfayyL1Ag9Pjn1A=3Q1QF+pw@mail.gmail.com> <4851E421-B995-4601-9249-B56CB634BA25@cisco.com> <CAHANBt+6Ls0KjuRFsik4qF2OR9KiWYLxau9SrvZ4FfG-kPS=cQ@mail.gmail.com> <CA+RyBmXmJ3-qgOLyquLsAc1oKvakb7esfLeE90-5V7VGb35rMw@mail.gmail.com>
From: Stig Venaas <stig@venaas.com>
Date: Mon, 25 Jun 2018 13:23:53 -0700
Message-ID: <CAHANBt+Ja=YgLYU=u==PGwf1ngz9Yqy-M_OhDpTEbuyV1x0aHQ@mail.gmail.com>
To: Greg Mirsky <gregimirsky@gmail.com>
Cc: "Mankamana Mishra (mankamis)" <mankamis@cisco.com>, "pim@ietf.org" <pim@ietf.org>, "draft-mirsky-pim-bfd-p2mp-use-case@ietf.org" <draft-mirsky-pim-bfd-p2mp-use-case@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/4iKR_VMK9DDXiBrf9o_9zJmkZ2w>
Subject: Re: [pim] Some thoughts on draft-mirsky-pim-bfd-p2mp-use-case
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Protocol Independent Multicast <pim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pim>, <mailto:pim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pim/>
List-Post: <mailto:pim@ietf.org>
List-Help: <mailto:pim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pim>, <mailto:pim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jun 2018 20:23:59 -0000

Hi

On Mon, Jun 25, 2018 at 9:39 AM, Greg Mirsky <gregimirsky@gmail.com> wrote:
> Hi Stig,
> thank you for helping with great PIM details. Please find my new notes
> in-line tagged GIM2>>.
>
> Regards,
> Greg
>
> On Fri, Jun 22, 2018 at 4:39 PM, Stig Venaas <stig@venaas.com> wrote:
[...]
>> new DR should be elected, but it should be more specific. I think it
>> should expire the neighbor (or at least exclude that neighbor from
>> consideration as a DR).
>
> GIM>> Like "MUST exclude the current DR from election process"?

I think it is best to withdraw the neighbor, just as if the neighbor
just expired. It will expire later anyway if no more packets are
received. That would be my preference. But one could potentially
exclude it from the election process as you say, and elect the "next
best" router as DR. Either way you end up with the same router as DR,
but withdrawing the neighbor may have additional impact on pim.

This discussion makes me realize that a draft on regular BFD and pim
might have been helpful. The implementations I'm aware of would
withdraw the neighbor when the BFD session goes down.

Stig

>>
>> Regarding using BFD not just for the DR. There could potentially be
>> other cases where pim could benefit from quickly knowing a neighbor
>> has gone down. E.g. if assert winner is down. Might it make sense for
>> all pim neighbors to send the hello option for bootstrapping, and make
>> it optional for the other neighbors whether they join the session? It
>> could be left to the admin whether to just use if for DR, or also for
>> other routers.
>
> GIM2>> Very interesting idea, thank you. I'll work on the text along your
> suggestion. One important thing to mention, p2mp BFD, unlike p2p BFD,
> doesn't use three-way handshake. Thus the head cannot use slow transmission
> of BFD packets at 1 sec interval but starts right away with the configured
> one. User should be aware of that.
>
>>
>> Stig
>>
>>
>> On Fri, Jun 22, 2018 at 9:00 AM, Mankamana Mishra (mankamis)
>> <mankamis@cisco.com> wrote:
>> > Hi Stig
>> > In general should we not only be concerned about DR and BDR ? Even if
>> > link failure happens for non DR/BDR PIM routers, with respect to multicast
>> > we do not need to take any action. But yes, we would have increase the scope
>> > of this document to cover cases where DR load balancing is applied and we
>> > want to use BFD protection for all of the DR in shared LAN.
>> >
>> > Mankamana
>> >
>> >> On Jun 21, 2018, at 1:44 PM, Stig Venaas <stig@venaas.com> wrote:
>> >>
>> >> Hi
>> >>
>> >> Posting as a WG participant.
>> >>
>> >> This looks useful to me and I believe it would scale better than the
>> >> current use of p2p BFD for pim. Below are some questions I have.
>> >>
>> >> Unidirectional link failures
>> >> I believe in pim we assume that if a link fails in one direction, it
>> >> also fails in the other direction. Several things could go wrong
>> >> otherwise. Is it sufficient to use BFD for discovering unidirectional
>> >> failures? p2mp BFD seems to be only in one direction normally.
>> >> However, if we need bidirectional, is it useful to have the head query
>> >> the tails and see if it gets responses from all neighbors? What should
>> >> be the behavior if a failure is detected? E.g. if a link is
>> >> partitioned (in both directions), it is beneficial to have a DR in
>> >> each partition.
>> >>
>> >> BFD only for DR?
>> >> The draft currently assumes that it is only needed for the DR. Do we
>> >> in pim need to detect other neighbors going down? I believe there are
>> >> such cases. Even if one uses p2mp BFD for all pim routers, I believe
>> >> it will scale better than the current full p2p mesh.
>> >>
>> >> Stig
>> >>
>> >> _______________________________________________
>> >> pim mailing list
>> >> pim@ietf.org
>> >> https://www.ietf.org/mailman/listinfo/pim
>> >
>
>