Re: Running code (Was: I-D Action: draft-ietf-6man-ipv6only-flag-03.txt)

Mark Smith <markzzzsmith@gmail.com> Mon, 29 October 2018 00:23 UTC

Return-Path: <markzzzsmith@gmail.com>
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 9BA7B12896A for <ipv6@ietfa.amsl.com>; Sun, 28 Oct 2018 17:23:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level:
X-Spam-Status: No, score=-1.498 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 PmV0Mg_3D5US for <ipv6@ietfa.amsl.com>; Sun, 28 Oct 2018 17:23:57 -0700 (PDT)
Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (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 097B51274D0 for <ipv6@ietf.org>; Sun, 28 Oct 2018 17:23:57 -0700 (PDT)
Received: by mail-oi1-x233.google.com with SMTP id f21-v6so2406020oig.1 for <ipv6@ietf.org>; Sun, 28 Oct 2018 17:23:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RfTzBhJYs8K3gV/uhufNck9ozqW68nnNsSZVipRdY6g=; b=MBuSgRnFP1TR6DI3V2S6bIkL6mXwgvaFoQfYnw0dLEX9UIHzJYpLEXv53YM8ARcCZL oUtQDEMVDo5OFTvJ7zTnaojVo0vE0nYUHda9YvrAw12eiCdXi8yBt2zl/OzdBo0D0IpF N7d8tsEmB97ZOJizgGHAAnHJM38Y96OgYzUeIfN3/9pj3tbGEy7llJ8EqhwkFCUHZLnb EwkhFGwnYUFDTR+ILw4IW4HjUzyKmUNnTmiWClkvmV+P7drNSm+JR0Q493LAuz4s9x10 oY7CcZ25+tt199Gb+bFiG+0YkRmQ91MonPJy9RA3mPje3dj92A0yGglazRdY7COHNpN6 WnvQ==
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=RfTzBhJYs8K3gV/uhufNck9ozqW68nnNsSZVipRdY6g=; b=mFIytMvEue2dn01lAt4Ew44ou9P5QME3SFQNY2A5N/1q5Bh0Iym9ka8EFO2VnDvMb0 GJVW0UpyeD1RR8eJtFSkGAxKgAUG6IYBFxL11iCxV22RDPJhWNPgp13qBa9jSd3vy4CA wyD248tKGfOdA+2u8Skf8j3Q7BrGTPPakUdFkVLwKtjE/k4yy+BNVyhV3rG9Wd5k7x1h UwU0l9EY+v37kUURUKEqaunLSqOSLsHJKYUB2I6M/KNqgHQZBluPSppg5goWaxefiLBI ztrjsSA1iZRQmSpDRmz7bmr1LRaf8DYb7ML78DGqFVE2b+JAAPilDTY5kENUp3NRjBXN oI+A==
X-Gm-Message-State: AGRZ1gILsH2+7Q1fZppq647J4vytqtwrJCvHG1ghCsJcZ8dWWGG+THBX upNKk2r+nZUthPINwoCTDuYtoTyXTCo3mH2gBb0=
X-Google-Smtp-Source: AJdET5dUJI48RH9aJD7VLGV16OWgQ+dzDVI7MFwmBR4sH62W581st2KpOiLGPzjS3KHvmHUKPfMeQpnJB/8Etvfuh1M=
X-Received: by 2002:aca:6257:: with SMTP id w84-v6mr6889789oib.326.1540772636180; Sun, 28 Oct 2018 17:23:56 -0700 (PDT)
MIME-Version: 1.0
References: <CAFU7BASO_ByzbanhLKnWV280O_fASd-8W+ujpj3sN6d2-whw2w@mail.gmail.com> <C46C990E-0A4F-4731-8CB1-FD204858935E@consulintel.es> <9B53019C-3506-4C9E-AFCF-D6125FA1A65B@gmail.com> <1157b739-3a66-8d45-e3e1-e5f904dfb9bc@asgard.org> <a00607f9-7ced-f889-b5cb-c2fe16367d73@si6networks.com> <66759b73-0a22-e1a9-49db-21154e8e1267@gmail.com> <37ba23b3-df19-9c2a-bdbe-ba7a99d72d05@si6networks.com> <0d6008a4-337b-2ccb-2d9f-837f786eca65@gmail.com> <bfa4397a-aa7a-1184-4147-4cbfbfd13603@si6networks.com> <E8DE18B5-94FC-411C-A310-E49A382E0079@thehobsons.co.uk> <e0fa8fad1b4249c9af79788323b0a922@boeing.com> <3A03A073-72E2-43A8-90A4-5C29DF445361@thehobsons.co.uk> <27fdbd71125842d888c5136684bf6e7b@boeing.com> <9A4368D6-E4B1-474C-9838-B584AF6D70C8@thehobsons.co.uk> <a3a2d823c38f44d48b301e2ca657e352@boeing.com> <6EE067A5-3536-4EDD-80D9-D98783DE57CE@thehobsons.co.uk> <0be69133e9a34199b5796410684ab226@boeing.com> <alpine.DEB.2.20.1810271656430.26856@uplift.swm.pp.se>
In-Reply-To: <alpine.DEB.2.20.1810271656430.26856@uplift.swm.pp.se>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Mon, 29 Oct 2018 11:23:29 +1100
Message-ID: <CAO42Z2yhwc5WP3rOGa=4OhCrr0wW72D3Ar207CdnVetN6RJq7w@mail.gmail.com>
Subject: Re: Running code (Was: I-D Action: draft-ietf-6man-ipv6only-flag-03.txt)
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: "Manfredi, Albert E" <albert.e.manfredi@boeing.com>, 6man WG <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/snEtnBdBguqwfiDTLd3A1vZkXNc>
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: Mon, 29 Oct 2018 00:23:59 -0000

On Sun, 28 Oct 2018 at 02:02, Mikael Abrahamsson <swmike@swm.pp.se> wrote:
>
> On Sat, 27 Oct 2018, Manfredi (US), Albert E wrote:
>
> > Either way, the only hosts which will NOT holler, when you shit off
> > IPv4, are the updated ones. Updated to read this flag, or updated with
> > the better heuristics, makes no big difference.
>
> For me, this flag has always been an additional input to the heuristics
> engine.
>

I don't think heuristics are really necessary.

A host doesn't really need an IP address (IPv4 or IPv6) unless and
until it starts running an application that wants to use the network.

I think the current convention for hosts to acquire addresses upon
boot or more recently upon attachment to a (new) link is probably more
of a tradition from back when minicomputers were the norm and network
interface configuration was always static. Hosts now widely support
dynamic address acquisition or generation, and release.

Hosts acquiring or generating addresses at boot or upon link
attachment could be seen as an optimisation, with the optimisation
being to avoid address acquisition latency at the time of the first
application network API call.

With IPv4 being the legacy protocol in this scenario, IPv4 addresses
could be acquired and released on demand by hosts when IPv4
applications need them.

I think on-demand IPv4 would be a compliment to an IPv6 Only flag
signalled by an IPv6 only router. There are still optional things that
Dual Stack hosts do that aren't really networked application driven,
such as responding to ICMP Echo Requests or registering host presence
via a HINFO record using Multicast DNS.

An IPv6 Only flag would be an explicit signal to a Dual Stack host
that these optional IPv4 things should be switched off. If they're the
only thing remaining that uses IPv4, then the host would cease to use
DHCPv4 to acquire an IPv4 address.

When a host stops running any applications the use IPv4, and these
other optional IPv4 hosts do are switched off, then the host would
cease sending or receiving an IPv4 or IPv4 related ARP packets
entirely.

Regards,
Mark


> We discussed this in sunset4 about exponential backoffs etc. This flag can
> just be additional inputs.
>
> But yes, I also see the possibility of the host trying to configure itself
> IPv4 but if it sees no answers to questions and doesn't see any IPv4
> traffic at all, after a while it "gives up" and just goes "IPv4 dormant"
> and sits there and monitors to see if it sees any IPv4 traffic. It might
> restart IPv4 operations when it sees other IPv4 traffic (0x0800 or
> 0x0806).
>












> --
> Mikael Abrahamsson    email: swmike@swm.pp.se
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------