Re: [lisp] LCAF

Dino Farinacci <farinacci@gmail.com> Fri, 13 September 2013 16:48 UTC

Return-Path: <farinacci@gmail.com>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F25FF21E80F0 for <lisp@ietfa.amsl.com>; Fri, 13 Sep 2013 09:48:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YDCTcq6G1AKB for <lisp@ietfa.amsl.com>; Fri, 13 Sep 2013 09:48:13 -0700 (PDT)
Received: from mail-ye0-x22e.google.com (mail-ye0-x22e.google.com [IPv6:2607:f8b0:4002:c04::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 1CE1321E80AA for <lisp@ietf.org>; Fri, 13 Sep 2013 09:48:13 -0700 (PDT)
Received: by mail-ye0-f174.google.com with SMTP id q4so566816yen.19 for <lisp@ietf.org>; Fri, 13 Sep 2013 09:48:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=A6hHWVIzG7yTwPFyNetAiGLL0myMkX8s6f02jeX9nkk=; b=gg0UhDpaF05BGUU+1RdwmEt4lVyU2e4Z9tDKnTlV6+2f+FYNwP8H2kIQePSNkVLcJ3 /9PCZdvB5NHAIPc4jLBHpcUQ5lu5cReqvE9kTlvH0O9/PXnoXPAgdG8EVfMwTB1YAYYT 2K8JSjQvCZbIhQYcA0icnBR35AMaOV2rHhWrWMogbJKj2qUmBHAuwrfRLCpHM1gZKtp6 jR0OqcWosWQbNaR89QTq9z2KOggashn7l9tGQ2UtYB6lUvZtjmtsEqNAymX/7vj8ubtc 4cIyq+R1brVdsiUlGNrpH9dmhcOkkqqQu5rw03honu9Iss4o5orD+xAlb24HgEni0iWo 2IWw==
X-Received: by 10.236.231.212 with SMTP id l80mr1600499yhq.123.1379090887907; Fri, 13 Sep 2013 09:48:07 -0700 (PDT)
Received: from [192.168.1.115] ([207.145.253.66]) by mx.google.com with ESMTPSA id r1sm13996647yhf.17.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 09:48:07 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Dino Farinacci <farinacci@gmail.com>
In-Reply-To: <5232C3E4.2000207@joelhalpern.com>
Date: Fri, 13 Sep 2013 09:48:06 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <47215950-AF06-4B0E-90FA-C2F0A31B13ED@gmail.com>
References: <5232C3E4.2000207@joelhalpern.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
X-Mailer: Apple Mail (2.1508)
Cc: "lisp@ietf.org" <lisp@ietf.org>
Subject: Re: [lisp] LCAF
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: List for the discussion of the Locator/ID Separation Protocol <lisp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lisp>, <mailto:lisp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lisp>
List-Post: <mailto:lisp@ietf.org>
List-Help: <mailto:lisp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lisp>, <mailto:lisp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Sep 2013 16:48:14 -0000

> I was reminded in recent discussion that the LCAF AFI is allowed both for RLOCs and for EIDs.
> 
> For RLOCs, I have raised the concern that when an ETR injects RLOCs using various LCAFs, it has no way to know whether the receiving ITRs will be able to understand the LCAF.  For some cases, this is actually a benefit.  But particularly if the structure within the LCAF gets more diverse, it seems to get difficult.  I do see the argument for flexibility here.

Right, agree.

> But then my naive participant head exploded when I tried to apply this to an EID.  Are all mapping systems required to handle all LCAFs?  At first, this seems reasonable.  As long as you are just doing pure prefix matching, it is just a variable length "address".

It can be worse Joel. It can be a non-contiguous address. 

> But then we see things which have internal mask lengths.  Or might need prefixing on multiple fields.  Or might have even more complex match criteria.

Right. Think of an extended-EID being just a prefix-tuple like a (S-prefix, G-prefix) entry. Or a flow entry that could look like this (S-prefix, D-prefix, sport=1024-65535, dport=*).

The pilot network today supports an instance-ID prefix or an (instance-ID, EID-prefix). The LISP-RE authors and the signal-less multicast stuff I have presented would require (S-prefix, G-prefix).

> If the mapping system can always treat and LCAF EID as a prefix-matched bit string, I get it.  But if not, how is this supposed to work?

I think it can work, but my gut is that it has to be treated as a n-tuple entity, rather than a string of bits. And if the n-tuple can be configured, then you could include < n elements in the n-tuple to delegate to child referrals.

I am wondering if the DHT advocates on this list believe that DHTs make this simpler (or even harder).

Dino

> 
> Sorry for a basic question,
> Joel
> _______________________________________________
> lisp mailing list
> lisp@ietf.org
> https://www.ietf.org/mailman/listinfo/lisp