Re: [bess] Questions on draft-sajassi-bess-evpn-ip-aliasing-03

"Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com> Tue, 09 November 2021 11:55 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 653DF3A0B42 for <bess@ietfa.amsl.com>; Tue, 9 Nov 2021 03:55:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=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 sFB3whWiYJ4n for <bess@ietfa.amsl.com>; Tue, 9 Nov 2021 03:55:17 -0800 (PST)
Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2101.outbound.protection.outlook.com [40.107.95.101]) (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 E4DBA3A0C74 for <bess@ietf.org>; Tue, 9 Nov 2021 03:55:05 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kitvTyTFEVfc9Dw3kk0KJyZBdHsIfeZ4dObWoOpzjQdN4GgnwxzTvpAoa8+7e2blFmkubpvXl2PQ0oskMdsX/pyvaE1t8bPSf3k+7WbPhR5YL4bQW2EM2YkIhieZnvgFk6HTiOb4D5n3Eof7RkumjdrSnBBQLmKqn3ooYxuiEotHM6XjRMV2LS5g/GnVLjMDjcToeJK5/VKkTQs3B0aH+mqLGFh7TnaNyhv7mcLaoqgyMyK0k29PdIS0BQkVhAfBd6lajv3ZH0B7aQBFL5Dv4opYNRMQTazHsVg1v1F77GRQfxsu4NPXUHPCsJ0MjaJGG0qVdpAnIfakvI+Myhwrqg==
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=cXhk5XgWPN8H+mi1tlghX6B9A7Le1bUHJ/+UcI31/Xw=; b=h5/OosHhrWX7YbHh1lMXLH276xB6dsIhQmVYtHaY5fJ+GHVq1eu67MVc/U615s/T+dFpn0PNN2TTVkf5RIKK0HQmTdeiMH7GrpLde+UUwVdX/x7Pa8Yq1dU4wHkBmNhBmJxec4no8dRBEw6eYEe4AYwAmzk+vxU5+KIisc0ab5ESH7kjrLjnTqfOWnUiCU6d69Yf3kbFnRayQ+AU2WXQUc7jfyXQD9F2NZKXcjK75IwMuzVedVqZCG9soIEI2ttX918d91hgWG7dSFJiHYFJ7efd+x5TVYQty9ri+JN0GBXNgLmgLLPV4Mo2HrbCutVqJ2pJeVhm+DRyTwynY8o4CA==
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=cXhk5XgWPN8H+mi1tlghX6B9A7Le1bUHJ/+UcI31/Xw=; b=QSBuoRilEfMTvtw3G6++jDeW95tOz+sx/1DZccBJWNg+aVV6p24YjjVgIFh/jLA+5ztV0AWiw93BKYMZ5gcboqAbFDNO7jbYKkgNmb7YSCWogs/TlIgxkI2kSnCRQwS3WaQLCQr7uKVyy9Uh1Gc2nRSYxFBF7BV33FaF1rPX6vE=
Received: from BY3PR08MB7060.namprd08.prod.outlook.com (2603:10b6:a03:36d::19) by BY3PR08MB7123.namprd08.prod.outlook.com (2603:10b6:a03:362::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.16; Tue, 9 Nov 2021 11:55:04 +0000
Received: from BY3PR08MB7060.namprd08.prod.outlook.com ([fe80::c481:f856:9121:e]) by BY3PR08MB7060.namprd08.prod.outlook.com ([fe80::c481:f856:9121:e%7]) with mapi id 15.20.4669.016; Tue, 9 Nov 2021 11:55:04 +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: Questions on draft-sajassi-bess-evpn-ip-aliasing-03
Thread-Index: AQHX1UCzAlqj/bFGokq0ZNxqCyAnC6v6/tj7
Date: Tue, 09 Nov 2021 11:14:26 +0000
Message-ID: <BY3PR08MB70603039D33112EA0E123A46F7929@BY3PR08MB7060.namprd08.prod.outlook.com>
References: <202111091605433823608@zte.com.cn>
In-Reply-To: <202111091605433823608@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: b1b5a617-3dc7-4d4f-a246-08d9a377c475
x-ms-traffictypediagnostic: BY3PR08MB7123:
x-microsoft-antispam-prvs: <BY3PR08MB7123D7EFD14F18634CDAA8A5F7929@BY3PR08MB7123.namprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: BhWDR7QB+6pTkVhjd0XwOwaXUareGllSweRmEKJPoG8V9DZQ4eUekteBTplcxuILFXGBvR4j95PWkxCc4/lGKvh/r8/q1juG8qQhc7NuQC2ExPMAQOkBWgbt/qfD2s6an/BDsY4V6Azb4fMqoGhZZnRUBGwpG4N9ISTS/bRQBLa3hQHVXRc759NeafnKG460jyYiAn6hkrZZB/own/MfMDSYPo8hIhprlSPRUqv+WCZh7RqA8WcHCskrY+/hYzQGuK9iryWkeqa234sS77Gz6qoOPW2N1q/CQJXaucy1Uqz1aQWVI3XB2pBrDnvhY5nv5uNCjeNtXABo9nq2WDarrMBC7ICt4ayaqF/pvV6lScxNw1q0FXI+k78q+N7Mx9J/S9D4igRNyQQ3R/YogfzTvO/EONQqb0F8+tVwMIRQqF4c0buxPOAkEMGCQgkI6pbluZXpXOXpdCjMsCBXqnwYdg9vx774MXPNzWAUpz4rUFVV89uWSqF9igGuhYgZmz9hzrmwuR6kwwrpPHh8Hqpe19yFL4BFeGyfGnkcT5Ceb7JGBwoRll7D0jPuK08smpLXiQ4v2AR6CGsMP3UqnUprjaNTZzJiojehFCqSAEgYRbl4w+wT62c+tcFvSSIaEOAgGKvD8EF0vCCqQyXQ/3GvZWog4mocKjefPcV4+Q5qXItmAsMKr4fxWplg3RjRRCkPOtizhFB5iiPMluZqSpE2aQ==
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)(366004)(6916009)(86362001)(6506007)(186003)(66574015)(4326008)(8936002)(9326002)(6666004)(76116006)(53546011)(38100700002)(66946007)(26005)(64756008)(66556008)(66476007)(91956017)(122000001)(508600001)(5660300002)(66446008)(52536014)(71200400001)(38070700005)(9686003)(316002)(2906002)(7696005)(82960400001)(33656002)(55016002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ENluTKZhikoEhSwZtOlMYq5GoPwiTBx5WLMlDyoC0Ib30BRzum+qMRfH0vhs3utknVUvA61eiqzLd3YEocBQb+6rHQsfZXgQs65HlqPGpXzR5oX/RaS7iotOcvClEEjhWbZa+eP8NwBPlNANBIQ0tiSkjg9Xe601L1EqgVa2umZtucM++6F9UI1cTxCEHGz7y0JW4H9vTNWazjGZR0jmPKjlPEZMJKDXrA8IYipZw611PiBDslZn5R6Q0yiPZS6OyEFJiGxNxhDbUDR4I931ANTgWRz2Tp27Hc/Uw6ceq+5s/R5MjGfZ7GqmsOXfE5sKeK1GWJcBXq/hpcyE73jiEeliQwWnE8jsJWpI/uH62zITG3fuhWfgeQ907MMVIiK3cw4KSTE41++o9kznmk8CvtvsO8Fna2wFzS6z6wvgolJKbhtPANiUVmU88bgTtzmeTOmxCikukXCqkHFzjdIulVtesLB1fziD79eKUv4YlNDpnu9l6IoPorcLSmx107vxsEEZddli/1dALQ9BkaFTrq4gRb0Sg1GdnOaW7jt5F6G2mQVq5l3A93knJMzgnEP6l/Hj8b3H2paIUbP3i+Ftutyd91yxvznHlkbWgvwY2ZTV9X4hP5SsL5LJklGp0RRqWXYwzSryrkL+FhBD8n7wYn+DkYvIDSuOH2yvaZT0WOuR4tSNMf2AaZJOr7tK7PYbZzDNALJF4kZ6tBmXzpRvoCgE4jESqiTHGWJyCJIu8QA0PoAItpku6DBdwXGoUYVKpvpO4DgUiPSjn4Li00SppufzkwD5eOE61SVQ2qDjvEWhdW6+/x7GjRbzckuHPNjGejC5paZ4CWV3rh2iFp/lqXeZ7zxtS3O3ENWMXcROSdPaw3hIU1/heJEuTFmxc5PoulZg2t/JZ7N/CjxM18D27oUIda1d8kOPH5pPPqSS+2SLRSG4tG72QzrZfTpc6sMo18vnxFCob/rJfbSkC3XMIIqQKVnTfp3p86gFcWaHH9C7DFfxO+3uAyFa5woh8jI9b1eTHSom4JZIYo+a5CBY9ck1RrTnVBP42dKMlO0NbFLuVPymWbIqnnJptl03wZ2IGK8HcphJVrkzgTAAXTkxymnxRFBT2JRZ9UGjvuH5BEY6qcJnn1A6SU7IQVyRWCweKi2qTRVbxQRWKvBq2qa0EbtZ0swYkNKYDMyOoN018VMiZwbqRyFoE0qJ3hBik4YlCirisIPxypzFidBi18MZsxKcibSlSCj4EHIfXG73SdnmMyGd8myOTxhZgbj18UqDxs8Mb+t8H4BK7YeFlekT9l9lYUducgIucPyh5gp6M4DybOewn2Y60gKXo5PtZmxnY0zEKwQiFwbRtkcW4JGds5n60yCDPZ81R3QSDlr23eArgCeXHXUozp8mwj3+VIRn51XowAo3pvyunK9M1elvjkbi1hXQXFtui+DJqBnnWqq1k1lQL0nTK+RushoYp73lj2ZCIHbVuJf8SPl8rnybDvK+Aki6I0ufFIqPBwJeGRSG1SFWpxwUGbLCZQtenXH3idSwiP9NGHyqtcViLSixngiuQMSFRBSTk5PKTeOXpJskr57Sc3U8Ehoo/MBdz2SN9PwKqq/Jjh9Leked40GKzQdNB6jUJ/SgmAF6Bh2rtIA=
Content-Type: multipart/alternative; boundary="_000_BY3PR08MB70603039D33112EA0E123A46F7929BY3PR08MB7060namp_"
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: b1b5a617-3dc7-4d4f-a246-08d9a377c475
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2021 11:55:04.0074 (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: BfC7M60M3obBqzvHzqvx43HAK4YsK/DXrC8cSMJ5IxC4Di7iUL+795824Bp/aHN2yxblfF4NKAy+iMvDPojJdA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR08MB7123
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/C1dnEB-xpTOQDGAmWNJ7XVRBFc0>
Subject: Re: [bess] Questions on draft-sajassi-bess-evpn-ip-aliasing-03
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: Tue, 09 Nov 2021 11:55:22 -0000

Hi Yubao,

Please see in-line.
Thanks.
Jorge

From: wang.yubao2@zte.com.cn <wang.yubao2@zte.com.cn>
Date: Tuesday, November 9, 2021 at 9:06 AM
To: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com>
Cc: bess@ietf.org <bess@ietf.org>
Subject: Questions on draft-sajassi-bess-evpn-ip-aliasing-03



Hi Jorge,



I read the draft, and have the following questions:



1) on section 1.2 Inter-subnet Forwarding for Prefix Routes in the Interface-less IP-VRF-to-IP-VRF Model



    The RT-1 per EVI route of ESI1 in Figure 2 is not an IP A-D per EVI route, but a normal Ethernet A-D per EVI route,

    in other words, its MPLS label identifies a BD, not an IP-VRF.

    is my understanding correct?

[jorge] not really, it is an IP A-D per EVI route as explained in section 3.



    In RFC9136 Interface-less IP-VRF-to-IP-VRF Model,

    the inter-subnet-forwarding from H3 to H1 will pass through PE1/PE2's IP-VRF instance via the MPLS label of the IP-VRF's instance,

    but in the RFC9316 Bump-in-the-wire instance,

    the inter-subnet-forwarding from H3 to H1 will not pass through PE1/PE2's IP-VRF instance because of the RT-1 per EVI route's MPLS Label's L2 context.

    But this section refers to both the above two use cases of RFC9136,

    So which behavior will be followed by this use case?

[jorge] see above, the IP A-D per EVI route includes the route-target and label of the IP-VRF as explained in section 3.



2) On section 5.3 Constructing the EVPN IP Routes



     Is the RT-5 construction of the second use case (section 1.2) the same as the third use case (section 1.3) ?

     I mainly concerns the Route Targets and the Ethernet Tag ID of the RT-5 routes.

     especailly when the BD (to which the ESI of section 1.2 is attched) is of VLAN-aware service interface.

[jorge] the IP Prefix routes and MAC/IP advertisement routes are constructed as per section 5.3, hence the IP Prefix routes ethernet tag id is 0. This document does not change the use of the Ethernet Tag ID.



3) On section 5.3.1 Route Resolution



    Is the Route Resolution of the second use case (section 1.2) the same as the third use case (section 1.3) ?

    Will the route resolution of the second use case(section 1.2) need a BD and an IRB interface on PE3?

    I note that in RFC9136 section 4.3 Bump-in-the-wire use case,

   the RT-1 per EVI route is advertised in a normal BD. It says that:



   (1)  Assuming TS2 is the active TS in ESI23, NVE2 advertises the

        following BGP routes:



        *  Route type 1 (Ethernet A-D route for BD-10) containing: ESI =

           ESI23 and the corresponding tunnel information (VNI field),

           as well as the BGP Encapsulation Extended Community as per

           [RFC8365].



        *  Route type 5 (IP Prefix route) containing: IPL = 24, IP =

           SN1, ESI = ESI23, and GW IP address = 0.  The EVPN Router's

           MAC Extended Community defined in [RFC9135] is added and

           carries the MAC address (M2) associated with the TS behind

           which SN1 sits.  M2 may be learned by policy; however, the

           MAC in the Extended Community is preferred if sent with the

           route.



    This RT-1 per EVI route will not just be used by the RT-5 routes for IP forwarding,

    it will also be used by the MAC forwarding of BD-10.

    When it is used in IP forwarding and MAC forwarding, it will be the same route.

    If this is correct, it will need a BD on PE3 to be resolved to.

[jorge] the resolution is the same for the three cases, based on section 5.3.1. It happens in the context of the IP-VRF, but now considering the IP A-D routes (which carry the IP-VRF route-target). For use-cases 2 and 3, this is applicable to the interface-less and even interface-ful unnumbered IP-VRF-to-IP-VRF model (we can clarify this in future versions).





Thanks,

Yubao