RE: [EXTERNAL] Re: Can a BFD session change its source port to facilitate auto recovery

Alexander Vainshtein <Alexander.Vainshtein@rbbn.com> Thu, 23 March 2023 10:08 UTC

Return-Path: <Alexander.Vainshtein@rbbn.com>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59B57C14CEF9 for <rtg-bfd@ietfa.amsl.com>; Thu, 23 Mar 2023 03:08:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rbbn.com header.b="oeYoyTvb"; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=sonusnetworks.onmicrosoft.com header.b="aeeo1f6l"
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 dUkxr6UARTeZ for <rtg-bfd@ietfa.amsl.com>; Thu, 23 Mar 2023 03:08:34 -0700 (PDT)
Received: from mail1.bemta34.messagelabs.com (mail1.bemta34.messagelabs.com [195.245.231.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C4CBC14CF1A for <rtg-bfd@ietf.org>; Thu, 23 Mar 2023 03:08:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rbbn.com; s=rbbnselector03122020; t=1679566112; i=@rbbn.com; bh=WELiqhmrnWN39B973Fv7wkqAfwbXf/E94/Bk7M6ts4I=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=oeYoyTvbePX/a+lA9nrTT7DIJRvks1k4aNWQUJdrEh+3SkQoNK+vJZ+R78vkID8WQ OerwKJPtxkI/K1pvR06B08EU9KP8pDOLejzL5D0k3qrWNizB5+yDPtspYfhNXn8uzV M/JEYdTHqMkKRM4hVdpWkkh6wyALg5+YCt6oT2r7c355kkoyLGv28HkYEnUYrKzTdm qp5KemF+gzpB+1LgKM7462iMaAvfkSQrmJmE2FRCTj7ci1IdXThuSuMba9olpHAu5r u4C4jUvTEnsoHIt2GUXSUutt6O3M4sr0rvodjzYfYs0zsfWGFBTWrPaNkFqj+V0H7C 8Nn7ZMFfnJ6BA==
X-Brightmail-Tracker: H4sIAAAAAAAAA1WTf0wbZRjH+971xw2p3tqxPkKRULbgRlpg80e jWVjUGBKRqXP+YSLuWE9a116xV0bnIinikBZB2ZgZzUYRGW4EJpIFC4UxxgwwBrNs/iKyrhFk 4DayoQIBnHe9buI/bz7P831+fPPmfQlccUMaS9AOO21jKLNGGiU2pr5IaxM2qg1pn7Y+q1/oq ZbpZ8oWMf3ccjvajmd2eMZlmQ0Ni9gr2JsSE5NrdeyWGEPlA5L8SR9yzPn8uBM1tCM3iiIQeQ IHd3FI6kZruKBeAo2/qAShCYHLuxyuEpN+HCpvnpXxgYL0YtDd0hEJggjGe50Y3y8ln4Gl2Ut inteRu+DWjCvMOLkJPhyYk/GsJCkonq6J1OTCwFg9xwTHz8HSvS18WkxuhOFzpxDPcvItGHKN SIRdJQimrnwSnrOG3AaBhgmJ4Hs9zF9sxoRdKhib8IYZSBIaui7jAsfA9G//ROptcCXUjIR8P Ix6yyOcAWVTXpz3A+TLMD8bJ6Qfg6aKkFjgBPi8flYmsBqu//ytlPcG5LIE2krOYELgFUN/Y7 lEqEqD2r8vRKr6Y8Bdcw0JThkYGi9Fn6EUzyrjnlWSJ3wDa2GwZkLs4UzxF/l1Z6pQkgjV5SG ZwI/DwWPHZavzdUjWhJ5kads+2qZN1+XaTHlGu4UymXXU+1pKRxdoC2nWrt2iowpZHc2yOna/ ZY/ZoGNoexvinpiBTaryoZMVK7rz6FEC08TIYVecQfFwrtWw30ixxrdtBWaaPY/UBKEB+Uii2 qBYa6PzaMc7JjP3UO/LQERr1skT4jlZzuZTFtaUJ0gXUQZxtb27GydO9V3lTn/4vDN9pBdXiB krQ8eq5G1JXBvJtxkLmAdD73+AURQfq5QjkUikiM6nbRaT/f/6DFIRSKOUP7GBmxJtYuwPds9 wtjDOVs5R4G3Zqf+kWCfmbOzL7H/or81Lu8u6R4uSrT50uOf2q4MtagvUtV0/TMZXrP/jZF3T ZaarV6te+GLlQvA0vNFDdRwNDVemaGXWnXvz6nqGWhd+qFZVlvTerpM2vvtnVGdWyz0qrm9s3 Dyl/GhAWpWeFEwtPfj8bFfybPDAxAnbnZGE0klrcszOlRy/W7E3y7G1Uq9P9mG1fpcvWxs4PV m0bTwbHx5Nq80SmXv9X93a8F4HszB45trrC61F/u9vBJx3f+x8OuPclznHHllMwRI3Fb90Nq1 wcmhlqzjwwnfZewp+Yj7ePqIMBlQ7sNEafcavd2MSDl166hv57655uWiyydpcVXvTvu+DA68d 0YhZI5W+Gbex1L9JpTFyewQAAA==
X-Env-Sender: Alexander.Vainshtein@rbbn.com
X-Msg-Ref: server-5.tower-571.messagelabs.com!1679566110!195316!1
X-Originating-IP: [104.47.70.101]
X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass
X-StarScan-Received:
X-StarScan-Version: 9.104.1; banners=rbbn.com,-,-
X-VirusChecked: Checked
Received: (qmail 17190 invoked from network); 23 Mar 2023 10:08:31 -0000
Received: from mail-bn7nam10lp2101.outbound.protection.outlook.com (HELO NAM10-BN7-obe.outbound.protection.outlook.com) (104.47.70.101) by server-5.tower-571.messagelabs.com with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 23 Mar 2023 10:08:31 -0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LfvB22/N+N63DU8YOdNTsGAXb5WttMPBEbWK0l3s15K4FsNBrG5R6T2vsQf0Ey3gOEH5Tln+z41USAds/l0tvPJdzShswbcMTpLKNOmu5p6rbJWIRp83s+uJVd5Sez93h1IX39F+Dx8bNDzYffpJZzWJUXkQsSAunh4AOnrz6/iS4V6YGSv1F0W9AjXY8vGCtl3P7Fd7sfNJFlMtQfFtIWEkjOHGf4qww6wGOguxTHVOPQTUMfl1/mwzo4K3Fm2DqzZ00bSEOT3lxwdq0Ks3y2V/5O13t9z0W/2K1lbzCWOMGCFGbOUUFEGoV++LrZiP8v0Vz7WwzKQqBGa2qmwyug==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=L6qOUonLq09CmCHnxe4v2hyQh6wEUJ6EMuoBt3qbn3g=; b=ahniW2I5dyrR1dXRpCqGViVde12VrwBNla46r3qpQ9p879cjFkTs0BmvV0rvPoH8m3v8t18HwEMsjva4s50KBFHHx7WO3L1RO2mkm6F1e7nMQIQ9bOw1YLEs92eo6mafOazC7ao9zUlRJGNcDP5VZ/n6XvGhD2oKn43QkIkx1m1FvqgYiszC4J0gGHrBZNctxK157hACcOmH6ICcleIKI3E0UjBd7cEGWqgpygnzHr6OEzT3n1uBdH2p8BVXrO7+7CO8aEoti5PL7P1DVdRsqBGP1ywNQN9HLjpnRu/Rnn00BTolvCadh1rQX8BbKQlPmpW6RQLGbxm26Gvwf0P7Ow==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=rbbn.com; dmarc=pass action=none header.from=rbbn.com; dkim=pass header.d=rbbn.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SonusNetworks.onmicrosoft.com; s=selector2-SonusNetworks-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L6qOUonLq09CmCHnxe4v2hyQh6wEUJ6EMuoBt3qbn3g=; b=aeeo1f6lS+rucprVCQPgyDa7U65EaGaw0MdmMXAXCqM+lrfnovi9/AUk1tOv7YkJQWtkmiTLTWDUsJ/TAX6cPHrfmDVrvRcuqijYNusUWuvtM6vfGpKVmez8XYClDoOUj1dphHEuSoH/UiLauFz3mMblxb23auk8taKNOh4+vPc=
Received: from PH0PR03MB6300.namprd03.prod.outlook.com (2603:10b6:510:e2::5) by SJ0PR03MB5582.namprd03.prod.outlook.com (2603:10b6:a03:281::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Thu, 23 Mar 2023 10:08:28 +0000
Received: from PH0PR03MB6300.namprd03.prod.outlook.com ([fe80::b921:5c83:457b:8ae7]) by PH0PR03MB6300.namprd03.prod.outlook.com ([fe80::b921:5c83:457b:8ae7%5]) with mapi id 15.20.6178.038; Thu, 23 Mar 2023 10:08:28 +0000
From: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>
To: Jeff Tantsura <jefftant.ietf@gmail.com>, Abhinav Srivastava <absrivas@gmail.com>
CC: "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>
Subject: RE: [EXTERNAL] Re: Can a BFD session change its source port to facilitate auto recovery
Thread-Topic: [EXTERNAL] Re: Can a BFD session change its source port to facilitate auto recovery
Thread-Index: AQHZXQp0q+BTHUBjDUuHXwN/ewuWb68HuU2AgAAtkoCAAD0W0A==
Date: Thu, 23 Mar 2023 10:08:28 +0000
Message-ID: <PH0PR03MB63001AA73D3E6D8C93A27E99F6879@PH0PR03MB6300.namprd03.prod.outlook.com>
References: <CAL9v8R2iYMGjxF-A9SuDMcu2EF6h0isquTxjuAtNdqFwv_6etg@mail.gmail.com> <6DE166F3-5E02-446B-A105-0C6E2CC4E448@gmail.com>
In-Reply-To: <6DE166F3-5E02-446B-A105-0C6E2CC4E448@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH0PR03MB6300:EE_|SJ0PR03MB5582:EE_
x-ms-office365-filtering-correlation-id: 90134120-855d-497d-ca7f-08db2b868c99
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ZcdGicbBVR6Ywh4mQYoC5HFzvSoxpt7vkooHAyW1j94JOyqg1CFna3shkKl51tOPqxSmoTUyWUFhfrh01vVHBzpRsILa1nSQeTfWNTpgqdsZM/w6BwAf17jxNtCM0RrzOzd4HRKLmNDLULTqqsp+HtvfICaXcUHVQnqW37/B9oheOUVMaiIrD60HrF32sSgpm1+YKVH5oRByX9rhaQBb9NMTxFUBClhzzvTGVJ632fpNDK5B4hBm9dlCgY3ok1MAxa8OLzMm57u6nEkVIj4SW7M2s27yGCC6PIE1r+l65/J6VA/p/nNcMtYtYOmUWECimweviIJuqJ7ADEAez9J1XKkLHmHVIpwdzoh0bgsmq5qjUygynKSGhVMe8Aj1jWCcZXCblLnViHUdEube9VtQsWKR5kdUFobQ3FV2E8g+H2qKna0yv/Yq8TyIweD8vwitXJkpfs/LmEbPf/2sD7a6IdVU7EA6mVQmb9UXAGbNKIr1shWM7SfZ5Dr9A34Faq7KE0UlEBruZm1jE83El6QT4E7QFgQG33A/HHV0LvD3m6CEI/iRVXXFVMY55AfkhgIsD+MTVYb8AHrkb4T9AWtFLZlAzgF0NxP3sAgI+GCIcyn/DWNHB4iJXwF/WjezEj4h6fGRFpoFsXy2TDTjuNBqBHB+LJNrfnFBbNgROAhhK5Dw9MHxLQrGsGF/+d9TQcbJHjQYn+4nBM3YVsp82LhjUw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR03MB6300.namprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(366004)(396003)(346002)(136003)(376002)(39860400002)(451199018)(76116006)(186003)(9686003)(38100700002)(122000001)(2906002)(6506007)(38070700005)(53546011)(5660300002)(66476007)(52536014)(8936002)(66946007)(66446008)(7696005)(8676002)(55016003)(86362001)(41300700001)(33656002)(4326008)(64756008)(110136005)(478600001)(83380400001)(66556008)(71200400001)(316002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: cjMvxeIADWSdUwu/V8E7mukZt3SSe6Qz0ZgGXhUwWUK+HFb9VzVoKWOKURy3huPwGLlxQACPJbX2Q7pG7kxZCtnzK+41A3E2x4hZIa4mNLqomj1bcaEt1By/yhSeJ1QrWooyp3SJDI8z0XfIcZK6rH8JfRW1ATRTWl3KkHlGW368OAWrAj3k3I3R7qMoiJZV8uW9t11Xyd3Sw3bLa3+1nGeUZRqoG/PnxsMFOgtJuLTJ0U8Q5ZzmFAA6eOO2gXqVXyg5Ud2RMg3XbIP0kBwxKV7MkLnmDgZei7zxI9vBVsEDB2sBZm64xJf6Q8SCs0qlGnpENHSWpEvFuatN2B/aaSvskfpSh8rK4VbTiIGUYA264nV8DnFBlGF4Kw/GNtph4l1J09C5uBJvUVL+UhuA4hTIgsOVR5F4vMf85Xky4+n0KZtT6GLlUgMYPjkwwaYXcxhd9TOhti5XLBRbIsBwecyZ9+8tmKqLbdGvvZdo+hSZI/aQylhdt3LR0pscgzK1DQvkgf2a9GBlF+SGhdn44mb3newwer69g7hCHe7JKMRHChKGTZ1tcaOaUsi0hyzluj0AcrLTMkwgBlcy9Y54jyc1Dpo6OKdNiaG859dIr38Lxuwip71gFRAnCo+qbqDlEjAE3HFbtJ2x1v1Ifj8ozzrsJXapj222cPsRmN3JrKvmR2NulsA3EaDQI3Oh1Ev4Yf9BMa+KalN5nf0QPl4aCYyCI6dN7mErP9OOnmiPowdXOGUb+bySxdiaALEYPpJxvMTFAnQExmTdwpDPhFzoMK7ueWZ1nkkymTOZFPUZjVQdYxDxeANjkSg8h7rMzpsCNiZIyrpi/Xcp6hTtacu9WVsP/2OljIQC5e51oTBLk51bQ4TJpWlSTf8Hd6N3/uNx0A0+2jn4qbR+GKiVU42C3yp1rk9gmNjzdgoOJtQWewCTS1zv905elMXJ3k2oxamTNPkiUnBMCUVpfii11a7YHl+JGdb6CdfyHLnLVvNxjJEoYmE1gZddIQ0BR5Rzr892XE6VGN7fwrB2R63/uAEPvpShvKRhUGl+YDlKJILOVIYg10v9qKeBw6+9nGCwot+27ai/KlHjG6OL/XOMzMRNAA++g2hvzpdXrd8KUMEMakfpeZMcOVIrIv3OC+YTUzBxa50osT6yNNWHaTopGa7T2z027x2kr2kqzbS/94XmnbEUvTzwyt7mOro2DzQ6MOypMc5Ll4gLwqwChlpv6mOaZXBaVcBmDqrZ6siqKyMXVK4FJwL9BgA38gRFVtM8CZV8F18zfYj+RHm4t1Nd/bJdjW4DcfjlZWM0U+SHzbUBZvpeDjuIoGDGdi4uezFN/C0+Psncub9iZokYU9xOglwR6dCICy7KaJInxymXo6XwxUYuWq9Vn0r5ikFU9rGEUmeAzrYxHngOyNsbzBQw1LUOPaXhjXlSXmbaC9MjLsrpzj0UymO1GC7z7gAZYcs/cp41XT8ZCgJ1bl1vRp3zjp69F7rniB62vVVQlDFuntkjoAWMMizDaZvBWSobRO+/7/wbqQSH+c38emFzU8dbyQfBWXIwzb0Ivd2gW8EtojT2eZvJ0sif8mlxSf34VMVRvT1ZBwadeCihIt5cWWSiBuP/gqyJsEwSVn1VEH8BkL7ULqdeQua3HRj7gh5FLkc9tz7u
Content-Type: multipart/alternative; boundary="_000_PH0PR03MB63001AA73D3E6D8C93A27E99F6879PH0PR03MB6300namp_"
MIME-Version: 1.0
X-OriginatorOrg: rbbn.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR03MB6300.namprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 90134120-855d-497d-ca7f-08db2b868c99
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2023 10:08:28.7403 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: icZehSYTT4j5oBAeFahUVsQhQJM4ucNuAyJPACVzGmQxBpuj3Q7JSOR4dRVF/3V0Aed+SWfDiy5zIt94j9/FeA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR03MB5582
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/47hcch5un-H3rad4-11AZP6XbjY>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Mar 2023 10:08:39 -0000

Abhinav, Jeff and all,
FWIW I concur with Jeff.

In my experience, MH IP BFD sessions are typically used to monitor peering between iBGP neighbors, and when the MH IP BFD session goes down, BGP treats this as if its session has gone – and deletes the MH IP BFD session in question.

I.e., fast recovery of such a session will not happen until BGP would not re-create it.

Regards,
Sasha

From: Rtg-bfd <rtg-bfd-bounces@ietf.org> On Behalf Of Jeff Tantsura
Sent: Thursday, March 23, 2023 8:27 AM
To: Abhinav Srivastava <absrivas@gmail.com>
Cc: rtg-bfd@ietf.org
Subject: [EXTERNAL] Re: Can a BFD session change its source port to facilitate auto recovery

Abhinav,

Let’s clarify a couple of points.
What you are trying to do is to change entropy to change local hashing outcome, however for hashing to even be relevant there has to he either ECMP or LAG in the path to the destination otherwise shortest path will be he used regardless, so statistically, some of the flows between a given pair of end points (5 tuple) will be traversing the (partially)broken link, would you really like BFD to “pretend“ that everything is just fine?
Moreover, by far, in case of congestion  - most applications won’t change their ports but have their TX rate reduced.
There’s work done by Tom Herbert for IPv6/TCP (kernel patch upstreamed a few years ago)  - had beeb presented in RTGWG pre-Covid, that on RTO changes flow label value (that some might or might not include in hashing), which is strongly not recommended to be used outside of a tightly controlled homogenous  environment (think within DC).
Outside of what BFD spec tells us (don’t), the above should provide enough motivation not to do this.
Cheers,
Jeff


On Mar 23, 2023, at 05:44, Abhinav Srivastava <absrivas@gmail.com<mailto:absrivas@gmail.com>> wrote:

Multi-hop BFD would be the mechanism that detects the failure on the path it happens to be using for the session. I wasn't thinking of another mechanism.  Detection timer expiry would be the trigger for recovery which could be augmented with few other possible criteria like how long session hasn't been able to come back up or prolonged flapping.

Thanks
Abhinav

On Wed, 22 Mar, 2023, 3:05 pm Greg Mirsky, <gregimirsky@gmail.com<mailto:gregimirsky@gmail.com>> wrote:
Hi Abhinav,
thank you for presenting an interesting scenario for a discussion. I have several questions to better understand it:
·       How the network failure that triggers the recovery process is detected?
·       If the failure detection mechanism is not multi-hop BFD, what is the relationship between the detection intervals of heat mechanism and the multi-hop BFD session?
Regards,
Greg

On Wed, Mar 22, 2023 at 4:36 PM Abhinav Srivastava <absrivas@gmail.com<mailto:absrivas@gmail.com>> wrote:

Hi all,



I needed clarification around whether source port can be changed for a BFD session in case of multi hop BFD.   The ability to change BFD source port when BFD session goes down helps BFD session to recover if its stuck on a network path where there is some intermittent but significant packet loss.



In such cases, normally without BFD, end to end application traffic would eventually settle down on a good path as applications typically change source port after experiencing disconnection or failures.  But if BFD is being used to monitor some part of a path which is experiencing significant but not 100% packet loss, it will start causing next hop list of associated static route or the associated BGP sessions to start flapping forever, as BFD packets would be stuck to that partial lossy path forever (until BFD session is deleted and recreated by admin action).  This may also hinder the typical application recovery strategy of changing source port on failure.



Ability to dynamically change BFD source port can help BFD recover in such cases.  Is this something that is allowed as per RFC?  The RFC5881, section 4 (for single hop) case states that –

“The source port MUST be in the range 49152 through 65535. The same UDP source port number MUST be used for all BFD Control packets associated with a particular session”



Thanks

Abhinav

Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.