Re: [bess] Comments on draft-sajassi-bess-evpn-ip-aliasing-02

"Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com> Wed, 28 July 2021 10:18 UTC

Return-Path: <jorge.rabadan@nokia.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D51AA3A266A for <bess@ietfa.amsl.com>; Wed, 28 Jul 2021 03:18:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.351
X-Spam-Level:
X-Spam-Status: No, score=-2.351 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.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 nLTWgC82vYBr for <bess@ietfa.amsl.com>; Wed, 28 Jul 2021 03:18:22 -0700 (PDT)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2119.outbound.protection.outlook.com [40.107.94.119]) (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 C8CC43A2668 for <bess@ietf.org>; Wed, 28 Jul 2021 03:18:22 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gL1v6krbj0HzWkrYdZTkRBebNV2oQPT/Q6OUbPR2p7VK4VP7SXP1vkeUJ0lmJSUpwL6d8nzioZmTPHjgc+TK/FiTvo8wNU5bWpQXAiSQlOd2uOCQmtM1nTTZXA5y72gNV2dAbO0IoBRzUMKpf7YMVFF1vcmwTTRSnaZZXqL2SHf/2NOHOO4rorKpHCzZS2YWHfSNN6QwvqbNyDrwBrs52idneYzlBMzzJBgxC5CT65fdICOijZlhz4FTKyBjLbtzups2YEBn6KCXBxBiEd22Xt4BQxEcsUWHDTK1Ps8zVpwUE3pr5UAb+mStrM+pwaGmRcfYdF8ZcdzhMM87stBeIQ==
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-SenderADCheck; bh=9LDiWNB53849s3fddc/tx4GnwLKwxNmM2aSDUlZZoK0=; b=KvrVj+3SNq0MgXroz2lK+goCetVYNIfLsQZs0YuTbCwK4n/a1bZlHj2JTdjDcRwvd9CcbBdt+Hwesme/BfBYGCDkF1yLFetOhjXI2QWBqBAbzMayRD/SSbF+uzlo55LRtB/MnSDD2SHLAN6xG6HoSMbdyvTRx1x8oUlWPKMBvxKv7Hx2mp7OSEYkbQauKdKIZ/NdYP9/KjMrTEkcOkYh/teAC7xV/NVP769D3acOiU+kFc56vFB3aRrCx9+hqYICEC+K36HMigEpOyBJGEDCFakFy9r04aT3zDE2Fgxz78FFczgD0gOaCpF1sB+TPcvRh71khDai9v9devmtNmruDg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9LDiWNB53849s3fddc/tx4GnwLKwxNmM2aSDUlZZoK0=; b=ByL27Vyk+Ew0m2ao47u66+30Z/NNXvqqmC1WrSVajgpTBFm6rgZmlVB25VOPHkGFIHinnFRWLSsb8aCbONQENQyWRkDP/bARSnncnHONO/GHl9P4UEV+8gLUA+wBW4CGfkgjb826p4l+Z9yQlXQktdxCyDfH+NZ7Lvvh2DgPY2g=
Received: from BY3PR08MB7060.namprd08.prod.outlook.com (2603:10b6:a03:36d::19) by BYAPR08MB5048.namprd08.prod.outlook.com (2603:10b6:a03:6d::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.29; Wed, 28 Jul 2021 10:18:15 +0000
Received: from BY3PR08MB7060.namprd08.prod.outlook.com ([fe80::35f5:8eaa:7269:93f4]) by BY3PR08MB7060.namprd08.prod.outlook.com ([fe80::35f5:8eaa:7269:93f4%5]) with mapi id 15.20.4373.019; Wed, 28 Jul 2021 10:18:14 +0000
From: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
To: "wang.yubao2@zte.com.cn" <wang.yubao2@zte.com.cn>
CC: "bess@ietf.org" <bess@ietf.org>
Thread-Topic: Re:Comments on draft-sajassi-bess-evpn-ip-aliasing-02
Thread-Index: AQHXgzTJlwLCMo1deU2z0pZ04/UYtatX6m2MgAAaOACAACPgEA==
Date: Wed, 28 Jul 2021 10:18:14 +0000
Message-ID: <BY3PR08MB706047FBE8D519335A9D952FF7EA9@BY3PR08MB7060.namprd08.prod.outlook.com>
References: 202107280614271841200@zte.com.cn, BY3PR08MB706090851FAD2A4CF4C6204AF7EA9@BY3PR08MB7060.namprd08.prod.outlook.com, <202107281552367356382@zte.com.cn>
In-Reply-To: <202107281552367356382@zte.com.cn>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: zte.com.cn; dkim=none (message not signed) header.d=none;zte.com.cn; dmarc=none action=none header.from=nokia.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8e95a026-ab32-423a-fef3-08d951b102e7
x-ms-traffictypediagnostic: BYAPR08MB5048:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <BYAPR08MB504813A194C7DC9D91E29BA7F7EA9@BYAPR08MB5048.namprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 1pWuy3cdwtIP6PhI5YfLMX63ZXEQweTaqewCRTTSNqyqr0vW4p/O7wCVs5qRKjOVS2+TmkEc5SHjphWeThxSvUmVCdsacmQ9otmwGVIBz6VVKUNVjHQ3Foy/kYCq4Z1B8RbRzc9rGA15XQALU7pAxlN5t72qSTPUXd3jSkZl423xHIE+0V99+FZ9h9iU1ogGkJzF30tZBnw/Fv/OrJsmQ8s1C9R1urUF5c8xLhQsOt5VCIah3gWJmBjtR6ehCqgNswP9uyCkpQ2UxB6Ykg6U/C7xIs6O1550266vlG9eCV1DY1k0TM+oKhoqI2IlD2fSYGNVIvA44HwJ3iUh8H2648jKt459B7q/Hi1udG1O9qhCa2KOTtkjqD4ExRpxQ8BZ/l9UWweuYxv9qpKd1+ED3ufr0GOUSWZud7/jSKoyNL86c0YvxnH6+AMdO/xwHaHj/lzE970qm4wPUJzoVyESsx6jpNR+ELvQc6v3R69s68zcXOUqbhuPSAi6DijELD1uv77sVuw0dXkPrb27tvy7foZZ1lG3YBqVkKfdXnKIWXBtp8Z8UPDdyhvhx+KAYFmHFUe5OsYN+E5onmMQEfX6Gf1Z91M7KbnS4X588scfChcbpQgPE2MhDi4puEjfr717nhw+fDmfGINr+XoEewyeiHybdUqG5l8zpzNS4pIHSaRE33H2HwrSRkQBVWqn+GoGOU5AfAFHbh9jSa6kD57N9DEy6wzTr32jUWpKjlEYsfPIVff8WLG2NgsjWO8SYZ/7djQoxyGOO9FkeXGfqol8D4DeWqhp5JbRzqdcDuGiGCa2UgH8hCfsev8uLI0TOOHNFydPy2G2imMjQXfw0+KQ4Q==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY3PR08MB7060.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(366004)(376002)(136003)(39840400004)(478600001)(166002)(4326008)(8936002)(6506007)(9686003)(122000001)(55016002)(53546011)(33656002)(26005)(2906002)(66946007)(66476007)(66556008)(9326002)(6916009)(52536014)(76116006)(66446008)(38100700002)(71200400001)(91956017)(7696005)(86362001)(186003)(316002)(5660300002)(64756008)(83380400001)(38070700005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: LE+OHboOCuGUGAem5yrQwftUwKjiCsuXHDC8QNWI5dKHe+roeb3jv2U2mGgX1JV1IefQH9aVUO/cYQ3eeKEpoBP85C4e6Hl5gCiqeH1LCTpyywapJzby1UK0maQfL9A8VHCGWxQf3DfFBK4LEgMp5470v6ed5JDwVrGvHRfwyhTs7ZUeMCsVVf1KZe9NYm9GnX0+6KkRn4dpuHSRFKxzYgOWUUitBMcu1Ht2gkmVhh7vAfh+jlKlrLIcEdvLHEWpOIv8qLooUk6GzKqGFnXhP6m9PpWZhjTpKZPcLnCNO8q8QniDxqNPhKE9FocCbcA03KYhQyKp02kp0oSZddVy1uzjqfbubxReu1AqLfYzn8PAFcaf4KXP8Ji77kbGsghIWwGzXYefeMa8mmQdnQYWf+9WKTo13IR9M1JXscX+gwfh45YcQhmBMhiecFis4toXfvLHl8Ue324pHE7Hk6HSp2r0xkSwK2xjfCGnRretOJObpWfGbMdgFLFXmSeH9btdRM2y3m0snsAN0UEIpS9j5GZx8WN1E6sAlQZhnmzEats36tikv/I4mjtPwqM2UFnAm7sKCRIrz4txyXn4uNkvz7Gs7u+KG+b19oQgfSikvITTAFX7PEY7zJK3hyKGsM99XYyqNQbjTE2xsjyPtUFSYuGt0CptBOpWWFrEWxbIESGn/SH2u13u7n04tge6PItJkSKghObUXbIrP4BoBAdbhvIP0lLwgNVD+mXgCfRMtDGXNN9tq568MYDDYmz2jzCVz5jpOQvAfGlN5V0ClZiPOJvT0bjEvN++7YDCVyM8SZHbJmCqhmQghC51oLXwaiMNQ9AaR5zbxCfyxLsylOQrGOCifRbruvDMZTZn/zvdK2UeG0HyojCTcBkkPUIpCYydaEEK6EAL0cBZ2RZAXd1RYTbj9VsOqdps1wH2kOGVi3iKCxNZggnTCJykuWyoVzRIPUOnrxRbP75HPQLeHgkhbZ13sHCEkEGvoJ2Ui7upKOJIDHFn8M9pRfjFJCQkVDCLO+ClAQ6vI0yzsLzuIKcLBrSCoBiaPBKZv325La5tPN+MuvzMNjgfn7S8voTNOaIm+oQ1/09bTHfTH6FDKwkNHRWwZ/ZaK1AOSKXfHzyeYiTNgnUccWk4GsM0AQAWWfWEhvKswlzhl6hrEy7N3bvQ6Oyt0U8j8u4IUsVWzViS0wkQJhAcIBGimpAMxY3h117BXUgnFnJG8L+XiUv2habEgL6Fe7DDqgimn4AIYjOpXKphWpsqjVgQZtbarjdMhcfQhDxPJKMlOmhzDRklFN+pvnLlkix7mnKmLPqAeIfwn/CeAjFyE+RVcF05oKF9JLkXAYIlfsOBdoh8vczHMb33rQ==
Content-Type: multipart/alternative; boundary="_000_BY3PR08MB706047FBE8D519335A9D952FF7EA9BY3PR08MB7060namp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BY3PR08MB7060.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8e95a026-ab32-423a-fef3-08d951b102e7
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2021 10:18:14.8171 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: cpmGtU9ZNEX5L7tRaiUHPk8ZxnPsA43IQRUiaieOMLGPRiES1HUI74typsD6xexv5zg7vxB2ewdOoYA1DN0X7g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR08MB5048
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/5JM5VeYo7g13yS8W1UAOCHV21vI>
Subject: Re: [bess] Comments on draft-sajassi-bess-evpn-ip-aliasing-02
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jul 2021 10:18:28 -0000

Hi Yubao,

Please see in-line with [jorge].
Thanks.
Jorge

From: wang.yubao2@zte.com.cn <wang.yubao2@zte.com.cn>
Date: Wednesday, July 28, 2021 at 9:53 AM
To: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com>
Cc: bess@ietf.org <bess@ietf.org>
Subject: Re:Comments on draft-sajassi-bess-evpn-ip-aliasing-02



Hi Jorge,



Thanks for your email, but I still don't understand why an ESI is needed here.

I  know there is a static-route 1.1.1.1 on Leaf-2, but my question is that how leaf-2 knows the overlay nexthop of 50.0.0.0/24 is 1.1.1.1  (by which that ARP entry is found out at last)?

[jorge] leaf-2 does a recursive resolution. It has a RT5 for 50.0.0.0/24 with next-hop e.g., Leaf-1, and ESI=ESI-1. So when Leaf-2 receives packets with IP DA = 50.0.0.x, it will have a route installed pointing at the local ESI-1, and the local ESI-1 is associated to 1.1.1.1, for which leaf-2 has a route (static or igp).

As you illustrated in slide 7, Leaf-2 can't get this information from VNF-1 directly,

[jorge] but it does get it via RT5 with ESI, which is resolved locally.

Leaf-2 just have to get this informatio from the IP Prefix Route Advertisement  of Leaf-1 or Leaf-4,

But you explained that these route are advertised without GW-IP.

I don't understand it very well.

[jorge] see above. Hope it helps now.

maybe you mean we can inferred from the ESI field that the overlay nexthop is the static-route 1.1.1.1 whose ESI is ESI-1?

This approach maybe works.

but the IP address 1.1.1.1 can be directly advertised as GW-IP overlay index along with prefix 50.0.0.0/24 naturally if we don't manually change its behavior.

so why should we bother to infer from a manual-configured ESI?

[jorge] Some points:

  *   The ESI can be auto derived as indicated in the draft
  *   Using the GW-IP as overlay-index is used in interface-ful models and the use-cases resolved by an RT2 in draft-ietf-bess-evpn-prefix-advertisement. Non upgraded PEs may have an issue with the resolution. However the ESI as an overlay-index resolved to AD routes is documented in the prefix-advertisement draft.
  *   Here we really want to use the ESI as an overlay index and resolve based on the AD routes, which gives a consistent solution for the three use cases in the draft, and other things like e.g., not only aliasing, but also primary/backup behavior



Yubao




原始邮件
发件人:Rabadan,Jorge(Nokia-US/MountainView)
收件人:王玉保10045807;
抄送人:bess@ietf.org;
日 期 :2021年07月28日 14:46
主 题 :Re: Comments on draft-sajassi-bess-evpn-ip-aliasing-02
Hi Yubao,

Thanks for your email. Yes, you misunderstood the use-case 😊 but these are good questions, we will clarify in the next revision.


1.       The IP Prefix routes are advertised with the ESI and always a zero-GW-IP.

a.       Three co-authors of this draft are also co-authors of draft-ietf-bess-evpn-prefix-advertisement and the latter explicitly prohibits the use of non-zero ESI and non-zero GW-IP simultaneously. So you will not see the use of the GW-IP in draft-sajassi-bess-evpn-ip-aliasing.

b.       In fact that is also one of my comments for draft-mackenzie-bess-evpn-l3aa-proto-00: using non-zero ESI *and* non-zero GW-IP in the IP Prefix routes is non-backwards compatible and will break interoperability with existing RRs. But I will send a separate email with my comments.



2.       About the use-case of slide 7:

a.       As mentioned, the (virtual) ES is associated to the VNF loopback, i.e. 1.1.1.1, and its operational state is tied to the reachability of that loopback.

b.       On leaf-1/2/3/4, the reachability of the loopback is determined by a static-route or IGP, and can be used along with BFD to speed up fault detection.

c.       As an example, suppose leaf-2 has a static-route to 1.1.1.1 with next-hops {20.0.0.1,20.0.0.2,20.0.0.3}, and 1.1.1.1 is associated to ES-1.

1. The ARP resolution to those next-hops is done as usual, nothing especial, it’s done as soon as the static-route is added.

2. ES-1 will be oper-up as long as the static route is active in the IP-VRF route-table. When it goes inactive, ES-1 will go down and the AD routes withdrawn.

3. Obviously, and individual AC going down in leaf-2 will not make the static-route inactive, hence will not bring down the ES. The IRB going down will make the static-route inactive, hence the ES will go down.

d.       A similar example would work with an IGP instead of a static route to 1.1.1.1.

I think that should clarify your questions.
Let me know otherwise.

Thanks.
Jorge


From: wang.yubao2@zte.com.cn <wang.yubao2@zte.com.cn>
Date: Wednesday, July 28, 2021 at 12:14 AM
To: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com>
Cc: bess@ietf.org <bess@ietf.org>
Subject: Comments on draft-sajassi-bess-evpn-ip-aliasing-02



Hi Jorge,



This is the detailed explanation of the question I asked in the IETF 111 meeting.

In page 7 of slides-111-bess-sessa-evpn-ip-aliasing<https://datatracker.ietf.org/meeting/111/materials/slides-111-bess-sessa-evpn-ip-aliasing-00>, when leaf-5 send traffic to leaf-2,  how does leaf-2 find the corresponding ARP entry for 20.0.0.2 or 20.0.0.1 or 20.1.1.3 ?

I guess the GW-IP 1.1.1.1 will be advertised as overlay index along with the ESI.

But the draft-ietf-bess-evpn-prefix-advertisement-11 does not define an IP Prefix Advertisement Route with both GW-IP and ESI both as overlay index.

I suggest that this should be updated if you want to do so.

And the preference of ESI overlay index should be considered higher than GW-IP overlay index for Leaf-5's sake.

But the preference of ESI overlay index should be considered lower than (or maybe they should both be used? ) GW-IP overlay index for Leaf-2's sake

These are new rules that can't be found in draft-ietf-bess-evpn-prefix-advertisement-11<https://datatracker.ietf.org/doc/html/draft-ietf-bess-evpn-prefix-advertisement-11#section-3.2> .



But on the contary,  if the IP Prefix Advertisement Route has a GW-IP overlay index,

It can support the same protection procedures without any ESI overlay index.

( The details to do such protection using GW-IP overlay index I have described in draft-wang-bess-evpn-arp-nd-synch-without-irb-06<https://datatracker.ietf.org/doc/html/draft-wang-bess-evpn-arp-nd-synch-without-irb-06>. )

So I don't get the point why we need two redundant overlay index?

Can you clearify it?



Maybe an IP Prefix Route Style with a GW-IP overlay index is engough here.

And such Route Style is in compliance with  draft-ietf-bess-evpn-prefix-advertisement-11<https://datatracker.ietf.org/doc/html/draft-ietf-bess-evpn-prefix-advertisement-11#section-3.2> already.



Another question is that: If the ESI overlay index is advertised, when will the IP A-D per EVI route of Leaf-2 be withdrawn?

When the IRB interface on Leaf-2 fails?

When one of the three ACs fails?

When all of the three ACs fails?

If you want to do so, I suggest that the ESI-1 to be configured onto the IRB interfaces,

But in Figure 2 of  draft-sajassi-bess-evpn-ip-aliasing<https://datatracker.ietf.org/doc/html/draft-sajassi-bess-evpn-ip-aliasing-02#section-1.3>-02, I see the ESI is configured on the ACs of the BDs.



Is anything I have misunderstood?



Best,

Yubao