Re: [Idr] locator length : draft-li-idr-flowspec-srv6
Huaimo Chen <huaimo.chen@futurewei.com> Fri, 12 March 2021 16:44 UTC
Return-Path: <huaimo.chen@futurewei.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 E7C683A1763 for <idr@ietfa.amsl.com>; Fri, 12 Mar 2021 08:44:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.089
X-Spam-Level:
X-Spam-Status: No, score=-2.089 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_MSPIKE_H2=-0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=futurewei.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 HEsgQZ4RQkdH for <idr@ietfa.amsl.com>; Fri, 12 Mar 2021 08:44:56 -0800 (PST)
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2133.outbound.protection.outlook.com [40.107.236.133]) (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 753E23A1778 for <idr@ietf.org>; Fri, 12 Mar 2021 08:44:56 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X3TTcPTrh/ntqnSM1wSCQY6LoU86G7myHV6g0kuOPxoNO0fvORfHhuzayEZjLB/GPHPABRk8N8Ey7KDMJ+HYpaPwasAcJoL0uphOJxQ7ktF3D7/oKtHxNSlvu45qvdk6qU/Wu7/y3ekrctr9zQUCVaHouZYKRmnK5+PH2iR542x51N6xd987v/kW9BmxmuJYDKZk/2Oicw3TWVwJxaxNM56++22OSw86a8F4uLSCdoxkcHywY+OWasvBOlusz+lZZGYhz5uvtsaDWwN4pmrcVIg1gXZxWtkWO0Nc+5qw3gx4awZLhARe/GAFf6FVb93JYM/JDvtawBjlrLkE7z6n2g==
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=GSdESrvK27V2pXMszYlbAJcYbLdHzcwUZOemXsSuvH4=; b=js3z+4IK3DX0X1vkNoHbmJA1Pdc5t4Z+KNxutYPn+/4L/laveDPoJYXODlGmAyLwWJAUdAYNdhSiEbAkawS/cN9lXViKWFusQLUSB5VXWKFdbeBrAF2NUbEKN4Aiayie7eLMSiMcF8/Xz1ueT32xv6aj34X86RPs6UoBeskIvNSrK/eP9sz4NEc2BNT/01FRMFHKCeHuqdLQd1ZI6PB21QUPKrROWzmyS8ze9PCIuxeSX2HMZSyagWx7w12XnlHErhre9CROmi2okufDLoxPmiwuBJCXPD9cx+OqAS+mlWhx6NsaBSL1aBjZ1b7cepBo40mWfnBUSjJ/DM0G7Z4ACA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=futurewei.com; dmarc=pass action=none header.from=futurewei.com; dkim=pass header.d=futurewei.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Futurewei.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GSdESrvK27V2pXMszYlbAJcYbLdHzcwUZOemXsSuvH4=; b=gnFNxkNF5veG85zoXZnnynXrVHGjM9jDI0ByqYolLWbZ8FrM9sMm5kiW/u0Z5Rcf91xO1a7ZwUqqsLOrqsndfgF0Crm2uoh8W0ge+v5YILDEPHfOEEbZq7AF/rcmKCHISXDD+pzIFC3Pf8MuqMIqgA7ZsOaynX6HMO5/qjrXaHw=
Received: from MN2PR13MB4087.namprd13.prod.outlook.com (2603:10b6:208:263::16) by MN2PR13MB4399.namprd13.prod.outlook.com (2603:10b6:208:1b6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.10; Fri, 12 Mar 2021 16:44:54 +0000
Received: from MN2PR13MB4087.namprd13.prod.outlook.com ([fe80::14ed:3768:8b86:be32]) by MN2PR13MB4087.namprd13.prod.outlook.com ([fe80::14ed:3768:8b86:be32%9]) with mapi id 15.20.3933.016; Fri, 12 Mar 2021 16:44:54 +0000
From: Huaimo Chen <huaimo.chen@futurewei.com>
To: Joel Halpern Direct <jmh.direct@joelhalpern.com>, "Joel M. Halpern" <jmh@joelhalpern.com>
CC: "idr@ietf.org" <idr@ietf.org>, Lizhenbin <lizhenbin@huawei.com>
Thread-Topic: locator length : draft-li-idr-flowspec-srv6
Thread-Index: AQHXF02tikGQcIMfGU6yjuwVAdoH0KqAcZQAgAAdKIY=
Date: Fri, 12 Mar 2021 16:44:54 +0000
Message-ID: <MN2PR13MB4087266ED6ECE72F5F281E86F26F9@MN2PR13MB4087.namprd13.prod.outlook.com>
References: <MN2PR13MB40876899246382264C393D06F26F9@MN2PR13MB4087.namprd13.prod.outlook.com>, <89430d8e-58c1-7854-27a5-b01a4cf9c43f@joelhalpern.com>
In-Reply-To: <89430d8e-58c1-7854-27a5-b01a4cf9c43f@joelhalpern.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: joelhalpern.com; dkim=none (message not signed) header.d=none;joelhalpern.com; dmarc=none action=none header.from=futurewei.com;
x-originating-ip: [73.114.233.24]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 81c6dec4-0521-4bcf-8cbb-08d8e57629b1
x-ms-traffictypediagnostic: MN2PR13MB4399:
x-microsoft-antispam-prvs: <MN2PR13MB4399843653A0DBD95366EECBF26F9@MN2PR13MB4399.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5236;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: c5dfCaf9Bm2v7sviL0M4tmBDcmFX25BT7tGhYE+pOYdmjA3+JmyK5p02s50u5bBxhEZMa+aclYBe1QCKo62udZtGS8J27f5faTHSmqarjIjp5fB1+HLJT1ioVaxKtAkUMynM1zYM37p4jDQYjcpoEd/AQRbxoePWmmKCS86AVQmtsHn8oDgXZLohAn45aCW6yNSPzPrtwh++GgS74uPY3axSQEhfC329SbNhviCsG4lC3setWOadO90ifOTqYNgT48hWSN/i49LS54Dd2qFdG7e19VpuVRCTI0+HXXg/syX0OLq2ZWrEObrglUFP++IZGyydMtOb5r2UPz3sU6N6LtUhOl64bpqZMx3DRRWjl0T9DyYjRbrMmAuvGdmqXGWNAcoB+TUDSMsqCdcXZevXX8M/DtUd0nwF6f1+xTG2ctz3j1bvR3Vnz3k+JBjTBm6fqsrfaJqZ7Man/PgLMcx2N9Q4FP1t5It3hjgDBUneAA+Rc/+sNo3WbVaxBwMWPA6pQUPXT/6jEGfEsiZVG4rCuSpmwvS0IzWJcCztXe0aNJWZ5ZTLtzfCw/mndPWUSqyS
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR13MB4087.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39840400004)(346002)(376002)(366004)(396003)(136003)(8936002)(26005)(2906002)(71200400001)(8676002)(110136005)(316002)(186003)(5660300002)(52536014)(4326008)(55016002)(54906003)(33656002)(86362001)(44832011)(9686003)(478600001)(76116006)(66446008)(66476007)(66556008)(83380400001)(6506007)(53546011)(64756008)(19627405001)(66946007)(7696005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messaged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gsiv6I+hscITC5Y+PxAwSg3JbUBahHIloNl8m3Cc1l1CaeMn0c4kMTo24/8WLw/qDjtyTO56khbX0NoIiQ3TH6DNgIivKl/6Ow2geW9aGMKKDb+reremte/4YTC32nxNfviK+UqUcEyQt4EcBRL8HjWGp4ZHgPh9MC5A/C1GJlGLS6rkwllVNQ+TwYixlcObe9e1TzUlpiAu2gqi26IerrYvvCdoDdvT2Ii8exyXET5Kgxm7RYWMc=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR13MB4087266ED6ECE72F5F281E86F26F9MN2PR13MB4087namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR13MB4087.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 81c6dec4-0521-4bcf-8cbb-08d8e57629b1
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2021 16:44:54.0432 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0fee8ff2-a3b2-4018-9c75-3a1d5591fedc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: XDlQ9jnD15mndmByKhQ9mIeKenK8XDg6b2l54JVO2t2uLPgtEzZvI1jGW/hRrcAOTG7CUPnDrSmIAZ+gV4EZQg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB4399
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/tOLPnAh4WhtUEDNPa8eJkLsphSk>
Subject: Re: [Idr] locator length : draft-li-idr-flowspec-srv6
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 12 Mar 2021 16:45:04 -0000
Hi Joel, Thanks much for your further comment. Just checking the FUNC bits should be limited. We will add some text to state that in order to check the FUNC bits, the LOC needs to be examined and matched first. Best Regards, Huaimo ________________________________ From: Joel Halpern Direct <jmh.direct@joelhalpern.com> Sent: Friday, March 12, 2021 9:58 AM To: Huaimo Chen <huaimo.chen@futurewei.com>; Joel M. Halpern <jmh@joelhalpern.com> Cc: idr@ietf.org <idr@ietf.org>; Lizhenbin <lizhenbin@huawei.com> Subject: Re: locator length : draft-li-idr-flowspec-srv6 An operator can assign B::/48 and C::?46 for Locators. Sure, it would usually be a single prefix with a single length. But that is not required. When one is examining the LOC, sure, you can use the value length to handle it. But the way the mechanism is described, one could try to check just the FUNC bits, without matching the LOC. First, that has the problem of needing exogenous information about the LOC length. And it is actually worse than that. Testing the FUNC bits of the destination field of an IP packet without checking the LOC bits is actually meaningless. You don't even know if the DA is an SRv6 SID. An yet further, there is no requirement that the encoding of the FUNC in different SIDs uses the same value representation. The standardized values are for advertising in routing protocols, not for the packets. Net: I don't think having the field identification works. Yours, Joel On 3/12/2021 9:51 AM, Huaimo Chen wrote: > Hi Joel, > > Thank you very much for your comment during the IETF 110. > > Regarding to the lengths of locator(LOC)s and function(FUNCT)s in > SIDs, > RFC8986 says that the locator length, is flexible, and an operator is free > to use the locator length of their choice. This seems indicating that the > operator can select the length for the locator. After their selection, the > the locator length is determined/fixed. This is illustrated by examples > in RFC8986. > > One example in the beginning of section 3.2 is as follows: > For example, a network operator may: > Assign block B::/48 to the SR domain > Assign a unique B:N::/64 block to each SRv6-enabled node in > the domain. > After this assignment, the length of the locators of the SIDs in the domain > is 64 bits. > > In the end of section 3.2, the text shows the Function fields of SIDs. > The length of function(FUNCT)s is 16 bits. > > When a SID is used in the domain, its locator length and function > length > should have been determined. > > When an operator configures a SRv6 flow specification, involving > a SID or a group of SIDs, s/he should have known the locator length and > function length in the SID(s). > > Best Regards, > Huaimo
- [Idr] locator length : draft-li-idr-flowspec-srv6 Huaimo Chen
- Re: [Idr] locator length : draft-li-idr-flowspec-… Joel Halpern Direct
- Re: [Idr] locator length : draft-li-idr-flowspec-… Huaimo Chen
- Re: [Idr] locator length : draft-li-idr-flowspec-… Joel Halpern Direct
- Re: [Idr] locator length : draft-li-idr-flowspec-… Huaimo Chen
- Re: [Idr] locator length : draft-li-idr-flowspec-… Joel M. Halpern
- Re: [Idr] locator length : draft-li-idr-flowspec-… Gyan Mishra
- Re: [Idr] locator length : draft-li-idr-flowspec-… Huaimo Chen
- Re: [Idr] locator length : draft-li-idr-flowspec-… Joel M. Halpern
- Re: [Idr] locator length : draft-li-idr-flowspec-… Huaimo Chen
- Re: [Idr] locator length : draft-li-idr-flowspec-… Joel Halpern Direct
- Re: [Idr] locator length : draft-li-idr-flowspec-… Gyan Mishra
- Re: [Idr] locator length : draft-li-idr-flowspec-… Joel M. Halpern
- Re: [Idr] locator length : draft-li-idr-flowspec-… Gyan Mishra
- Re: [Idr] locator length : draft-li-idr-flowspec-… Gyan Mishra