Re: [v6ops] IPv6-Only Preferred DHCPv4 option

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 05 December 2019 13:53 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 BAF05120020; Thu, 5 Dec 2019 05:53:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 ehTyacZcoJhn; Thu, 5 Dec 2019 05:53:44 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24FF7120013; Thu, 5 Dec 2019 05:53:44 -0800 (PST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id C75623818F; Thu, 5 Dec 2019 08:50:04 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 5D618AAB; Thu, 5 Dec 2019 08:53:43 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Jen Linkova <furry13@gmail.com>
cc: dhcwg@ietf.org, draft-link-dhc-v6only@ietf.org, V6 Ops List <v6ops@ietf.org>
In-Reply-To: <CAFU7BAQp2-4EwntFj6Nx+be54-fi+gnQmRgT6yS22p=vYugpzA@mail.gmail.com>
References: <CAFU7BAR1JLUZps=CAqJfeQtUf-xQ88RYvgYrPCP+QP0Ter7YFg@mail.gmail.com> <E03BBE6C-3BED-4D49-8F79-0A1B313EFD9D@apple.com> <28594.1575483729@localhost> <CAFU7BAQp2-4EwntFj6Nx+be54-fi+gnQmRgT6yS22p=vYugpzA@mail.gmail.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Thu, 05 Dec 2019 08:53:43 -0500
Message-ID: <15674.1575554023@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/NUcZwCNcKrPK3JONdiyTHz_zIHM>
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: Thu, 05 Dec 2019 13:53:46 -0000

Jen Linkova <furry13@gmail.com> wrote:
    > On Thu, Dec 5, 2019 at 5:22 AM Michael Richardson <mcr+ietf@sandelman.ca> wrote:
    >> A question that we had was whether or not hosts in a IPv6-mostly network
    >> should configure IPv4-LL addresses in order to speak to legacy-v4-only hosts.

    > Actually the more I think about it the more I believe the host should
    > be doing whatever they are doing w/o DHCPv4 presence.
    > Android does not configure IPv4 link-locals, MacOS does. Making the
    > same OS behaving differently ("no DHCPv4 whatsoever" vs "DHCPv4 server
    > responded with IPv6-only Preferred option") might be undesirable. As
    > an operator I'd expect that IPv6-only capable host would behave the
    > same way on a dedicated IPv6-only segment and on IPv6-mostly segment.

I see the logic: that they shouldn't change.
I think that a lot of desktop OSes go for IPv4-LL when DHCPv4 fails because
their IPv4 logic was written before IPv6 was a thing.

I think that if I set up an IPv6-mostly segment it is because I know that
there are hosts which speak IPv4 only, or which have IPv4-only applications
which do not work through NAT64.  (An IPv4-only printer is such an "application")

I think that the DHCPv4 option is a clue that configuring IPv4-LL addresses
is a good thing.   Does Android configure IPv4-LL when it has IPv4?  I think
that this also varies by the host OS.

Having said this, I don't feel strongly about it either way.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-