Re: [Ila] [5gangip] Identifier size

Dino Farinacci <farinacci@gmail.com> Wed, 31 January 2018 22:13 UTC

Return-Path: <farinacci@gmail.com>
X-Original-To: ila@ietfa.amsl.com
Delivered-To: ila@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D361A12FB19; Wed, 31 Jan 2018 14:13:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 4HujdoolIsXr; Wed, 31 Jan 2018 14:13:17 -0800 (PST)
Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57D8F12FB05; Wed, 31 Jan 2018 14:13:17 -0800 (PST)
Received: by mail-it0-x232.google.com with SMTP id k131so1542832ith.4; Wed, 31 Jan 2018 14:13:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pWeUXT9OTeivzRFeMB7TYTbmgUg1xaTke+mhuxEj9PM=; b=nXQss0UthhVZIfBEhjBW4zgbno5FitXuOI3IpVaW10/fU0OAuo8m34v6QdK+JB+Whs VkTT8XDt37QYsS7TdWEyE8rqwIcU7ZojDUju6BFB2dAVqqVZO1SLL8PqrjIjoPSd3Wsc IPa+qynJ4uuwqlwrekw7EWQcj7pL91VAXG5oJZcrfHus7hOiJ8xuyKIJ3owgezOHmXY7 wVJpC8GfBXKE5KUgRIsbSfyYTnKbH9L6Fnfz45ASZlMakGmF3GpqDOnV7QmxC+CcyHwR WkBOIMsqI27MPhvOS8NIyDuIClWTMM5oO8QTWAk+FoKGmzZUn1NojeliFjLsTZ8W33cu xIUQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pWeUXT9OTeivzRFeMB7TYTbmgUg1xaTke+mhuxEj9PM=; b=pJxemBKdXIAqTavFGoas32mfm0W5pLGi7DTiUiDQLiL3nY6bjRGheuNRb8uIVGFf+b 0Fas9BMWQzHgm3PHWjWtT/BkOyMNfr7wjj/tVUtYv6FI3QzyIqxUkoBUxFa77sREapyS 4luU10V+E5eO+1055bnJSEjRCj57a1jRJaBuGLfeYQlNJd1vIAH/3BlVG/p2Qlk6o6X8 PAzJjS3Lvj2lILbTpFL1c80vzP/I7WVg9QExTzqSqMzu8aoZDTh+dL5F7NGuWRq8LlR0 LL56Ghp926Ym3x4xP+FK7zNEjmM6hCukAwzGfa9P6AcKeBikZ0KEoB1mjtzlhVi+iYVj Y5nQ==
X-Gm-Message-State: AKwxytefuwDUdotRJYVC+jxt1UvttwWb/8HORb+DBueaR2Pg9qlzQWKK 06YC1cqwy9PQ8QzfkaBW32M=
X-Google-Smtp-Source: AH8x226B1+2UslPBE7IxOmtkiXIthz/jd7FviBrgeeKZoNu7LLGuJavidjbxTBj7pIRpEM1oJINVyw==
X-Received: by 10.36.55.200 with SMTP id r191mr39738684itr.44.1517436796612; Wed, 31 Jan 2018 14:13:16 -0800 (PST)
Received: from dino-macbook.attlocal.net (adsl-108-94-0-209.dsl.pltn13.sbcglobal.net. [108.94.0.209]) by smtp.gmail.com with ESMTPSA id z3sm430190itf.0.2018.01.31.14.13.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jan 2018 14:13:16 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Dino Farinacci <farinacci@gmail.com>
In-Reply-To: <SN6PR1501MB1966BF6D467D955C4770CEC8D0FB0@SN6PR1501MB1966.namprd15.prod.outlook.com>
Date: Wed, 31 Jan 2018 14:12:49 -0800
Cc: Tom Herbert <tom@herbertland.com>, 5GANGIP <5gangip@ietf.org>, Behcet Sarikaya <sarikaya@ieee.org>, "ila@ietf.org" <ila@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <7696CF50-AAA1-477A-A1B3-12DD546C8610@gmail.com>
References: <CAC8QAcfTg_osQe4HGF8w-j_w_=2rwUv9-j=M-NhKyV7GVMxFPQ@mail.gmail.com> <CALx6S35zOpTDEP2VJB2NcoDXMQrG9KF20xFqaZhfv=vqAayrUg@mail.gmail.com> <01D3C9D2-5DF2-4372-9393-8EE03CC2657A@gmail.com> <SN6PR1501MB196608E8DCE3116A80476C44D0FB0@SN6PR1501MB1966.namprd15.prod.outlook.com> <SN6PR1501MB1966BF6D467D955C4770CEC8D0FB0@SN6PR1501MB1966.namprd15.prod.outlook.com>
To: David Allan I <david.i.allan@ericsson.com>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ila/V_HtU4AWbCaZNJjMnvAHiMSDLp4>
Subject: Re: [Ila] [5gangip] Identifier size
X-BeenThere: ila@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Identifier Locator Addressing <ila.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ila>, <mailto:ila-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ila/>
List-Post: <mailto:ila@ietf.org>
List-Help: <mailto:ila-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ila>, <mailto:ila-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Jan 2018 22:13:20 -0000

> My bad,  statement below should be end-system and correspondents would need to be directly attached to TRs  in order to use all 128 bits of an IPv6 address field as a crypto assigned EID. 

