Re: [Ila] Identifier size

Dino Farinacci <farinacci@gmail.com> Wed, 31 January 2018 18:11 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 78D4C12F27C; Wed, 31 Jan 2018 10:11:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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_NONE=-0.0001, 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 1rIKnWkWET9i; Wed, 31 Jan 2018 10:11:31 -0800 (PST)
Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) (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 212A612EC6F; Wed, 31 Jan 2018 10:11:13 -0800 (PST)
Received: by mail-pf0-x22e.google.com with SMTP id a88so13452728pfe.12; Wed, 31 Jan 2018 10:11:13 -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=wf2mDuutKGu6H+cs3I7ZZHzPH67TUjIfHn4QXoyB8Wc=; b=DE0mKYIWYV6Bzjj7ABE3xNJ7EuYnkx27GFwKi1vxTFY1aF+qOJ3EdEYpjNWqQjRVoZ dhYb9A1QDd53PsoEDyvqrFHNSFM/C1alz7OzjSYIGV+zv5NrZilefFHfCnVTmyrMcYvh Wqi7bbQ8UyFFGlfqziW0rMrRnXndLCNCz15cDBJlctcuIFyRJvGGDOZRUOyo1KZhlAqX BNZVG34WrROk760P13vpb4KFfTWUWx5/SnsC4fJw09XmZ0NVkbM/Q+68RDdR2HOriW2h ss/0/rBcLoEKnzLMZBZA4f2U0vdhMkvtNElLDFtyycJRXPnHqJRbAKVTlOOBOgfvT/aR bECA==
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=wf2mDuutKGu6H+cs3I7ZZHzPH67TUjIfHn4QXoyB8Wc=; b=sK21Th9mZf37C55h9VvReqNMeY5Iwhgm7mO7s1/pjHJ69CwRsvQTQgMuNrsIdHXxAU x2w+e88SJG/T3XODdZ4HArQHsMxgEWeI8aQdBUVKP0TW5zNzb+Gh1vap55BuFjgbZNs5 TcPcvqMcudX8xEz/noJLYYb/2vKts4AZA8za3L7SWDrkwcunjkM71I8GGnqOO/5NsI3X sfLDuRrW2zwnw26tEM27g7NhGI+cvY7vCZSzB6DX09YRMVbUlrTAPC4/akMDytZmXxzP 0L+ldWqDFODADBMo+NBqq0+IDFyP5Dgm+5LPsfptHaK+FYw++QvLRDagqQkZqH/Gavdv PdDw==
X-Gm-Message-State: AKwxytdti+ZPL3k/Ex4dy00X5DooEtxut/1BRhJPYuMboweBZSqdbtTW o9xtF0D0BIejpeCSAzNpQT1EKKUw
X-Google-Smtp-Source: AH8x226m1pVOU6w+H7h4d7P0okFYr05u5UIN0fBNW2sz+fShX1ZuJhyOmIigDEvU2rExWbYCPPx7DQ==
X-Received: by 10.99.42.9 with SMTP id q9mr16993222pgq.325.1517422272488; Wed, 31 Jan 2018 10:11:12 -0800 (PST)
Received: from [10.31.79.25] ([96.72.181.209]) by smtp.gmail.com with ESMTPSA id r13sm24609494pgt.27.2018.01.31.10.11.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jan 2018 10:11:11 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Dino Farinacci <farinacci@gmail.com>
In-Reply-To: <CALx6S35zOpTDEP2VJB2NcoDXMQrG9KF20xFqaZhfv=vqAayrUg@mail.gmail.com>
Date: Wed, 31 Jan 2018 10:11:10 -0800
Cc: Behcet Sarikaya <sarikaya@ieee.org>, 5GANGIP <5gangip@ietf.org>, ila@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <01D3C9D2-5DF2-4372-9393-8EE03CC2657A@gmail.com>
References: <CAC8QAcfTg_osQe4HGF8w-j_w_=2rwUv9-j=M-NhKyV7GVMxFPQ@mail.gmail.com> <CALx6S35zOpTDEP2VJB2NcoDXMQrG9KF20xFqaZhfv=vqAayrUg@mail.gmail.com>
To: Tom Herbert <tom@herbertland.com>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ila/Ad9WcvMzlH5paQnienLC3p7SLfQ>
Subject: Re: [Ila] 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 18:11:33 -0000

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