Re: [v6ops] IPv6-Only Preferred DHCPv4 option

Lorenzo Colitti <lorenzo@google.com> Mon, 09 December 2019 15:21 UTC

Return-Path: <lorenzo@google.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF6D3120089 for <v6ops@ietfa.amsl.com>; Mon, 9 Dec 2019 07:21:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 wmLA9ShpSaOe for <v6ops@ietfa.amsl.com>; Mon, 9 Dec 2019 07:21:50 -0800 (PST)
Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 E181D1200DF for <v6ops@ietf.org>; Mon, 9 Dec 2019 07:21:44 -0800 (PST)
Received: by mail-io1-xd33.google.com with SMTP id u7so15145570iop.5 for <v6ops@ietf.org>; Mon, 09 Dec 2019 07:21:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R9h6oN/d1rczobMUpjEPcArNlO5oc2NXRRj7wW13s5k=; b=GKnev+DhMzDe82tGegbLRd5BGw12AAOm/35xgOJLvKzCeRwY0cCMi4tV8m4H8iDEOR OCYSpNq+/S12GJaAl5YwlCn5DmH6LNxDNfEgaLSVhRoE/F1DllyhBkJHnuldxr2JYHRF +YjhRJelTTgw/A1dch7rp7NmTFbhCzDXW5XWciP6DJkfmPVZdMIq/ajEPWk82fK5znCp YzpTR90EOTbyO60zr3kKH9MuMnM3e0EwBPQpUHXUDgs5ZArjajyNNqoFgiMM4AA4SmMw xbypJs6EmL/1xbbm63TZwfd/FMLZwNvsnzXwMzAeWN5Uvvzqjss0M0lBy6yNvXrbfyBo /suA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R9h6oN/d1rczobMUpjEPcArNlO5oc2NXRRj7wW13s5k=; b=B3E0dy+VD0ITnolL9SZJtOqI40vrrE+1EEUextD/wYwNqdZaDW59mzobzkFVpRx1c4 R77rEg1Vxi6mP38zbLzoJ3C96wvv6to5u/4wxopVx3qnYAKRZwOwkoktsGZHzESNmO6W gMn6hyI6ic7EuQ5OFU3L6mw45cgCpferiI541LJQsniBFv3zI9NoOWbZ7JCJhmPvjo0y 5VQL1ZAYvOl+xtvN7iKxpGVSAFnWwLu9rTIAV8R/C1dQO72BztjmTapIOJ2YT4drULVQ +e9M5Uwg8t5GSTw0tQcekmRzcHU+98wcKEww1kP3z/BGp23zalFVi0cp1N7Mt0+CwvDP h/Dw==
X-Gm-Message-State: APjAAAVDePpegzxkq4kN8CeUc5RzxhbUWFkluZGRc9IWy4iv+4mbYN77 jAAnOyWnoMLMFioz94Qrb3qn54cRgtYb4lF9CTw6BQ==
X-Google-Smtp-Source: APXvYqxaR2np+/PVByrWMl42vYnA0N5JPPoSRMWGPhSsK9pSZry6BSpJaFv6D7pdubX6OI/ArXg9gNVl28c7rcV95bg=
X-Received: by 2002:a02:3406:: with SMTP id x6mr20919395jae.46.1575904903840; Mon, 09 Dec 2019 07:21:43 -0800 (PST)
MIME-Version: 1.0
References: <9102C9A8-DA3A-4460-88AD-13E24561B901@cisco.com> <CDC50564-D289-4E73-9924-4F00E93F9C7C@fugue.com>
In-Reply-To: <CDC50564-D289-4E73-9924-4F00E93F9C7C@fugue.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Tue, 10 Dec 2019 00:21:32 +0900
Message-ID: <CAKD1Yr0ZW2ubROZyjSA_JE698gbijaH_tAu78wna=e2SqYm6+w@mail.gmail.com>
To: Ted Lemon <mellon@fugue.com>
Cc: "Bernie Volz (volz)" <volz@cisco.com>, V6 Ops List <v6ops@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000fefd0b059946f3c9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/1NqHOy3sFBv6icxAyhBnkzrDfLg>
Subject: Re: [v6ops] IPv6-Only Preferred DHCPv4 option
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Dec 2019 15:21:52 -0000

On Mon, Dec 9, 2019 at 11:17 PM Ted Lemon <mellon@fugue.com> wrote:

> One way to resolve this impasse would be to specify it do it would *work*
> with your minimal change, but *also* allow the server to send no address
> in the offer. That way you can implement the full change at your leisure,
> but we still get a good long term outcome.
>

>From the perspective of a host OS developer and not a server developer,
that seems like a good compromise. I hadn't thought of the "I just want a
little stub on my network" argument. Though I'd wager it will be more than
ten years before every network has one of those, it does seem like a nice
minimalist approach especially good for small/home networks where we don't
expect there to be any middleboxes to choke on an offer for 0.0.0.0.

If we want hosts to support this (and we do, because otherwise even on such
networks hosts might choke on the offer for 0.0.0.0) it should be in the
document from day one and we should say that if the host gets 0.0.0.0 in
the offer and a v6only-preferred option it MUST operate in IPv6-only mode
and MUST NOT send a request for the address.

Presumably what happens if the host gets 0.0.0.0 in the offer and no
v6only-preferred option is left to the implementer. Just as a data point,
the Android implementation will ignore it and continue to send discover
packets. At the moment I can't remember why I did that and I don't know
what other implementations do.