Re: [dhcwg] I-D Action: draft-fsc-softwire-dhcp4o6-saddr-opt-06.txt

神明達哉 <jinmei@wide.ad.jp> Thu, 01 December 2016 20:13 UTC

Return-Path: <jinmei.tatuya@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 04B6A129991; Thu, 1 Dec 2016 12:13:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, 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=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 LfF--h1M04mH; Thu, 1 Dec 2016 12:13:21 -0800 (PST)
Received: from mail-qt0-x243.google.com (mail-qt0-x243.google.com [IPv6:2607:f8b0:400d:c0d::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 58684129458; Thu, 1 Dec 2016 11:59:31 -0800 (PST)
Received: by mail-qt0-x243.google.com with SMTP id n6so24970003qtd.0; Thu, 01 Dec 2016 11:59:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=RMKXJYeHWnbQLkrh0ojaqIrEqDljLxfaxMtY+FTMtmQ=; b=lLkgPUy7GKkw3OY7RzuZ9HCKaC0WruZv2NNzdfLZneRj2ouT9GtkVicOjzEHHFddIs aImazIJX0ICmzTWtyMzfMPOOKl3kHe76PUgkHRaLb2WmRVDttYhd5NAoAqH7qv9LyqHo CqAe/AJJbRGm/Y3q9Cs2Yo3H1A/YbTjSHuUtPkVSA8Qv1Dvfw0TbM0waCoJ3O9TdfTxO P48nFh0h58qG0tpkxgwDcJ7RZNDs0iEyBk73Ny5scx8bKWyV06siBDoIE8IZQl5vB9Mp xI7egyhDKYkRRZPyDJt7EoqZtVuQN8yZ+7Mk+t3urrvcAlOP+45BFlSY9cSMX/U+ERsL X3hg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=RMKXJYeHWnbQLkrh0ojaqIrEqDljLxfaxMtY+FTMtmQ=; b=dTi3qdwCBqsX+7QOhclFUM+wr8kCDmym8MD0Y85kp4URTGlcuAwxVjx90noi0SvsOr FXygkrNtl/NRMCGBeCCNRhhCU6SHUfkxS28eXRM2un5Kpj8cFGWQngsUGHwTJDkzGF3b h11zuQTaJZhlfq6hWEt9hDtl+QRnIqexkeu19EsnnP6o1eS/8Jkr9CHvvcKoxcrZNRrx Qg9iLt3ca/eMVxTdjRqtAcn1RHJfJnIAbfl+SU3Dkk5zx4Co/GdtOqfSYiXLrtNXaZ0u zpFgr4d1HtjNthKGjcFSDZMGQ+P5jKgDYmtymZpI1j4+5i6XFUuT/+nwhOTVhMx1N/V8 7MXQ==
X-Gm-Message-State: AKaTC03aitjPBsIHmWy8wfRbVmp3H7h7Dg0W7PRZpl7xGHwrG4ism06aRI2zkpcF2jgbkyRbj+7B2sYgll5c3A==
X-Received: by 10.200.54.244 with SMTP id b49mr35865839qtc.93.1480622370446; Thu, 01 Dec 2016 11:59:30 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Thu, 1 Dec 2016 11:59:29 -0800 (PST)
In-Reply-To: <BF6C3083-9CF8-4106-A7D2-1915E28DA116@gmx.com>
References: <6BCF488C-69FC-4965-8784-1331EE62AF67@gmx.com> <CAJE_bqfb4An_172WKdh5FBDo5K7MfpAfhudZnBOMz1rKtN_jDQ@mail.gmail.com> <BF6C3083-9CF8-4106-A7D2-1915E28DA116@gmx.com>
From: 神明達哉 <jinmei@wide.ad.jp>
Date: Thu, 01 Dec 2016 11:59:29 -0800
X-Google-Sender-Auth: nAYdNLmuk6HHk1pjQ9a206bBO0Q
Message-ID: <CAJE_bqdOTUXB22z7h4M+9SvSD6rDAtK5EiBZFAARRO9+W7nWUw@mail.gmail.com>
To: Ian Farrer <ianfarrer@gmx.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/EVVXpBJJgoiJsmTnVjJUnf2dD6M>
Cc: softwires <softwires@ietf.org>, dhcwg <dhcwg@ietf.org>
Subject: Re: [dhcwg] I-D Action: draft-fsc-softwire-dhcp4o6-saddr-opt-06.txt
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Dec 2016 20:13:24 -0000

At Fri, 18 Nov 2016 10:37:21 +0900,
Ian Farrer <ianfarrer@gmx.com> wrote:

> [if - RFC7227 defines an IPv6 prefix option as being variable length with padding to the nearest octet, so yes it would be truncated in your example. I will improve the text to clear this point up.
>
> This is an interesting interpretation as the intended use is to indicate a preferred prefix (/64 or shorter) for the client. in this context, if a longer prefix hint was supplied, then the longest match would only likely to be predictable for up to a /64.
>
> The question it raises is, if a /128 was supplied that belonged to a prefix which is delegated to a client, should the client configure this prefix and build the hinted address as it’s source (assuming it wasn’t in use and DAD was successful)? I’m not convinced that this is actually useful ATM and it may complicate things for error handling (what if DAD fails), but I’d appreciate your opinion.]

(Sorry for the delayed response).  Personally, I don't think this
draft should specify what the client does beyond what the draft
already says:

   If
   this option is received, the client MUST perform a longest prefix
   match between cipv6-prefix-hint and all prefixes/addresses in use on
   the device.  If a match is found, the selected prefix MUST then be
   used to bind the received IPv4 configuration to and source the tunnel
   from.  If no match is found, or the client doesn't receive
   OPTION_DHCP4O6_SADDR_HINT the client MAY select any valid IPv6
   address to use as the tunnel source.

Cases like /128 is covered in this generic text, and as you guessed
yourself, this case would simply result in 'no match' and the client
will select an arbitrary address (per the MAY).  This may result in
some operational failure in the end, but I think it's okay to say it's
a configuration/operation error, not a protocol issue.

--
JINMEI, Tatuya