Re: [Int-area] The small address use case in FlexIP

Lin Han <lin.han@futurewei.com> Thu, 04 February 2021 19:34 UTC

Return-Path: <lin.han@futurewei.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7AA533A175F; Thu, 4 Feb 2021 11:34:24 -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 Pw533lrLMwa4; Thu, 4 Feb 2021 11:34:21 -0800 (PST)
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2117.outbound.protection.outlook.com [40.107.244.117]) (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 C9E453A1760; Thu, 4 Feb 2021 11:34:21 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IXE++PT4peYYeCTloQk9dHa4NhdE4E9CG9txhbK9mQ74oz7V/GyoajyRkD9SjrLIofiiVtLveBMhLmiY2HYP4oKvjk6AtteeUicA4+6RmWm1xv3mFS8Dwkd5MggStOB27ZfRm/QWbXvsPJRsb48IVNlO6leaOVYcmvRhhoJ4B0B1nSoRhzP+kny8/BNcXeSgxfHDLF+hzU75uIJyVDQPH+B6AvJBuu0y1DljaWQpzlFLZBhYWeGsOgrIv8XnRMGUj+J+6e2yV1s39IajSzbn8xGCdvH+a+IMYM+JLAuDfX8rotNGuZvEdr6GpMD008u3/gw/ZbB+I0iAkzg/IYPXOw==
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=CPd34+0qvUHajbz42olq0wc4KAg/Dc1Ts3gHkuxztd4=; b=EC0Vrs6w3AqiBym+q7AIIaYUt1aGF643cpVReQo8QCCJR6a64L7HD73upNjYKprtJq3BXeiF7Jk4S/BxPzfLNm1x7WQP7APyg6ULC8N3njdlQUC92yUxNaAtOVm/oZ7iWJkldv+43InMQJZNij4rjt9ln8IPOJdQx1hndlhcSQGveRj13Bo5E/nBdVycnp1fV9VNDdcjSkRjtl6gvOAaMj1lLZdprondnX/Z8II/GN/mbyZmbLw5ld1/5ob360Xw1+a56pZb4w3l+mf0/ufQI9nZtKBuDVKNUgkT0wlHHHZcB/CsaBuT9WX+kVHv2De7QXTunLfjmDX+Gdlf+sH9HA==
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=CPd34+0qvUHajbz42olq0wc4KAg/Dc1Ts3gHkuxztd4=; b=nwL/voSBLCtu7za2EBw0Q+zET2j8c4IujB75JlMInplyd9Wb3mvxIwhAGy5IbHj/KQABqqtHi2yR3h9wmQSD7VJ1lIemxGuCsWy03g2XuSyeguOpAax3SYTJO+f6jGwzy5TvfJPvOpj4qhClCDYltXtFrv4bWje+5PUG6cYMEMI=
Received: from (2603:10b6:5:195::11) by DM6PR13MB3145.namprd13.prod.outlook.com (2603:10b6:5:195::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.8; Thu, 4 Feb 2021 19:34:19 +0000
Received: from DM6PR13MB3145.namprd13.prod.outlook.com ([fe80::b8f3:173:a103:e1f1]) by DM6PR13MB3145.namprd13.prod.outlook.com ([fe80::b8f3:173:a103:e1f1%4]) with mapi id 15.20.3825.017; Thu, 4 Feb 2021 19:34:19 +0000
From: Lin Han <lin.han@futurewei.com>
To: "Int-area@ietf.org" <Int-area@ietf.org>
CC: "draft-jia-flex-ip-address-structure@ietf.org" <draft-jia-flex-ip-address-structure@ietf.org>
Thread-Topic: Re: [Int-area] The small address use case in FlexIP
Thread-Index: Adb7KGL5ReDfp+WdSD2igOKWoREfZw==
Date: Thu, 04 Feb 2021 19:34:19 +0000
Message-ID: <DM6PR13MB3145FE3376029DADA163FC09E9B39@DM6PR13MB3145.namprd13.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=futurewei.com;
x-originating-ip: [98.33.118.97]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e94f0221-2cb2-4b7a-f2ab-08d8c943ddce
x-ms-traffictypediagnostic: DM6PR13MB3145:
x-microsoft-antispam-prvs: <DM6PR13MB314506120B47A3CC8A8DF4A6E9B39@DM6PR13MB3145.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: waYc1jKhu1xHX4Mj+S5qS7nWVaFaqmcQUEyJjmOEOIPDhPlE8YAeHBZyuXl/Md3DOAbmJmnE1AfwHmReb4ivMhNjkxlvWkjInxQhdj9QbiyTMFtfPVjkEobYBjqGhelXxCFWt2V6TSiJ2+O5jqReSMRk7UnSzIufoeN2q42lj5uAmmcuVgU4muy6WUn7SWiVEaG97gjlvftiyWPY1uxOKirlnRuax9ddxwyG/TAwzKwCQm1dISBSdPDzqCgPhpUY38adzkrDNvCmeJHEzzfnK7cuP4KGEzksQk1dwsAEascrEVAD5nZJS/x3MdethYItI3M0EOG+Sof7Bzs07Ntvo1ksS7XTMxap9yHulNnC01KW2fXiW48tnQW2Fn0R4vGF2xbFWImpjA/mCFY3v4tKR3K2JyI/pcnjhdgdA8oXeauFBN7LMs2fIGk6sSG9c367yNe9WNT+FZacEDbxhaQNtbfKvnDuok3s73jZ18PBznAo12d6t9XmRrnD+KtaEEZsbMeovCnIqn5+fxWZvy9Eyt/8IBl1ZZzRSQQhwNWQ8RrTBitUp751bM8uX0v5FwCtYrdofRo4IX9lE6RHF4JKG52VTV/Pe5mUlyJ2e6JwXyM=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR13MB3145.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(366004)(346002)(376002)(136003)(39840400004)(26005)(166002)(8676002)(83380400001)(86362001)(9686003)(316002)(186003)(76116006)(53546011)(450100002)(7696005)(66476007)(64756008)(66446008)(5660300002)(66946007)(52536014)(66574015)(966005)(45080400002)(44832011)(478600001)(6506007)(8936002)(6916009)(55016002)(2906002)(71200400001)(66556008)(4326008)(33656002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: d/kngd6+1JiJgocgdij9U7wwDwUjmySrn3Tw4Xxk6HMnEk9lly+Jh0l0yeID6sIdnXz8txT4eUvAa6A5vGlYRVpZSXdJx1ruylC8Y5sWX1XjmDcbgJVaZFKnGUb2e0hlZ6mIuuraG1D9NHdz9ikW47V8WNmymlqp77rb70TJv/JZwEee2f3Z+DFZ08UGOQu3FhDdFXLxS6fQcrzl8chtWkcNPonGLDgqVWv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YTNkhHw6JEFkgrGcS3RXxxKoFzFAK1rB72fBzCM=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM6PR13MB3145FE3376029DADA163FC09E9B39DM6PR13MB3145namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR13MB3145.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e94f0221-2cb2-4b7a-f2ab-08d8c943ddce
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2021 19:34:19.2955 (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: XE5Sfd8yXZBm9UCp02D18GqaJKmVlt/RJeMrZkIGTdSO7RA4fLjFlzAJS543trUkp+HXCEJhTTmqxe9k1nLm0A==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB3145
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/_m_7yWYtWytWuSvbwMF44RhqEvc>
Subject: Re: [Int-area] The small address use case in FlexIP
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Feb 2021 19:34:25 -0000

Hi, Behcet and authors:



I think ROHC can still be used for flexIP to further reduce the L3-L4 header size.

To my understanding, the advantage of flexIP is to change the rigid size/semantics of IPv6 to IP with flexibility in both size and semantics. Shorter address is only one benefit, variable size with different semantics of address can open opportunities for security/privacy, also may simplify the IP assignment process that is overhead in wireless access (NAS) for massive IOT devices in 5G network.



But I have questions to authors:



1.  From the two drafts, I cannot figure out what will be the header format for flexIP, are you going to have a separate draft to address this?

2.  According to the scope, flexible IP will be used for a network connected to IPv6 backbone, is that reasonable to assume the flexible IP size will be less than 128bit because the limited flexIP network should be smaller than whole IPv6 based internet?



Thanks





Lin





> On 3 Feb 2021, at 15:38, Behcet Sarikaya <sarikaya2012@gmail.com><mailto:&lt;sarikaya2012@gmail.com&gt;> wrote:

>

> Hi Stewart,

>

> Thanks for your analysis.

> I haven't read the drafts you mentioned but I thought that the address size issue was long resolved with the IPv6:

>

> basically it matters on the wireless medium and this is solved by the so-called ROHC RObust Header Compression,

> which is adapted by 5G and it works well.

> Wired medium case which seems to be the main focus according to your mail, was considered moot, the routers would be able handle it and on the medium it does not delay things much.

>

> Behcet

>

> On Wed, Feb 3, 2021 at 8:09 AM Stewart Bryant <stewart.bryant@gmail.com<mailto:&lt;stewart.bryant@gmail.com> <mailto:stewart.bryant@gmail.com>> wrote:

>

> Re drafts:

>

> https://datatracker.ietf.org/doc/draft-jia-scenarios-flexible-address-structure/ <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-jia-scenarios-flexible-address-structure%2F&data=04%7C01%7Ckiranm%40futurewei.com%7C95b5d102feaf4674ab8408d8c7972448%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637478799262464227%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=yDi0mFnbU60nFC5PJC%2BAAWVIdSMT%2FY8UO0XIiK3J4iI%3D&reserved=0>

> https://datatracker.ietf.org/doc/draft-jia-flex-ip-address-structure/ <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-jia-flex-ip-address-structure%2F&data=04%7C01%7Ckiranm%40futurewei.com%7C95b5d102feaf4674ab8408d8c7972448%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637478799262464227%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XB9VFEQiaa0ZMjG5BuF%2FPeQnvFcmGgfY0%2Bye4s7CSoA%3D&reserved=0>

> I have a number of comments these drafts, but in this email I would like to focus on the small address proposal. By this I mean addresses that are shorter than 64bits.

>

> It seems to me that there are 3 operational reasons for small addresses:

>

> 1) That you might be worried about the amount of packet taken up by the addresses.

>

> 2) That you might be worried about the amount of energy required to send a packet.

>

> 3) That you want to use an address that is somehow native to a legacy application.

>

> ... and there are at least to implementation reasons:

>

> 4) That you might be worried about the amount of memory in the FIB.

