Re: [lisp] 6830bis Review

Luigi Iannone <ggx@gigix.net> Wed, 10 January 2018 10:03 UTC

Return-Path: <ggx@gigix.net>
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 27160124D85 for <lisp@ietfa.amsl.com>; Wed, 10 Jan 2018 02:03:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gigix-net.20150623.gappssmtp.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 nwdTpmnTlZjs for <lisp@ietfa.amsl.com>; Wed, 10 Jan 2018 02:03:24 -0800 (PST)
Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 320411241F8 for <lisp@ietf.org>; Wed, 10 Jan 2018 02:03:24 -0800 (PST)
Received: by mail-wm0-x22d.google.com with SMTP id b141so25766439wme.1 for <lisp@ietf.org>; Wed, 10 Jan 2018 02:03:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gigix-net.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=+UXFXJtdPd4SHNUpa5XGlQm0dHgiO1oHvx1LH4iwy7w=; b=v4V88zDyjlko4oDfN6Y0FL64JWa8qyuoEL//eIT3JKDTIM7Jw0Gjg5Kl6LsJNG+i0c T259bz5WHJhLkszgWAhLO+IvE1QIiu24tsZg9GJFVYbWoEb99d+hqmYkSB0E7Y27neO8 wweOJfJQFACamQLPtaFrL0bTSqx7+d2Q9qXekeYRIULuQCs5b4hLRKEPz2bFllEC3siw XcXfdKXxu/PeGklbbg0J1gZ93SUfo8XQ8d/s63pY/fWSzRx6BDhI7Np6o+xkpq1F/lR4 ZtvTGbzc+geuVwslYDUWMX+xiBrx3/pRtQ2lOG4Sj5CmUpPur/h/XLUig1cvHQYmYjgg 0o1A==
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=+UXFXJtdPd4SHNUpa5XGlQm0dHgiO1oHvx1LH4iwy7w=; b=CxZ7uIOcAzgPPWeaNwUN1DcR1GLxMHjXApuBWP6Lo2rfVrVqWYyh21lJZHKGIEIN55 Gfwz4Fyxr2irDkF7dpDIBIojgcFQGvFoVtwp9YyVUVeVKQ8cbIclc6vopmjPBENurm/J f8cgxoKYAV2C+TzZyTvmZrSaC9iurVi0F47t/bmfodagBYTlJX2S1nqQdYS5ClvjhVIk kKMH25CHrnIzUaYu/NE1NE+D9w+rEbqOSEf1F5omahRAnn7U6jOn8nleqmB0WU2Fdd0G 0DEqSuW6rKYKn1z1mF3tFZvuXQjMoigZ7qrT9f/eTqDzqMHT+Yr4AOHeYT82lU/3dRA+ Bl1g==
X-Gm-Message-State: AKwxytf5A/7Gtay7NjdubUNLzfgWv2uXwztKzpgNI6dxUW9uVwEi40ni vSG88YJKm0vuaQq+3oE1zreaQA==
X-Google-Smtp-Source: ACJfBosN4YSzr4YnwypL5zupuEkakpCibkKUc13unfGwF1820i1kyKWX6kt9RrahjVnwn79L3Q/D1A==
X-Received: by 10.28.190.20 with SMTP id o20mr3531555wmf.122.1515578602329; Wed, 10 Jan 2018 02:03:22 -0800 (PST)
Received: from ?IPv6:2001:660:330f:a4:6d04:1cfe:3b8d:cb39? ([2001:660:330f:a4:6d04:1cfe:3b8d:cb39]) by smtp.gmail.com with ESMTPSA id 90sm16617825wrp.39.2018.01.10.02.03.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jan 2018 02:03:20 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Luigi Iannone <ggx@gigix.net>
In-Reply-To: <829870A2-2D90-4967-983A-56F62E765796@gmail.com>
Date: Wed, 10 Jan 2018 11:03:17 +0100
Cc: Albert Cabellos <albert.cabellos@gmail.com>, "lisp@ietf.org list" <lisp@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <5754BC06-9CBD-4C52-9CD6-402610EAABF1@gigix.net>
References: <907CD955-B043-4728-ABD6-5AD96192EC5F@inria.fr> <4EAD1E98-E8E7-4A0A-8300-2D185B9109CC@gigix.net> <CAGE_QexqW=q51kXR9fo_8YDu6VVUHCBz-XrGt5iZ6FOTRxDLiA@mail.gmail.com> <49EE7D2D-FC59-42F1-A93A-B315D4D6420E@gigix.net> <98C25E20-BD78-462A-BDB4-572AA24C1A97@gigix.net> <829870A2-2D90-4967-983A-56F62E765796@gmail.com>
To: Dino Farinacci <farinacci@gmail.com>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/bzyXSgTjO8Vw7vYAZlwervjHeXg>
Subject: Re: [lisp] 6830bis Review
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 10 Jan 2018 10:03:27 -0000

