[Idr] Re: Shepherd's review of draft-ietf-idr-bgp-bfd-strict-mode-13.txt

Robert Raszuk <robert@raszuk.net> Mon, 15 July 2024 15:50 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E7D61C180B7A for <idr@ietfa.amsl.com>; Mon, 15 Jul 2024 08:50:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AG6BLq2Ckfaa for <idr@ietfa.amsl.com>; Mon, 15 Jul 2024 08:50:03 -0700 (PDT)
Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 78DE3C180B59 for <idr@ietf.org>; Mon, 15 Jul 2024 08:50:01 -0700 (PDT)
Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-58d24201934so543720a12.0 for <idr@ietf.org>; Mon, 15 Jul 2024 08:50:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; t=1721058599; x=1721663399; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bUHgpkEVNk3WUtaBbjkRxau0x+egUjodt2VMmcXsl3Q=; b=OB0os/I2Hn6BmmB6at8mHlNHY3BrH8HKNMURPINQ0rEvlx31jioBBjZdeOdO1bSTn4 Sh988vbIs0joEjXP+sC9TZuiqoTxD6I+YwZrLQnkkpROu90MeXYVNpdZjC5W7L91wxS0 +VvsMDTrPpnR22XGzDD6pg6DDZHG0Cp/G4mXA3Do/ibTNdPuchbnCjMTHsivsxQo4zaO TaZUBcamoNohV/inl2o7AFIrpMc5hF7f/T7oDsAf8/Pv34RDoFcIXmHaec63TWg6bznV Z0Gk0ZNUDEeSfSc0laINfukqXdN8AIpOZnp8QMYYFZPBujIYJmM8p6BVGq0jcDayQNas 5RGA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721058599; x=1721663399; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bUHgpkEVNk3WUtaBbjkRxau0x+egUjodt2VMmcXsl3Q=; b=sA/nV+ufG2cjMhdPPlCnJLZyEL4Gsz/Y3kJ990sGGuwAJ1eUWFyqzTMnDs1m8DOj0g 8zoPk1Xn2dtcYLPU0ZLeK4LaHXU37v6zfuAAd8PzcG+ZgZ3ahWEQEnxSE8Twxen4n4wR 83bsMxPiXHewNRtJa6ivx7PCYH6K7b7BTeCiRKkydygG0bmH2FuhyeknG5ZEay5alWnE tqxUWV4xe9BfeSvkE0ZyuLXP87Tk5/sA3vhco3LazWOysCfFq/f2If5fLDHSKYVe9wOU wiUtAp1dp4W0ecDyB+XnZr407CFIMEuXtyW6os+cjTaAIIBLcxLPd0SWzPeFQ97QdFH0 qgXg==
X-Gm-Message-State: AOJu0YxGuXvksS1VnSPbvon3xFZCD5iFEpGtHFF4oc7TSWDGlA+jrVrm ktP5azUQII1SYJpW3GheW+Z6bWy5vacP9xOq+gdwzmkACBAQZ/8r75RrmCQh9LlWbnEEs9/5zYY 1pZXORxjPp+Eez3CckPXU6XVxJ5Uh4MFL1Wa0ZA==
X-Google-Smtp-Source: AGHT+IGYybcdB6UhSjVW8k/oOCWyksrlEHgSV1huUE36ZHMtlm1uk/sQBNN59aCSOyJwA0lWip63ET5qgTkoPOU50PQ=
X-Received: by 2002:a05:6402:3547:b0:57d:3e48:165d with SMTP id 4fb4d7f45d1cf-59e96c8642fmr269466a12.4.1721058598768; Mon, 15 Jul 2024 08:49:58 -0700 (PDT)
MIME-Version: 1.0
References: <SA2PR08MB662075F57F01C06B71182D62B3A02@SA2PR08MB6620.namprd08.prod.outlook.com> <CO1PR08MB661118BCF3D523DC9491AC1DB3A12@CO1PR08MB6611.namprd08.prod.outlook.com> <CAOj+MMHRHkYQ0JJ1XcMfwd2+ExBFfKfkxWu69P6bpO0BciTGNA@mail.gmail.com> <032CC46B-3EAA-473B-92DD-F0913C9324E4@pfrc.org>
In-Reply-To: <032CC46B-3EAA-473B-92DD-F0913C9324E4@pfrc.org>
From: Robert Raszuk <robert@raszuk.net>
Date: Mon, 15 Jul 2024 17:49:47 +0200
Message-ID: <CAOj+MMGtV-wU05FBKnd3BP-+4ioWK+huMVC6zQF5skwLYcSgHQ@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Content-Type: multipart/alternative; boundary="0000000000006aed93061d4b2ebd"
Message-ID-Hash: AXQWGUN5354DKNQKSX44JMRIOBPATEER
X-Message-ID-Hash: AXQWGUN5354DKNQKSX44JMRIOBPATEER
X-MailFrom: robert@raszuk.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-idr.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "idr@ietf.org" <idr@ietf.org>, Sue Hares <shares@ndzh.com>, "draft-ietf-idr-bgp-bfd-strict-mode@ietf.org" <draft-ietf-idr-bgp-bfd-strict-mode@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Idr] Re: Shepherd's review of draft-ietf-idr-bgp-bfd-strict-mode-13.txt
List-Id: Inter-Domain Routing <idr.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/mq_pk1LS13E3P1bkQswrerk8Y8U>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Owner: <mailto:idr-owner@ietf.org>
List-Post: <mailto:idr@ietf.org>
List-Subscribe: <mailto:idr-join@ietf.org>
List-Unsubscribe: <mailto:idr-leave@ietf.org>