>

> 5) That you might wish to optimise out the FIB hardware.

>

> There are two approaches to the case of addresses that are are relatively short, where for the purposes of this discussion I define "relatively short" as an address between 8 and 64 bits in length.

>

> One approach is to design and implement a new packet type, be that an original design, or the repurposing of a suitable existing non-IP design. If that is what you have in mind it would greatly assist consideration of your work if you published that design in the IETF, or at least pointed to it as an accessible document. That would allow us to debate the properties of the packet and or your address proposal in the context of the packet design. An alternative approach which needs to be considered is to make the FlexIP address a suffix of an existing and well known address type such as IPv6. In such a case by standardising the corresponding IPv6 prefix you may produce implementation simplifications, or alternatively by making it a prefix well known in the domain you construct quite an effective leakage prevention mechanism.

>

> Consider the IPv6 suffix case. Validating a well-know prefix before invoking the address lookup machinery is a simple efficient process using either one of more compare operators, or some hw technique such as a special register. Certainly we could build hw to look up a small set of well-known prefixes that burns a lot less energy than used in a full address lookup. So that brings us to looking up the suffix and, by definition the table used to do that is small.

> In other words most of the efficiency of doing a short address lookup can be maintained even if the address is the suffix of a longer address provided that the implementation is optimised for this case.

