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

"Manfredi (US), Albert E" <albert.e.manfredi@boeing.com> Mon, 29 October 2018 01:16 UTC

Return-Path: <albert.e.manfredi@boeing.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 0C071124C04 for <ipv6@ietfa.amsl.com>; Sun, 28 Oct 2018 18:16:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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 vAo0jXv9z7ww for <ipv6@ietfa.amsl.com>; Sun, 28 Oct 2018 18:16:17 -0700 (PDT)
Received: from clt-mbsout-01.mbs.boeing.net (clt-mbsout-01.mbs.boeing.net [130.76.144.162]) (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 162BE126F72 for <ipv6@ietf.org>; Sun, 28 Oct 2018 18:16:16 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by clt-mbsout-01.mbs.boeing.net (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id w9T1GEXx019285; Sun, 28 Oct 2018 21:16:14 -0400
Received: from XCH16-01-11.nos.boeing.com (xch16-01-11.nos.boeing.com [144.115.66.39]) by clt-mbsout-01.mbs.boeing.net (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id w9T1GAp3019180 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=OK); Sun, 28 Oct 2018 21:16:10 -0400
Received: from XCH16-01-11.nos.boeing.com (144.115.66.39) by XCH16-01-11.nos.boeing.com (144.115.66.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1466.3; Sun, 28 Oct 2018 18:16:09 -0700
Received: from XCH16-01-11.nos.boeing.com ([fe80::a96c:5d85:1337:4323]) by XCH16-01-11.nos.boeing.com ([fe80::a96c:5d85:1337:4323%4]) with mapi id 15.01.1466.003; Sun, 28 Oct 2018 18:16:09 -0700
From: "Manfredi (US), Albert E" <albert.e.manfredi@boeing.com>
To: Mark Smith <markzzzsmith@gmail.com>
CC: 6man WG <ipv6@ietf.org>
Subject: RE: Running code (Was: I-D Action: draft-ietf-6man-ipv6only-flag-03.txt)
Thread-Topic: Running code (Was: I-D Action: draft-ietf-6man-ipv6only-flag-03.txt)
Thread-Index: AQHUbx2d2Zjjso5+/km4+87SaUMNqaU1Zf4Q
Date: Mon, 29 Oct 2018 01:16:09 +0000
Message-ID: <0a59700274d9418a96329a9887d96183@boeing.com>
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> <CAO42Z2yhwc5WP3rOGa=4OhCrr0wW72D3Ar207CdnVetN6RJq7w@mail.gmail.com>
In-Reply-To: <CAO42Z2yhwc5WP3rOGa=4OhCrr0wW72D3Ar207CdnVetN6RJq7w@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [137.137.12.6]
x-tm-snts-smtp: 5B18F2DF1E459124A3069537EEC92D335224897B084C5F0DC3833208557540762000:8
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-TM-AS-GCONF: 00
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/rWNBenH2EsO2qeCltgAnScUmPVw>
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 01:16:19 -0000

-----Original Message-----
From: Mark Smith <markzzzsmith@gmail.com> 

> 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.

Or more precisely, when IPv4-only applications need them. If an app needs access to a printer, scanner, the OS should be able to oblige, with IPv6 or IPv4. If an IPv6-only flag is set at every router, the presumption usually would be, IPv6 printers, and other such basic services, have been provided on the network, by the net admin. Normally. The question is, without that flag, are there other clues? (Yes, there are.)

> 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.

Except, they aren’t necessarily the only thing that uses IPv4. They are the only thing the network admin might have had control over, that used IPv4. But a robust host should not be programmed to preclude functionality that users have come to expect. Go to Best Buy, buy whatever printer, and make it work, on that network. Seamlessly, 

> 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.

Yes. And so in your post, you have listed several heuristics. I agree with these improved heuristics. I'd be hard pressed to make the case that a flag is the only way, or even the most robust way, to achieve any of this.

But, why is this not a relief, for 6man? You can achieve increased efficiencies in hosts, you can shut off IPv4 services in the network, and you don’t even need to add complexity to an already complex-enough IPv6.

Bert