Right, my reference was when LISP ran on the UE. When it ran in the network, the RLOCs would be the xTRs in the network. And the EIDs on the UE could still be loopback or one of the SLAAC addresses. It doesn’t matter which ones, even if provider-assigned, because those addresses, used as EIDs wouldn’t have to be advertised into the non-PA assigned attachment carriers.

Dino

> 
> Cheers
> D
> 
> -----Original Message-----
> From: 5gangip [mailto:5gangip-bounces@ietf.org] On Behalf Of David Allan I
> Sent: Wednesday, January 31, 2018 1:18 PM
> To: Dino Farinacci <farinacci@gmail.com>; Tom Herbert <tom@herbertland.com>
> Cc: 5GANGIP <5gangip@ietf.org>; Behcet Sarikaya <sarikaya@ieee.org>; ila@ietf.org
> Subject: Re: [5gangip] [Ila] Identifier size
> 
> For my edification, that would only be true if the end system was directly attached to the TR.  Addressing would need to conform to established norms if that was not the case. Correct?
> 
> Rgds
> Dave
> 
> -----Original Message-----
> From: 5gangip [mailto:5gangip-bounces@ietf.org] On Behalf Of Dino Farinacci
> Sent: Wednesday, January 31, 2018 10:11 AM
> To: Tom Herbert <tom@herbertland.com>
> Cc: 5GANGIP <5gangip@ietf.org>; Behcet Sarikaya <sarikaya@ieee.org>; ila@ietf.org
> Subject: Re: [5gangip] [Ila] Identifier size
> 
> For LISP, you can assign an EID to the loopback interface, all 128-bits. And then the interface addresses that are either statically conifgured or learned by SLAAC are 128-bit RLOCs.
> 
> You can assign multiple EIDs to the loopback interface, be them crypto-EIDs or not, or a combination of either.
> 
> If ILA (or ILNP) useds 64-bit identifiers, those can be regsitered to the LISP mapping system and return 128-bit RLOCs. Or for that matter, return any size you want. To be used by how any data-plane wants to use the addresses.
> 
> Dino
> 
>> On Jan 31, 2018, at 9:12 AM, Tom Herbert <tom@herbertland.com> wrote:
>> 
>> 
>> 
>> On Wed, Jan 31, 2018 at 8:27 AM, Behcet Sarikaya <sarikaya2012@gmail.com> wrote:
>> Hi Tom, all,
>> 
>> I changed this tread to identifier size issue.
>> 
>> What is the motivation for crypto-graphic identifiers?  Is the idea to give each device a master identifier and then it can use the a crypto graphic function to independently create its own unique identifiers for use in communications. That would be good for address per connection and 80 bits might be doable in ILA.
>> 
>> Saleem pointed out that:
>> ILNPv6 will not work with more than 64 bits in the NID, and that is 
>> consistent with RFC8200/STD86 (which refers to RFC4291, for the use of a 64 bit ID).
>> 
>> 
>> So my question is the identifier in identifier - locator separation equal to the interface id in RFC 8200?
>> 
>> No, it's not. This is where one of the problems with identifier locator address split arises. SLAAC performs /64 address assignments. This is assigning a  subnet to a device with the expectation that IIDs in the subnet (lower 64 bits) are assigned by the device receiving the assignment,  Many mobile providers use SLAAC to assign /64 to UEs. This is in contrast to using DHCPv6 to get singleton addresses. The IID space is used by the UE for assigning addresses to downstream devices (like in tethering) as well randomizing address for local binding as a means to mitigate address scanning attacks (address scanning was used in WannaCry attack). In this sort of address assignment it's the upper sixty-four bits that identify the mobile device, the identifier for identifier/locator split would be derived from the upper sixty-four bits.
>> 
>> Sixty-four bits isn't enough to encode both a locator and identifier, but I think a level of indirection will work. This is my description of that:
>> 
>> A device may be assigned a /64 address via SLAAC as is common in many provider networks. In this scenario, the low order sixty-four bits contains IIDs arbitrarily assigned by devices for its purposes; so these bits cannot be used as an identifier in ILA. The alternative to support /64 prefix assignment is to encode an identifier in the upper sixty-four bits. Since only a subset of bits are available, a level of indirection is used so that  when ILA transformed the upper sixty four bits contains both a locator and an index into a locator (ILA-N) specific table. The entry in the table provides the original sixty-four bit prefix so that ILA to SIR transformation can be done.
>> 
>> If yes, then what happens if the UE has more than one interfaces?
>> 
>> This makes it the uniqueness of the IID and the identifier is the same problem?
>> 
>> In ILA, identifiers need to be unique with an ILA domain. Normally, this will mean it is unique with one SIR prefix. That is analogous to an IID being unique within a subnet.
>> 
>> Tom
>> 
>> _______________________________________________
>> ila mailing list
>> ila@ietf.org
>> https://www.ietf.org/mailman/listinfo/ila
> 
> _______________________________________________
> 5gangip mailing list
> 5gangip@ietf.org
> https://www.ietf.org/mailman/listinfo/5gangip
> 
> _______________________________________________
> 5gangip mailing list
> 5gangip@ietf.org
> https://www.ietf.org/mailman/listinfo/5gangip