Hi Jeff,

Thx for the half of the presentation but I really was not asking for it.
Nor I was questioning the usefulness of using BGP + BFD and attempting to
document the standard/expected behaviour in BGP FSM.

I was pointing out that deployments using static + BFD to BGP peers exist
as well as IX+RS. IMO it could be useful to comment on those in this draft
too.

/* On the last one maybe draft-ietf-idr-rs-bfd-00 could be an alternate
place, but it looks a bit shelved */

A bit of discussion of using BFD for IBGP would also not hurt the document
:)

Thx,
Robert


On Mon, Jul 15, 2024 at 5:22 PM Jeffrey Haas <jhaas@pfrc.org> wrote:

>
>
> On Jul 15, 2024, at 9:38 AM, Robert Raszuk <robert@raszuk.net> wrote:
>
> Hi,
>
> The draft seems to be agnostic to the type of BGP session (IBGP vs EBGP).
> Is this the real intention to allow this mode of BFD operation on BGP
> session to be applicable to both types of BGP session ?
>
>
> The draft is applicable to single hop and multi-hop BFD.
>
>
> For EBGP in a lot of cases reachability to a peer is enabled with static
> route (example single EBGP with disable-connected-check over multiple
> links). When this is used quite often BFD is also already enabled for
> static routes. Is the intention here to duplicate it and run yet one more
> layer of BFD session ?
>
>
> No.
>
> From the Introduction:
> "The BFD interaction with BGP is specified in Section 10.2 of [RFC5882
> <https://www.rfc-editor.org/info/rfc5882>]. When BFD is enabled for a BGP
> neighbor, faults in the bidirectional forwarding detected by BFD result in
> BGP session termination. It is possible in some failure scenarios for the
> network to be in a state such that a BGP session may be established but a
> BFD session cannot be established. In some other scenarios, it may be
> possible to establish a BGP session, but a degraded or poor-quality link
> may result in the corresponding BFD session going up and down frequently."
>
> Multiple implementations of BGP using BFD would rely on BFD being Up at
> different points of the BGP FSM.  In some cases, this would result in
> interop issues including deadlock (primarily in the "holddown" modes) where
> one side is waiting for BGP to go to Established before starting BFD and
> the other side is waiting for BFD to go to Up before starting the BGP
> session.  In other situations, such as noted above, you'd end up with
> immediate flaps because BFD itself wasn't stable before BGP got involved.
> And in yet others, BFD was allowed to go Up well after BGP was Established,
> BFD would go immediately down and then take out whatever work was done.
>
> The fix for all of these issues is to be mutually rigorous as to when BFD
> sessions must be established vs. the BGP FSM.
>
> Note: You've just gotten about half of the IDR 120 presentation. :-)
>
> -- Jeff
>
>