Re: [lisp] Gen-ART IETF Last Call review of draft-ietf-lisp-ddt-08

Dino Farinacci <farinacci@gmail.com> Tue, 17 January 2017 23:30 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 F42001295E9 for <lisp@ietfa.amsl.com>; Tue, 17 Jan 2017 15:30:46 -0800 (PST)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 EelE5r9aCY-8 for <lisp@ietfa.amsl.com>; Tue, 17 Jan 2017 15:30:45 -0800 (PST)
Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (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 C24A4129516 for <lisp@ietf.org>; Tue, 17 Jan 2017 15:30:45 -0800 (PST)
Received: by mail-pg0-x243.google.com with SMTP id 194so9094011pgd.0 for <lisp@ietf.org>; Tue, 17 Jan 2017 15:30:45 -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=IJB8gQ1LHMFLEffCrmS9ofWbEHXLl5mmHZNlF5f7m+s=; b=NuSbxFzUp3elK7sAR/HP5q76KfkgyIAoAvtCKHyBTiN6I0MlHkNSnRuXX8AM5ONx/l zA0kWd/5rzAJDJFwR/J0A+tFN8WJKG8Y1FZ95oX3cmVS46k+w5sglw6wE7LdWqyvrOc6 cHh+/J8UqIg+u1q3PwuoWZpGqqvoHtjkttGiRcYR3mYFnF+dwBZV3ogVUySbsHUDI6n3 3el9xkNiEaWYy1J0xxa4zqM8OKo83b2qUP1Gf2ed4EqMnj/l6/zYaR53UcDiEgcks5/Q /t6DhQHRDv4Umjv0iNLEFLLQ2kmXekqdAapgXZ2imeOO3E/YYh6yU0ZfFrzBoSdNInzx ZhAQ==
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=IJB8gQ1LHMFLEffCrmS9ofWbEHXLl5mmHZNlF5f7m+s=; b=Uu6jqOv99h3qfFQVFU0e/MF6AgAt4gjZeW76/Up5OKAgEQB3scX/xy8KNyZoyo51qj FTyf3BV6kyO849mhm8rfTt3vW2MLb22vAQxAPoouVG6bHwpEEhc5GXrtJxSQTXVspzjY v4FTyhnLUooB4XGaTJWjZnBnnbm62pq1LoXTIBLBk4HSNO3KuI2WNdgBxVSgTdv3xQ04 vAFjxhFrDfXohXeY9sEysF/B5Lwy7uH11lCnb4CeScm+IwsPAlK9FjGQZCy3flLmn4H9 n7JBUB15ZtweYjua4eSjkNb/I7Zay0zhoENfenYB4fJfDfEosUtagMaVCtSSfcVt1MS7 lZpg==
X-Gm-Message-State: AIkVDXIB61ayLS0pMzTVkCZrFRgGpli4F/Cqyv9yuKzOA3gpjDikZyS4ZrwKMas/a6D43Q==
X-Received: by 10.84.139.36 with SMTP id 33mr313413plq.61.1484695845274; Tue, 17 Jan 2017 15:30:45 -0800 (PST)
Received: from dino-macbook.attlocal.net (adsl-76-254-33-163.dsl.pltn13.sbcglobal.net. [76.254.33.163]) by smtp.gmail.com with ESMTPSA id z77sm58274232pfk.47.2017.01.17.15.30.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jan 2017 15:30:44 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\))
From: Dino Farinacci <farinacci@gmail.com>
In-Reply-To: <87inpdpe2l.fsf@hobgoblin.ariadne.com>
Date: Tue, 17 Jan 2017 15:30:43 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <80A31E3B-78BC-44B7-9618-2D35CB63C557@gmail.com>
References: <87inpdpe2l.fsf@hobgoblin.ariadne.com>
To: "Dale R. Worley" <worley@ariadne.com>
X-Mailer: Apple Mail (2.3251)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/u043NZyVteZ1PkwuwTlmZLhDneo>
Cc: lisp@ietf.org
Subject: Re: [lisp] Gen-ART IETF Last Call review of draft-ietf-lisp-ddt-08
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 17 Jan 2017 23:30:47 -0000

> I reviewed draft-ietf-lisp-ddt-08, and my memory is that the only
> significant technical question was regarding the "D" bit in Map-Request
> messages.

Let me try to make this more clear for you Dale. Thanks for the comment.

> Thinking back on it, I believe that the difficulty I was having was with
> the explanation of the D bit, not its functionality.  In particular, a
> DDT server can share a node and a listening port with a Map-Server.

Yes, every Map-Server that is part of a child referral from a DDT-node is also a DDT-node. But the DDT-node does not process D=0 Map-Requests but does D=1 Map-Requests by responding with Map-Referral messages. A Map-Server sends Map-Referrals too. And usually a D=0 Map-Request is forwarded by Map-Servers to ETRs so they send Map-Replies.

> Both of these servers process Map-Request messages, albeit with
> different semantics.  Hence the D bit in Map-Request messages is needed
> to differentiate which server is to process a given Map-Request message.

The reason I explained the above was that the D-bit tells the receiver of a Map-Request what type of message to return regardless of the colocation status of the servers.

> My suggestion is that the document define the D bit in this way.  Once
> that is done, it's obvious for a particular client sending a particular
> message whether the D bit should be set.  Compare with the current

Well depending on what type of device you are referring to as a “client”. Map-Resolvers are part of infrastructure and they are typically the only devices that send D=1 Map-Requests. And they are sending them because they know the Map-Request is going to a DDT node and that they want a Map-Referral as a response.

> description, which speaks of the D bit as if it is a classification of
> the sender of the Map-Request, which leads to conceptual problems

It is not the classification of the sender.

> because it requires the document to define the classification and ensure
> that all possible clients are properly classified.
> 
> (Ideally, I would advocate that a DDT Map-Request should have a
> different type code than a Map-Server Map-Request.  But I'm sure that it
> is too late to put that fix into existing deployments.)

They both have the exact same information, one just solicits a Map-Referral and D=0 doesn’t.

Dino