Re: [Idr] Error in draft-ietf-idr-sdwan-edge-discovery use of Encapsulation Extended Community

Susan Hares <shares@ndzh.com> Wed, 28 February 2024 01:22 UTC

Return-Path: <shares@ndzh.com>
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 A997CC15109A; Tue, 27 Feb 2024 17:22:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.561
X-Spam-Level:
X-Spam-Status: No, score=-5.561 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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=ham autolearn_force=no
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 dy7N0G4dR8mJ; Tue, 27 Feb 2024 17:22:25 -0800 (PST)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2136.outbound.protection.outlook.com [40.107.94.136]) (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 283EAC151538; Tue, 27 Feb 2024 17:22:16 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IV1VmsHW9qPlJC8/rmXR8yUZBYuPXwg0V7eNhyBKVo+qLbTsjTSr6caUoiKVJ4M00as0vkbLGC6Z0eu0MwUV8R47/leE9elF+S3nNABVp6+b+RKno1CGE/w1+GHY0zXeYxE34wiwtvDU/Q42A3eMoRHe+VSsrtGqOdDchtgsISrbIfWD+gpIPPIxrVoN/SqB1RzQ8K+atNwfdUE6Z2pRF0qcUuMlwRRbsDgvJb3T5w0vwQdKui0WC9t1LDq2BgsQuVeIvIn8SNN/uJfW1FEXl9CLM8VlHdzKFeoMMQvgz/ZXVw9azJ0BHb85jsPY2OogPgJTAKTNQUU6ZbFj6TO9Fg==
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=mmKrIoIxJdqhc5ltwLfdr9egXeBli5isxvb6bt165Kg=; b=HpXzwiDBcKm53DpQRSCZ5BWXLjRy6+rXchvJz03CCV33Ph6+tod6K195vevsIdE5jYcJeCG4NOgmFDUSmj5bV2Il6rpOHWHlMBfadzQ62shluF5m6jPk1ewY9V6nys1K41EEWSUhaPxKinWtmpMkQMWwjZiGP0Fi3m7JTCgjq+Oi0xISY160Y/Qsr9VbLymH3u1U+axCZeOuY0RRTcS2sERLI/uCmcfGUc0nOoZL6a0IGni2oIEt6IZROghjNIyxs/YzOl/ms8cwiBzdl2Ctg3WKWhcsUlaPZgQx3qesHwWkGPjKggU5bZ2czfLJ/Tg8eljR+VYvarM96M2eByiyjw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 104.47.73.40) smtp.rcpttodomain=futurewei.com smtp.mailfrom=ndzh.com; dmarc=bestguesspass action=none header.from=ndzh.com; dkim=none (message not signed); arc=none (0)
Received: from MW4PR04CA0316.namprd04.prod.outlook.com (2603:10b6:303:82::21) by DS7PR08MB6895.namprd08.prod.outlook.com (2603:10b6:5:3b0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.39; Wed, 28 Feb 2024 01:22:13 +0000
Received: from MW2NAM12FT099.eop-nam12.prod.protection.outlook.com (2603:10b6:303:82:cafe::7a) by MW4PR04CA0316.outlook.office365.com (2603:10b6:303:82::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.49 via Frontend Transport; Wed, 28 Feb 2024 01:22:13 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 104.47.73.40) smtp.mailfrom=ndzh.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=ndzh.com;
Received-SPF: Pass (protection.outlook.com: domain of ndzh.com designates 104.47.73.40 as permitted sender) receiver=protection.outlook.com; client-ip=104.47.73.40; helo=NAM04-DM6-obe.outbound.protection.outlook.com; pr=C
Received: from obx-outbound.inkyphishfence.com (44.224.15.38) by MW2NAM12FT099.mail.protection.outlook.com (10.13.180.236) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7339.25 via Frontend Transport; Wed, 28 Feb 2024 01:22:13 +0000
Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2040.outbound.protection.outlook.com [104.47.73.40]) by obx-inbound.inkyphishfence.com (Postfix) with ESMTPS id EC2B4C352F; Wed, 28 Feb 2024 01:22:11 +0000 (UTC)
Received: from DM6PR08MB4857.namprd08.prod.outlook.com (2603:10b6:5:44::25) by CO1PR08MB6628.namprd08.prod.outlook.com (2603:10b6:303:6c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.39; Wed, 28 Feb 2024 01:22:09 +0000
Received: from DM6PR08MB4857.namprd08.prod.outlook.com ([fe80::1766:7272:5562:295e]) by DM6PR08MB4857.namprd08.prod.outlook.com ([fe80::1766:7272:5562:295e%6]) with mapi id 15.20.7316.034; Wed, 28 Feb 2024 01:22:09 +0000
From: Susan Hares <shares@ndzh.com>
To: Linda Dunbar <linda.dunbar@futurewei.com>, John Scudder <jgs@juniper.net>
CC: "idr@ietf.org" <idr@ietf.org>, "draft-ietf-idr-sdwan-edge-discovery@ietf.org" <draft-ietf-idr-sdwan-edge-discovery@ietf.org>
Thread-Topic: Error in draft-ietf-idr-sdwan-edge-discovery use of Encapsulation Extended Community
Thread-Index: AQHaab1aJbLjWCwZYUyhASue85C1X7EewhRQgAAzYSA=
Date: Wed, 28 Feb 2024 01:22:09 +0000
Message-ID: <DM6PR08MB48572A69AE176CB03531AE89B3582@DM6PR08MB4857.namprd08.prod.outlook.com>
References: <7FDF55CE-3E6B-47EC-8504-C9884BD212A9@juniper.net> <CO1PR13MB4920A302CE1D5AE545CD243485592@CO1PR13MB4920.namprd13.prod.outlook.com>
In-Reply-To: <CO1PR13MB4920A302CE1D5AE545CD243485592@CO1PR13MB4920.namprd13.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-traffictypediagnostic: DM6PR08MB4857:EE_|CO1PR08MB6628:EE_|MW2NAM12FT099:EE_|DS7PR08MB6895:EE_
X-MS-Office365-Filtering-Correlation-Id: 053379c8-d7f6-48cd-edff-08dc37fbb14b
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: OfwunLIqGD8nW+xYhPvHe/2i2Imb43AfjFBLp5sMrYiJY0B/l67St/U7PY6+zWBUnZ58W4fbRpWpLggQ2vooSz7T0iR+PaeEIC78Fw4u2ZLTkSihmEFGXBGebIYokDEhNfkT1i2ccFGQIzU6Dr35fEHzHELc9vn2d5xOoV+QGxwnzKlumJ6yTHWQZalS+zA0YOtddKRrpl6UGtNP/YeGCRI4V4iPyiJvUMqcOAme96D6uUOi0VfJJemvaLYPAA5oNpn0tbBc37h/63VjPDZ9Hv9RuvLg42qBOAs562BmtOSJ3Silzb0rc/oYqv2p6xUcJ+RSDUUscauqPU8GMtu8NKv+UyvIw5Eryz68otwO3W+L8T3COGOC4AVibrHd+M8tUhl6v84makfoD8wrXfEuYe0dCAgc8N7Ws25DNyamopZAEl139Up+I5ggSu0AHY0cSS6EB+fYFQ8Xejo5sxF/vYYnh35+/aRmNOFO8poLf8zq1cs2ZZq+WrHulTR0gIeldPf6XTaLWw/GsN3HdLmG/+GeW5P1D7EgFq/A+ojMNKYvnGvgc7CmmQEGAQFzBN4qZb99+kNq6J1kU4ofa+kSBieKeMhYUv85+9r/unVtrEEnmU5xCbL7Fta4Bt7mZqBbLhwfSyzWPb3U2G+S+fKoe1ZVhoVNg/R9q1DouLqRNq55InT9DNQyMrfDbQ74XajBHXpWZn/djUyyBZVsKNiOohven4gk9AfQ8Z1kq1abqZo=
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR08MB4857.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(230273577357003)(38070700009); DIR:OUT; SFP:1102;
Content-Type: multipart/alternative; boundary="_000_DM6PR08MB48572A69AE176CB03531AE89B3582DM6PR08MB4857namp_"
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR08MB6628
X-Inky-Outbound-Processed: True
X-EOPAttributedMessage: 0
X-MS-Exchange-SkipListedInternetSender: ip=[104.47.73.40]; domain=NAM04-DM6-obe.outbound.protection.outlook.com
X-MS-Exchange-ExternalOriginalInternetSender: ip=[104.47.73.40]; domain=NAM04-DM6-obe.outbound.protection.outlook.com
X-MS-Exchange-Transport-CrossTenantHeadersStripped: MW2NAM12FT099.eop-nam12.prod.protection.outlook.com
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id-Prvs: d9b0cfb9-861d-403f-4498-08dc37fbaf2d
X-IPW-GroupMember: False
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: lyMS+JxJmyn6Acb4YvSSBvBTeJaA6oRu+Z4z72+zw1qZ3gExR/YJilr8rNjYooBemdPYf8OlminXTQlrUAeWZWGl4V05+rHyt5QfYHcMaPScTCWeC/iaJltzKAYTS9KHmup206cW6yzu4P5NCWBv3p/34FsH+7XMitifCfwSs7w9Hg95doTYVWEdgsQ4zh+r9F6iGDhrlGQ4iKfDEvpCU4CjXWmvpjgQuj/b/M1xmlnCZU4gmx3jr3WD79MGL53Lb+6Rnj39W3AZjfqKKJevO2umWGF/EQyyM+8dQneu8eoo2XiYDBOVGEK1X1b4aRTXlp6ST2Hai5TpvRhAzms7uRg66/EpH1oql6KczFfpyhPQPVyPE2x4f2GJLJxMMcSbPRqtGVYgUk1OBIipc3Sg4GcGK86f24bJfwr3ZohqRSZD6SLWId71TREn0oVk+ZhUH19HD+vX8Wr2W9mpQrw7jvYMnfsKXIn/0a72GZRRqH9ezHbON6I2s1vU4u3CHvghzGE4EHQx7FmfhRuZZiIrNJtgvBMUenF4BbQ0OkebbVtEQNLi2aQCvUxvDE1VqH1tHSxjFAA5aplfduDkf+2wT2JPtk2vEsL8RrprjATGlZFIpkAiJWURxsOL+C2+0gPim2XVTFWK2TvRfZ65ohohDBKi5Gvw+NwNgr0MZ7Q4Ci1VuOtUs6ql6k6L/2Zk6l5qLjPqPBVQTdoO/ZZYr1xuiPhAIww+KCxqaVY8ubgorZZF96143frc+pGUSkyi/TC0GEt+GdmVynfYgF96HHs69aSIrKR3pjZAiixHdfu6eBxxkE6tqi0lTlTpZiAzdQoV+7GREjlW1FzfJnJgLtfR6w==
X-Forefront-Antispam-Report: CIP:44.224.15.38; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:NAM04-DM6-obe.outbound.protection.outlook.com; PTR:mail-dm6nam04lp2040.outbound.protection.outlook.com; CAT:NONE; SFS:(13230031)(230273577357003)(82310400014)(36860700004); DIR:OUT; SFP:1102;
X-OriginatorOrg: ndzh.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 01:22:13.0005 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 053379c8-d7f6-48cd-edff-08dc37fbb14b
X-MS-Exchange-CrossTenant-Id: d6c573f1-34ce-4e5a-8411-94cc752db3e5
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d6c573f1-34ce-4e5a-8411-94cc752db3e5; Ip=[44.224.15.38]; Helo=[obx-outbound.inkyphishfence.com]
X-MS-Exchange-CrossTenant-AuthSource: MW2NAM12FT099.eop-nam12.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR08MB6895
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/AOATdWZTGoiloXTy1w0Vibhy2L8>
Subject: Re: [Idr] Error in draft-ietf-idr-sdwan-edge-discovery use of Encapsulation Extended Community
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Feb 2024 01:22:29 -0000

Linda:

The only version of draft-ietf-idr-sdwan-edge-discovery published is -12.

Sue

From: Linda Dunbar <linda.dunbar@futurewei.com>
Sent: Tuesday, February 27, 2024 6:04 PM
To: John Scudder <jgs@juniper.net>
Cc: idr@ietf.org; draft-ietf-idr-sdwan-edge-discovery@ietf.org
Subject: RE: Error in draft-ietf-idr-sdwan-edge-discovery use of Encapsulation Extended Community

John The Encapsulation Extended Community is only in the client routes BGP UPDATE, which is the BGP-based VPN/EVPN client routes UPDATE message. There are no sub-TLVs added. Section 6's first paragrap
External (linda.dunbar@futurewei.com<mailto:linda.dunbar@futurewei.com>)
  Report This Email<https://protection.inkyphishfence.com/report?id=bmV0b3JnMTA1ODY5MTIvc2hhcmVzQG5kemguY29tLzdhMzQyYmVkMzM4MDhlODk2NWM2ZjAzN2I4ZGUzZDJjLzE3MDkwNzUwMjQuOTY=#key=8af5eb05b3d0f7cdb95fe5e54f3da7cb>  FAQ<https://www.godaddy.com/help/report-email-with-advanced-email-security-40813>  GoDaddy Advanced Email Security, Powered by INKY<https://www.inky.com/protection-by-inky>

John

The  Encapsulation Extended Community is only in the client routes BGP UPDATE, which is the BGP-based VPN/EVPN client routes UPDATE message. There are no sub-TLVs added. Section 6's first paragraph states the Client Route UPDATE follows the BGP-based VPN/EVPN client route UPDATE message..

The sub-TLVs discussed in the draft are under the Tunnel Encapsulation Path attribute in a separate UPDATE (U2 in the document) which DOES NOT have Encapsulation Extended Community for SD-WAN edges to advertise the information about their WAN ports. Please see below for the details.

p.s. Are you referring to version-20?

Linda
-----Original Message-----
From: John Scudder <jgs@juniper.net<mailto:jgs@juniper.net>>
Sent: Tuesday, February 27, 2024 2:42 PM
To: draft-ietf-idr-sdwan-edge-discovery@ietf.org<mailto:draft-ietf-idr-sdwan-edge-discovery@ietf.org>
Cc: idr@ietf.org<mailto:idr@ietf.org>
Subject: Error in draft-ietf-idr-sdwan-edge-discovery use of Encapsulation Extended Community

Hi Authors, WG,

I just noticed draft-ietf-idr-sdwan-edge-discovery-12 and was looking at its use of RFC 9012. There seems to be a fundamental misunderstanding of how the Encapsulation Extended Community can be used, and I thought you should be aware of it. TL;DR, you’re specifying the use of SD-WAN-Hybrid tunnel type in an Encapsulation Extended Community, but this isn’t allowed. Details follow.

[Linda] That is just an example for needing a different Tunnel Type in the Encapsulation Extended Community

- RFC 9012, Section 4.1 tells us that the only permissible use of the Encapsulation Extended Community is when there are *no sub-TLVs*, other than the Address Family sub-TLV (item 3 in the list of conditions).
[Linda] That is our understanding as well. This document doesn’t specify additional sub-TLVs to be added to the BGP UPDATE with the Encapsulation Extended Community.

- In draft-ietf-idr-sdwan-edge-discovery-12 Section 6.3 we see the definition of the IPsec-SA-ID Sub-TLV of the SD-WAN-Hybrid tunnel type. This seems pretty central to the purpose of the spec. So, the SD-WAN-Hybrid tunnel type does have sub-TLVs in addition to the Address Family, and therefore MUST NOT be used in an Encapsulation Extended Community.
[Linda] All those sub-TLVs are NOT used with Encapsulation Extended Community. Those Sub-TLVs are under the Tunnel Encapsulation Path attribute in a separate UPDATE (U2 in the document) for SD-WAN edges to advertise the information about their WAN ports. There is no Encapsulation Extended Community included when an edge node advertises its WAN port information. Please see Section 5 for BGP Walk Through details.

- Also, in draft-ietf-idr-sdwan-edge-discovery-12 Section 5.1 we see that the client route update uses the Encapsulation Extended Community (emphasis added):

[Linda] The Client Route UPDATE can use the Extended Community to indicate that their associated tunnel information is advertised by separate UDPATE. The purpose is to reduce the size of the Clint Route UPDATE message size because the tunnel associated with IPsec has a lot of information to be exchanged. They don’t change at the same frequency as the Client Routes.
```
5.  Client Route UPDATE

   The SD-WAN network's Client Route UPDATE message is the same as the
   L3 VPN or EVPN client route UDPATE message.  The SD-WAN Client Route
   UPDATE message uses the **Encapsulation Extended Community** and the
   Color Extended Community to link with the SD-WAN Underlay UPDATE
   Message.
```

- It’s clear from other parts of the spec that the tunnel type is SD-WAN-Hybrid, for example, this is both stated in Section 3.3, and then used in the example (same section).
[Linda] The Client Route Update message is NOT using RFC9012. Here is to indicate that another type might be needed. As this is a BGP usage draft, with the intent to explain how to use BGP, with the justification to BGP extension later.

- But RFC 9012 §4.1 told us we can’t use a tunnel type with sub-TLVs as an Encapsulation Extended Community!
[Linda] The Client Route Update message is NOT using RFC9012.

I think what you really must be trying to do is use the Tunnel Encapsulation attribute (only!) to carry the SD-WAN-Hybrid in the SD-WAN Underlay route, and then have the client routes making use of that tunnel recurse into the underlay route (including tunnel) as per RFC 9012 Section 8. Note that Section 8 does NOT require that the client route carry the Encapsulation Extended Community — the next hop address is both necessary and sufficient to effectuate the linkage to the underlay route.
[Linda] You are correct. The Tunnel Encapsulation Attribute is used to carry the SD-WAN-Hybrid for SD-WAN edge nodes to advertise the WAN ports (i.e. the under route).



Thanks,

—John