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

Stig Venaas <stig@venaas.com> Fri, 22 June 2018 23:39 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 AF159130F1A for <pim@ietfa.amsl.com>; Fri, 22 Jun 2018 16:39:34 -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 QvGri1YZYMij for <pim@ietfa.amsl.com>; Fri, 22 Jun 2018 16:39:31 -0700 (PDT)
Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (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 9A634130F19 for <pim@ietf.org>; Fri, 22 Jun 2018 16:39:31 -0700 (PDT)
Received: by mail-ed1-x52d.google.com with SMTP id a5-v6so2105597edt.5 for <pim@ietf.org>; Fri, 22 Jun 2018 16:39:31 -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:content-transfer-encoding; bh=0Q0wjTalO3pX2R+em9YhJXmAgVsNa6wz3OimBMph980=; b=rfkDMSY7tAnkw5PGkEfPWehJK3zAd/SFodrtr6LEOf/imR9fprE6ndzQRrVRrvtyxf ZfecyMD4+iccV1iZQ3kcWvKLRfeoQqHYaW1x0fl5DHcI/rD0B6PuOyEuldhfMralMr8w yh9+nghz1NnTRrP6gxdZx0EGIDk4bu9Kx20oUXvv3lFErIc/yTj51z9sjHeJm7Gi71Ai x/3D5i3M39NWstDzfkX+GehLuQZP5Q8UwZaCv8JuvFyleyE4Sfmb3Ke8tqup0r7GDCJn vGI73Eia5zsSB/HdCP5y67BrFqbFiRFt2htrzPJ7RhubZ3Q+LXuRIRJ+k4tjhIds5npM O1wg==
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:content-transfer-encoding; bh=0Q0wjTalO3pX2R+em9YhJXmAgVsNa6wz3OimBMph980=; b=lR/zWu0mssWnQpExc0VRxmAiYPKPIqQd6/yVCKZgl44lU5TSucC+tumORQxkfH0i3B 1lBt5RCrNjFGvPPXxnU1cLxkk7r8dSsWeqCZ/+eK/v0KgQ1hqgZfnRNdUhgCzfChOKQL yr2TmNE62xu6E0KP4arIHZkkwz4P1Fay1u4J74kW3XBXTCQbDCz7wTvx1Be7RWgmakmH +EFob0woX9lGoxMtPLJenPvMmLAbdTyC4GYRm+DWwkJTVnOCGtCoIgsqwkSpJ5iBjDve IcSOmRTdfjTeR3dy6bxDvpuK8UqNf0gE4qGBTE7wX+2zm5Sc1WBMbSwGATMK+O9eSUdz 2RGQ==
X-Gm-Message-State: APt69E1iIPGG4N1cIgDl685DwblbT6q/lyymDmUPP5zzkELLCf3lSjOy QBRS8WznExfG5qNFwnrwHhYEhNYW5Z4/NfvdAsHBFA==
X-Google-Smtp-Source: ADUXVKLYkmOklotJsrLhUFmT9Vdc5S9AGhVsd+2YuA6wpuqnuTQotv+uM2ewyvsN/fIn8GqpyujId3NnQ+A/3839VYA=
X-Received: by 2002:a50:9048:: with SMTP id z8-v6mr3322252edz.79.1529710769999; Fri, 22 Jun 2018 16:39:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a50:ec17:0:0:0:0:0 with HTTP; Fri, 22 Jun 2018 16:39:29 -0700 (PDT)
In-Reply-To: <4851E421-B995-4601-9249-B56CB634BA25@cisco.com>
References: <CAHANBtJMzViBO18tOstON4kQdcBfayyL1Ag9Pjn1A=3Q1QF+pw@mail.gmail.com> <4851E421-B995-4601-9249-B56CB634BA25@cisco.com>
From: Stig Venaas <stig@venaas.com>
Date: Fri, 22 Jun 2018 16:39:29 -0700
Message-ID: <CAHANBt+6Ls0KjuRFsik4qF2OR9KiWYLxau9SrvZ4FfG-kPS=cQ@mail.gmail.com>
To: "Mankamana Mishra (mankamis)" <mankamis@cisco.com>
Cc: "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"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/GL6gZk5ErHkZls2A2xkDPtfiTVU>
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: Fri, 22 Jun 2018 23:39:35 -0000

Hi

I've been thinking about this some more. Usually the DR election is
based on the neighbor's you have received hello from, which only
requires one way reachability. p2mp BFD would by just using multicast,
verify one way reachability in the same direction. If the BFD packets
don't make it through, then hello's from that neighbor would
presumably not make it either. So this should be fine.

I was asking what action to take when a failure is detected. I agree a
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).

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.

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
>