>

> I think that argument covers much of use cases 3, 4 and 5. This applies to your Indexes 1..EF, F0, F1 and F2 in your propose address design.

>

> In your F5 case a longest match engine will work by definition on a variable length address, provided it is short enough that sufficient addresses from the primary address space can be deployed to this. Note that you can throw the address length into the longest match engine if you wish and it will simply consume it and if correctly programmed will return the correct result. Thus any of the address definitions that do not contain discontinuous substructure such as the cases with inbuilt segment routing can be looked up in a common hardware address recognition engine without analysis of the first byte.

>

> Now I think that it is worth looking at case 1 and 2 above and noting there is some applicability to both the short address cases and the segment routing case with short addresses that you propose.

>

> Of course it is very difficult to do an accurate analysis these cases because the packet design that FlexIP is going to be used with is not referenced by the drafts.

>

> Let us assume a tiny packet:

>

> 14B of MAC header (Lora is 13 to 28, Ethernet is 14)

> 8B of UDP

> 2B of payload

>

> That is 24B + NW layer (the addresses plus the overhead)

>

> Now consider IPv6 which is pretty minimalist for a connectionless packet apart from the size of its addresses.

>

> IPv6 is 40B

>

> So total of 64B for the packet which is the benchmark since it is the IETF plan of record for most applications.

>

> If we reduce the addresses to 1B (the minimum in these drafts) i.e. subtract 32 - 2 = 30 so best case is packet of 34B.

>

> That is a useful saving 47% which might be important in some specialist applications where bandwidth or radio energy was important, however  much depends on what the practical size of the payload in, and what options or extensions are in the packet to fulfil the  communications needs. So for example if I were to need an additional 20B of packet option and payload the saving is reduced to 36% reducing to 20% saving if 100B were needed. A 20% saving is not worth the cost and complexity of changing the packet.

>

> So, to understand the benefit of reducing the address size and presumably using it in an as yet undefined packet format it is necessary for the authors to describe the application for small standalone addresses (as opposed to address suffixes) in a lot more detail than is provided in the scenarios document, in particular the size of the transport layer, and the size of the expected payload. Additionally it is necessary that they describe the details of the network layer packet and its MAC environment.

>

> Once more detail is know, we will know whether there is a case for small native addresses or whether we should focus our attention on how to map such addresses as suffixes of a larger well known address type such as IPv6.

>

> - Stewart

> _______________________________________________

> Int-area mailing list

> Int-area@ietf.org<mailto:Int-area@ietf.org> <mailto:Int-area@ietf.org>

> https://www.ietf.org/mailman/listinfo/int-area <https://www.ietf.org/mailman/listinfo/int-area>