Re: [lisp] draft-ietf-lisp-introduction-05 - EID/RLOC Syntax

Dino Farinacci <farinacci@gmail.com> Sun, 12 October 2014 01:42 UTC

Return-Path: <farinacci@gmail.com>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BD8D1A1F20 for <lisp@ietfa.amsl.com>; Sat, 11 Oct 2014 18:42:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 brWS_msStzLT for <lisp@ietfa.amsl.com>; Sat, 11 Oct 2014 18:42:38 -0700 (PDT)
Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [IPv6:2607:f8b0:400d:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD85F1A1BFB for <lisp@ietf.org>; Sat, 11 Oct 2014 18:42:37 -0700 (PDT)
Received: by mail-qa0-f45.google.com with SMTP id s7so3118595qap.4 for <lisp@ietf.org>; Sat, 11 Oct 2014 18:42:37 -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=gAZwLuKFSHd8l3SBgXbdGD2uYSZN5ANcn62/EX6h3x8=; b=YT/tR7tq2OZPFcuqSsvq/UlQynEENxdq5dlX+Htv+2Lw3SXLJ5rYjp2CUsn1jCK+5c c+YWKtguNMQ8j+ATsjAFl+7HZjpX/olKu6YspfixTVrfJjAeZ7R3sT/QAaiXiggpR8KK e17yvD74at9MgGvGMaaKeHx4PRpzdjZWtQWEz7+XF9i2ZuV1rnKeCNBw4jWtnTszXdzB d4WFdcMedhTbcfsBNGIcCed5Eix5gUPm/n2X+nQzNVlNL4hE0r9kb5LqfvaPCKaRzouO hSCA+s9cj4wolo2j6a08DbtrjXjOZyfhmFQn28yQ+0lbguZbB06de43P+65E+mQA5XH5 Hk9w==
X-Received: by 10.224.76.74 with SMTP id b10mr25952191qak.38.1413078157098; Sat, 11 Oct 2014 18:42:37 -0700 (PDT)
Received: from [192.168.1.31] (pool-72-92-14-140.phlapa.east.verizon.net. [72.92.14.140]) by mx.google.com with ESMTPSA id y9sm8907106qaf.15.2014.10.11.18.42.34 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 11 Oct 2014 18:42:36 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (1.0)
From: Dino Farinacci <farinacci@gmail.com>
X-Mailer: iPhone Mail (12A405)
In-Reply-To: <8f701cb0ef564355ab865a027f2043a0@CO1PR05MB442.namprd05.prod.outlook.com>
Date: Sat, 11 Oct 2014 21:42:29 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <12DD0FED-3A7C-44B6-9AA8-3F04702E7A0D@gmail.com>
References: <fddce201eb144632a895d6c2f27bd637@CO1PR05MB442.namprd05.prod.outlook.com> <5439BE86.20302@joelhalpern.com> <1ee88b789ea2413ca5ddd6eb00a47374@CO1PR05MB442.namprd05.prod.outlook.com> <8C11EEBA-6B1C-4ED2-81F8-09C563C4CB2E@gmail.com> <8f701cb0ef564355ab865a027f2043a0@CO1PR05MB442.namprd05.prod.outlook.com>
To: Ronald Bonica <rbonica@juniper.net>
Archived-At: http://mailarchive.ietf.org/arch/msg/lisp/khuF60OlD-s6y5UEDM7gqvKKgoU
Cc: "lisp@ietf.org" <lisp@ietf.org>
Subject: Re: [lisp] draft-ietf-lisp-introduction-05 - EID/RLOC Syntax
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.15
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: Sun, 12 Oct 2014 01:42:39 -0000

> 1) Is it a requirement for LISP packets to be routable over the Internet?

Well yes if you want them to get to an ETR. 

>    - If so, doesn't the outer header have to be IP?

Not if you are trying to move packets from ITR to ETR via a layer-2 bridged network or  layer-2 MPLS network. 

>    - If so, doesn't the RLOC have to be an IP address?
> 
> 2) If the LISP payload is IPv4 or IPv6:
>    - Does the EID have to be 32 or 128 bits

Yes because it arrives at the ITR in either an IPv4 or IPv6 packet. 

>    - If so, how is it "syntactically different" from an IP address

It's not. But your line of questioning is both obvious and confusing. 

>    - If not, how can the outer header be either IPv4 or IPv6
> 
> 3) Does the LISP payload have to be IP?
>    - If not, what protocols are allowed
>    - If not, how does the ETR know what protocol the payload is? The LISP header doesn't contain a protocol id or ethertype

Can you ask a specific question please?

If two hosts are going to talk to each other they need to use the same protocol. So the EID is relative to that protocol's address format. 

When those packets are encapsulated by an ITR to the ETR over a core network the ITR, ETR, and the vote network use the same protocol. So the RLOC address is relative to that protocol's address format. 

The inner and outer header can be any packet format. So the LISP mapping database could support the transport of  AppleTalk packets between hosts over an IPX core network between xTRs. 

Dino