Re: Confirmation to advance: draft-ietf-6man-ipv6only-flag-05

David Farmer <farmer@umn.edu> Sat, 11 May 2019 22:30 UTC

Return-Path: <farmer@umn.edu>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F090D120092 for <ipv6@ietfa.amsl.com>; Sat, 11 May 2019 15:30:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level:
X-Spam-Status: No, score=-4.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=umn.edu
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 gf1S8OevHXtY for <ipv6@ietfa.amsl.com>; Sat, 11 May 2019 15:30:15 -0700 (PDT)
Received: from mta-p7.oit.umn.edu (mta-p7.oit.umn.edu [134.84.196.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 669AF120045 for <ipv6@ietf.org>; Sat, 11 May 2019 15:30:15 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mta-p7.oit.umn.edu (Postfix) with ESMTP id D10A893E for <ipv6@ietf.org>; Sat, 11 May 2019 22:30:14 +0000 (UTC)
X-Virus-Scanned: amavisd-new at umn.edu
Received: from mta-p7.oit.umn.edu ([127.0.0.1]) by localhost (mta-p7.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rHg49d6xn0YI for <ipv6@ietf.org>; Sat, 11 May 2019 17:30:14 -0500 (CDT)
Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta-p7.oit.umn.edu (Postfix) with ESMTPS id 845CB6BA for <ipv6@ietf.org>; Sat, 11 May 2019 17:30:14 -0500 (CDT)
Received: by mail-vk1-f198.google.com with SMTP id g145so4432293vke.8 for <ipv6@ietf.org>; Sat, 11 May 2019 15:30:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umn.edu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j4pdW16YBdWjhaZXxD14ZxEXxu69sBq46GJWyjKzhiA=; b=NV5MQzbluP5YSMR0Jwsv3GdLCO8dxDDHx0BgvVn2nEq6yDISRGejzMefpTnGGmVZno Hfm3ZagZTwsgBTlz7xnUdrwAU29CzrXITSj1TfvshY/Zrk+i/1Y6DxKCeNpHOcWCttfC 2dJA9aIDT4bfHYPH5CdfBxunXUlbNBiRn8GkXblMRPlZ7MrATHQrPDUBNX6uk+tNiWb7 Sk9V7puS676MpPirjPfKhTfiH3LBvSAgeW5HsRCD+JGWqP4Ar+MQzCo9wq2WK7ZnmjzD lJwwv6kOM/GWEt95sfbQF0DR7OF/SQacIvkrIrP/3igPnoPUp9MG/FGlgJBXAWZZAT3X sKsQ==
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=j4pdW16YBdWjhaZXxD14ZxEXxu69sBq46GJWyjKzhiA=; b=cU8bDSXx1EBto8aFfc04N5/YRCkhdagTIJaDeNgmJ1zP6MBOH1HxqEnNGL8sTcRNsp Z37c9ScNohfaYfRF2RcpBEwhX3Md6utd5GaEwtBE5Nvn3HoPfE2F/ww/9dILsBbOQKVN HwdfdvwW94QfVmMA0CMC3Fp97cpchD2SoGG8X2M2N+6ZoWr0t8/PWCf2pXRmefTYZk1l x3PLiYF9RxWtnzTvOwQijylGl7QG2e8sKQS+4lckX3OSzrUPo7MDqc+s0ZtMsMoqqVdT dGI+1WLXJ1iBggseUEZKc7hDzot+lHTSrpJtr7Y8JnBQk3roQznTBXQsGTn5bqx/kaiW boYg==
X-Gm-Message-State: APjAAAV44U9dmbseIWAV07UbL4uxUlTSXS1Wf1hle6nJrcYd+5aCgh56 KuljD+RucrEofGoC9HXleyytyO6Th3o17mGpg7t6Pzk9j3Gq1K+akBLb4tePh4S60kUuJYA0Oux yRBiBBqPbHPzXid/2tjyeEvTW
X-Received: by 2002:ab0:338e:: with SMTP id y14mr9267877uap.39.1557613813348; Sat, 11 May 2019 15:30:13 -0700 (PDT)
X-Google-Smtp-Source: APXvYqzn4+9A8dajXGs4GBzGlfyZWDhaWOaB3bHL6uu7Bb2wrysT/Jw0EML2BwXIfgm7ruKpXP0Ay0Lz8ndDde5+ok8=
X-Received: by 2002:ab0:338e:: with SMTP id y14mr9267860uap.39.1557613812992; Sat, 11 May 2019 15:30:12 -0700 (PDT)
MIME-Version: 1.0
References: <F8BFFCAD-E58E-4736-8A1C-56579B6F6032@employees.org> <c7e18765-be04-6494-8193-984dbccb520b@foobar.org> <CANMZLAYh+V57yrWOzmUyjSMK0g95u1D5_GZmyZBMOMKAZnrnCg@mail.gmail.com> <3F474511-6FE3-4A0A-9B84-7C37F08FBB5D@steffann.nl> <E352C226-C708-4418-BCDE-10525CAB109A@jisc.ac.uk> <652fb10e-b8ce-0151-a9a0-62d2378caed2@gmail.com> <0079c716-d56c-7199-f493-f5e56e1307ae@foobar.org> <b33de303-eaca-f7f6-804e-2c9343eb92a1@gmail.com> <6C4ABEF1-2565-4BA9-9FC5-5B3C45A719AD@gmail.com> <c2222416-6491-1906-a403-d012777a4b38@gmail.com> <CABNhwV0-SdKZqQa4z9jhpc8h1Eq=8UxRhtvHt1==BYEMTVRjug@mail.gmail.com> <96790121-7D50-4C6F-924F-87065B989E44@gmail.com> <ccab3694-54f2-bdd1-f8ac-cb159dbc0a81@gont.com.ar> <CAN-Dau0_w0n9C6grqi1bXAL-k239K7RMiQyhx5=c-Y_wqrV2OQ@mail.gmail.com> <CAO42Z2wwftO6wtF7PAJ9CCK2iBvtOj0BQP7O0UREr-pMmPegvQ@mail.gmail.com> <CAN-Dau2brdJ98bzFO76j+C=RCZSFpNg-eW0WCz_FYp9C_YSMjQ@mail.gmail.com> <CAO42Z2zeH1pOfMb=xbLw79LcNnQdnifbM5BFxewx7317-SF_cA@mail.gmail.com> <alpine.DEB.2.20.1905110905350.1824@uplift.swm.pp.se>
In-Reply-To: <alpine.DEB.2.20.1905110905350.1824@uplift.swm.pp.se>
From: David Farmer <farmer@umn.edu>
Date: Sat, 11 May 2019 17:29:56 -0500
Message-ID: <CAN-Dau2ztpq9Cug-3GHw=bT9RJSqBf-ROF1xdB9r-MJ0K3-aOg@mail.gmail.com>
Subject: Re: Confirmation to advance: draft-ietf-6man-ipv6only-flag-05
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: Mark Smith <markzzzsmith@gmail.com>, Bob Hinden <bob.hinden@gmail.com>, IPv6 List <ipv6@ietf.org>, Fernando Gont <fernando@gont.com.ar>
Content-Type: multipart/alternative; boundary="0000000000000556790588a43a72"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/5GH9ZFS8AATXKHZXEF4o0JsMtFg>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 May 2019 22:30:18 -0000

On Sat, May 11, 2019 at 2:21 AM Mikael Abrahamsson <swmike@swm.pp.se> wrote:

> On Sat, 11 May 2019, Mark Smith wrote:
>
> > I think this is going backwards. We already prefer IPv6 over IPv4 by
> > default in terms of address selection and in happy eyeballs.
> >
> > IPv4 is the legacy protocol, delaying its startup until IPv6 has been
> > initialised is consistent with the IPv6 preference.
>
> Device manufacturers won't do it that way. My take on it is that they will
> do along the lines of what Apple did with their HE deployment. They'll
> start off no advantage for either protocol, gather data, then change to
> delay IPv4 slightly and then perhaps in 10-50 years if IPv6-only with
> IPv4aaS becomes the norm then just use IPv4 as fallback in case IPv6
> doesn't work properly.
>

Furthermore, in most cases, there is no advantage to delaying the IPv4
DHCPDISCOVERS. If an IPv6-Ony network really cares it should be filtering
the IPv4 packets. For the dual-stack host, it is a trade-off of a little
bit more power for a quick startup of IPv4 if it is there. A few more
packets when the host is already awake isn't going to matter that much to
its power draw. The issue for the host is the power draw over time for
continuing futile IPv4 service discovery and IPv4 DHCPDISCOVERS, especially
after it can be determined that they are futile.


> We should not mandate anything here about exact device behaviour, we
> should say "this is a signal from the network that the network
> administrator is indicating that this is an IPv6 only network". That's all
> it is, and now the device manufacturer can decide depending on their
> use-case what is the best way to respond to this signal for that
> particular device.
>

I don't think we should mandate anything either but we should provide some
suggested actions, maybe something like the following;

The lack of any IPv4 DHCPOFFERS in response to initial IPv4
DHCPDISCOVERS is considered the primary signal for a dual-stack host to not
configure a global scope unicast IPv4 address. The presence of only RAs
with this flag set is considered a secondary signal to fairly quickly stop
or severely limit through the aggressive use of exponential
backoff periodic IPv4 DHCPDISCOVERS and to take one of the
following suggested actions to prevent futile IPv4 service discovery
traffic. This non-exhaustive list is in order of preference, but the
particulars of the IPv4 stack implementation will dictate the best solution
for individual implementations. However, option #3 is NOT RECOMMENDED,
especially for general purpose hosts and mobile devices. However, this
could be an appropriate action by constrained devices.

1. Turn off IPv4 service discovery, such as mDNS [RFC6762].
2. Do not auto-configure an IPv4 Link-Local scope address [RFC3927].
3. Turn off the IPv4 stack altogether.

If a dual-stack host receives an RA with the flag cleared, or all the RAs
with the flag set have expired, periodic IPv4 DHCPDISCOVERS and IPv4
service discovery traffic SHOULD be resumed.

If a dual-stack host receives any IPv4 DHCPOFFERS a global scope unicast
IPv4 address SHOULD be configured regardless of the status of this flag.

While currently not recommended, due to today's prevalence of IPv4, a
dual-stack host MAY delay its initial IPv4 DHCPDISCOVERS until the status
of this flag is known. This could also be an appropriate action by
constrained devices.

Thanks
-- 
===============================================
David Farmer               Email:farmer@umn.edu
Networking & Telecommunication Services
Office of Information Technology
University of Minnesota
2218 University Ave SE        Phone: 612-626-0815
Minneapolis, MN 55414-3029   Cell: 612-812-9952
===============================================