Dino,

> On 9 Jan 2018, at 18:54, Dino Farinacci <farinacci@gmail.com> wrote:
> 
> Guys, please look at the latest changes instead of hashing the same arguments. 
> 
> This is what I am going to do. I am going to submit the myriad of changes already agreed to and then we can open up comments again for -08. I have been holding these diffs for a few weeks now and have received little commentary on the latest changes. So if your points have not been addressed, state them again AFTER reading the changes to -08.
> 

I find this request unfair. 
I spent quite a bit of time reviewing and discussing this document, now you just try to wash all out by requesting comments on -08.

Please let's continue discussing on the open issues so to find a solution.

Thanks

Luigi



> The diff of the changes are included yet again.
> 
> Dino
> 
> <rfcdiff-rfc6830bis.html>
> 
>> On Jan 9, 2018, at 7:04 AM, Luigi Iannone <ggx@gigix.net> wrote:
>> 
>> 
>> HI Albert,
>> 
>> thanks for your reply. 
>> 
>> My comments inline. (trimming what is OK for me)
>> 
>> Luigi
>> 
>>> On 27 Dec 2017, at 02:48, Albert Cabellos <albert.cabellos@gmail.com> wrote:
>>> 
>> 
>> [snip]
>>>> 
>>>> 
>>>>  Endpoint ID (EID):   An EID is a 32-bit (for IPv4) or 128-bit (for
>>>>     IPv6) value used in the source and destination address fields of
>>>>     the first (most inner) LISP header of a packet.  The host obtains
>>>>     a destination EID the same way it obtains a destination address
>>>>     today, for example, through a Domain Name System (DNS) [RFC1034]
>>>>     lookup or Session Initiation Protocol (SIP) [RFC3261] exchange.
>>>>     The source EID is obtained via existing mechanisms used to set a
>>>>     host's "local" IP address.  An EID used on the public Internet
>>>>     must have the same properties as any other IP address used in that
>>>>     manner; this means, among other things, that it must be globally
>>>>     unique.  An EID is allocated to a host from an EID-Prefix block
>>>>     associated with the site where the host is located.  An EID can be
>>>>     used by a host to refer to other hosts.  Note that EID blocks MAY
>>>>     be assigned in a hierarchical manner, independent of the network
>>>>     topology, to facilitate scaling of the mapping database.  In
>>>>     addition, an EID block assigned to a site may have site-local
>>>>     structure (subnetting) for routing within the site; this structure
>>>>     is not visible to the global routing system.  In theory, the bit
>>>>     string that represents an EID for one device can represent an RLOC
>>>>     for a different device.  As the architecture is realized, if a
>>>>     given bit string is both an RLOC and an EID, it must refer to the
>>>>     same entity in both cases.
>>>> 
>>>> 
>>>> Is the above sentence really necessary?
>>>> 
>>> 
>>> Agreed, why not simplify the definitions. They are written from the ‘Internet scalability mindset’, why not say that an EID is an address of the overlay and an RLOC an address of the overlay. This change may require further changes on the document so I am not 100% sure if this is a good idea.
>> 
>> For clarification I was just referring to the sentence:
>> 
>> " As the architecture is realized, if a given bit string is both an RLOC and an EID, it must refer to the same entity in both cases.” 
>> 
>> I am wondering if such constrain is really necessary. If namespaces are well scoped there is no need for this. 
>> 
>> [snip]
>> 
>> About the following:
>> 
>>> 
>>>> 
>>>>  o  EIDs are typically IP addresses assigned to hosts.
>>>> 
>>>>  o  Other types of EID are supported by LISP, see [RFC8060] for
>>>>     further information.
>>>> 
>>>> I would put the last two bullets in the definition of EID. It simplifies the story here.
>>>> 
>>>> 
>>> 
>>> I suggest to leave them here, I don´t think that readers start from the ‘Definition of terms’, these are relevant concepts to understand LISP.
>> 
>> Good point about de definition of terms. What really bothers me is the bullet organisation. What can be done is to merge these two bullets with the previous one. 
>> 
>>> 
>>>> 
>>>> The description of the encap/decap operation lacks of clarity concerning how to deal with
>>>> ECN bits and DSCP .
>>>> 
>>>> 1. I think that the text should make explicitly the difference between DSCP and ECN fields.
>>>> 
>>>> 2. How to deal with ECN should be part of the description of the  encap/decap not a paragraph apart.
>>>>   This basically means that half of the last paragraph should be a bullet of the ITR/PITR encapsulation
>>>>   and the other half  in the ETR/PETR operation.
>>> 
>>> 
>>> Agreed, what about this (please comment):
>>> 
>>>   When doing ITR/PITR encapsulation:
>>> 
>>>    o  The outer-header 'Time to Live' field (or 'Hop Limit' field, in the case of IPv6) SHOULD be copied from the inner-header 'Time to Live' field.
>>>    o  The outer-header 'Differentiated Services Code Point' (DSCP) field (or the 'Traffic Class' field, in the case of IPv6) SHOULD be copied from the inner-header DSCP field ('Traffic Class' field, in the case of IPv6) considering the exception listed below.
>>>   o  The 'Explicit Congestion Notification' (ECN) field (bits 6 and 7 of the IPv6 'Traffic Class' field) requires special treatment in order to avoid discarding indications of congestion [RFC3168]. ITR encapsulation MUST copy the 2-bit 'ECN' field from the inner header to the outer header. Re-encapsulation MUST copy the 2-bit 'ECN' field from the stripped outer header to the new outer header.
>>> 
>>> When doing ETR/PETR decapsulation:
>>> 
>>>   o  The inner-header 'Time to Live' field (or 'Hop Limit' field, in the case of IPv6) SHOULD be copied from the outer-header 'Time to Live' field, when the Time to Live value of the outer header is less than the Time to Live value of the inner header.  Failing to perform this check can cause the Time to Live of the inner header to increment across encapsulation/decapsulation cycles.  This check is also performed when doing initial encapsulation, when a packet comes to an ITR or PITR destined for a LISP site.
>>>   o  The inner-header 'Differentiated Services Code Point' (DSCP) field (or the 'Traffic Class' field, in the case of IPv6) SHOULD be copied from the outer-header DSCP field ('Traffic Class' field, in the case of IPv6) considering the exception listed below.
>>>   o  The 'Explicit Congestion Notification' (ECN) field (bits 6 and 7 of the IPv6 'Traffic Class' field) requires special treatment in order to avoid discarding indications of congestion [RFC3168]. If the 'ECN' field contains a congestion indication codepoint (the value is '11', the Congestion Experienced (CE) codepoint), then ETR decapsulation MUST copy the 2-bit 'ECN' field from the stripped outer header to the surviving inner header that is used to forward the packet beyond the ETR.  These requirements preserve CE indications when a packet that uses ECN traverses a LISP tunnel and becomes marked with a CE indication due to congestion between the tunnel endpoints.
>>> 
>>> Note that if an ETR/PETR is also an ITR/PITR and chooses to re-encapsulate after decapsulating, the net effect of this is that the new outer header will carry the same Time to Live as the old outer header minus 1.
>>> 
>>> Copying the Time to Live (TTL) serves two purposes: first, it preserves the distance the host intended the packet to travel; second, and more importantly, it provides for suppression of looping packets in the event there is a loop of concatenated tunnels due to misconfiguration.  See Section 18.3 for TTL exception handling for traceroute packets.
>>> 
>> 
>> Text looks very good to me.
>> 
>> 
>>> 
>>>> 
>>>> Large part of this section is about control plane issues and as such should be put in 6833bis.
>>>> 
>>>> What this section should state is that priority and weight are used to select the RLOC to use.
>>>> Only exception is gleaning where we have one single RLOC and we do not know neither priority nor weight.
>>>> 
>>>> All the other operational discussion goes elsewhere, but not in this document.
>>>> 
>>> 
>>> Agree, I suggest moving it to 6833bis. What to leave in 6830bis is less obvious, maybe something like (not final, just a couple of ideas):
>>> 
>>> The data-plane must follow the state stored in the map-cache to encapsulate and decapsulate packets. The map-cache is populated using a control-plane, such as [6833bis]. ETRs encapsulate packets following the Priorities and Weights stored in the map-cache.
>>> 
>> 
>> Yes, this is what I meant.
>> 
>> 
>>> Actually we should merge this section with 'Routing Locator Hashing'
>>> 
>>> 
>> 
>> I think is a good idea.
>> 
>> [snip]
>>>> 13.  Changing the Contents of EID-to-RLOC Mappings
>>>> 
>>>> 
>>>> This is a control plane issue, as such it has to go in 6833bis, with two exception:
>>>> The very first paragraph stetting the problem, and the versioning subsection, because it is a data-plane mechanism.
>>>> 
>>>> All of the rest 6833bis
>>>> 
>>>> Actually I remember a suggestion about putting operations issues like this in an OAM document which would be a good idea.
>>>> 
>>>> 
>>> 
>>> So you are suggesting that the LISP control-plane does not define any mechanism to update EID-to-RLOC mappings? 
>>> 
>> 
>> Not exactly. Control-plane should discuss how to change the mappings, but things like clock sweep is just management not a control plane mechanism, as such it does not really needs to be standardised because there are no interoperability issues, hence it make really sense  to put it elsewhere.
>> 
>> Thanks
>> 
>> Luigi
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> lisp mailing list
>> lisp@ietf.org
>> https://www.ietf.org/mailman/listinfo/lisp
>