Re: [v6ops] [dhcwg] IPv6-Only Preferred DHCPv4 option

<mohamed.boucadair@orange.com> Fri, 06 December 2019 12:25 UTC

Return-Path: <mohamed.boucadair@orange.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 F3D251200FF; Fri, 6 Dec 2019 04:25:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.597
X-Spam-Level:
X-Spam-Status: No, score=-2.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=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 si1yIvk3Ox5i; Fri, 6 Dec 2019 04:25:44 -0800 (PST)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.70.36]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 04E0212001E; Fri, 6 Dec 2019 04:25:44 -0800 (PST)
Received: from opfednr03.francetelecom.fr (unknown [xx.xx.xx.67]) by opfednr24.francetelecom.fr (ESMTP service) with ESMTP id 47TsHp1Jn9z21pJ; Fri, 6 Dec 2019 13:25:42 +0100 (CET)
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.38]) by opfednr03.francetelecom.fr (ESMTP service) with ESMTP id 47TsHp0T68zDq8c; Fri, 6 Dec 2019 13:25:42 +0100 (CET)
Received: from OPEXCAUBMA2.corporate.adroot.infra.ftgroup ([fe80::e878:bd0:c89e:5b42]) by OPEXCAUBM5C.corporate.adroot.infra.ftgroup ([fe80::393d:418c:3f1d:991d%21]) with mapi id 14.03.0468.000; Fri, 6 Dec 2019 13:25:41 +0100
From: mohamed.boucadair@orange.com
To: Lorenzo Colitti <lorenzo@google.com>
CC: Jen Linkova <furry13@gmail.com>, Bjørn Mork <bjorn@mork.no>, "dhcwg@ietf.org" <dhcwg@ietf.org>, V6 Ops List <v6ops@ietf.org>, "draft-link-dhc-v6only@ietf.org" <draft-link-dhc-v6only@ietf.org>
Thread-Topic: [dhcwg] IPv6-Only Preferred DHCPv4 option
Thread-Index: AQHVrCIE0EzcIgM90k+qjQhPGFF0raetA0RA
Date: Fri, 06 Dec 2019 12:25:41 +0000
Message-ID: <787AE7BB302AE849A7480A190F8B9330313E60F8@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
References: <CAFU7BAR1JLUZps=CAqJfeQtUf-xQ88RYvgYrPCP+QP0Ter7YFg@mail.gmail.com> <8736e0gqu2.fsf@miraculix.mork.no> <787AE7BB302AE849A7480A190F8B9330313E29BB@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <CAFU7BARiwGZohd5d-hqUUpH5jzjFerbLGcOBVc+S9BC3OYMFcw@mail.gmail.com> <787AE7BB302AE849A7480A190F8B9330313E41EE@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <CAKD1Yr2ZuCXWvRGi-hTj3g0A24WHr=ept9CqFx6_mP3vKUcaqA@mail.gmail.com> <787AE7BB302AE849A7480A190F8B9330313E429B@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <CAKD1Yr0PKSyz3Ku6dw_-czqksB1tii_4Oc-9GqP9GG0HBzY+4Q@mail.gmail.com> <787AE7BB302AE849A7480A190F8B9330313E4587@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <CAKD1Yr14PWNO=ENHX8kBWgkx1xb2_WLZHJyKAf9izZkJyEm+bQ@mail.gmail.com> <787AE7BB302AE849A7480A190F8B9330313E5E90@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <CAKD1Yr19LNa7-N-CEdRE1RY7zTmDxfAy-Dxi3czfNhYMgt+9hg@mail.gmail.com>
In-Reply-To: <CAKD1Yr19LNa7-N-CEdRE1RY7zTmDxfAy-Dxi3czfNhYMgt+9hg@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.114.13.245]
Content-Type: multipart/alternative; boundary="_000_787AE7BB302AE849A7480A190F8B9330313E60F8OPEXCAUBMA2corp_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/NiWwxXYQH_HTND9TC9793iWkqYs>
Subject: Re: [v6ops] [dhcwg] 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: Fri, 06 Dec 2019 12:25:46 -0000

Re-,

Please see inline.

Cheers,
Med

De : Lorenzo Colitti [mailto:lorenzo@google.com]
Envoyé : vendredi 6 décembre 2019 11:44
À : BOUCADAIR Mohamed TGI/OLN
Cc : Jen Linkova; Bjørn Mork; dhcwg@ietf.org; V6 Ops List; draft-link-dhc-v6only@ietf.org
Objet : Re: [dhcwg] IPv6-Only Preferred DHCPv4 option

On Fri, Dec 6, 2019 at 5:01 PM <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>> wrote:
[Med] Do you mean that clients that receive the signal to release IPv4 configuration will make the users unhappy anyway because they will need to wait for the pref64 to properly work?

Well, that's the intent of the pref64 RA option. That allows the pref64 to be communicated in the same packet as the rest of the configuration parameters.
[Med] If there is no delay then, the signals (pref64 presence, v6-only presence) are redundant. No?

The pref64 option doesn't guarantee the absence of a delay. This DHCP option tell hosts: this network can provide IPv6-only service with NAT, and would prefer that hosts use it over IPv4.
[Med] Assuming the host is modified to behave in this mode.

That gives the host a reason to wait before it configures IPv4, or not to configure IPv4 at all, because it knows that (unless there is an outage or misconfiguration), native IPv6 with NAT64 will arrive very soon.
[Med] Still it will wait in that case.

The pref64 option is there to ensure that NAT64 arrives as soon as possible and doesn't require roundtrips to the DNS forwarders (or even to the root and then to the IANA servers).
[Med] Yes. My point is that this information is explicit enough that a NAT64 service is available and that only the IPv6 prefix should be configured.

A host that is not supporting this mode won’t wait and will retrieve both ipv4/IPv6 configuration (if available).

Note that IPv6 has built-in delays in the protocol itself (DAD for the link-local address; various randomized delays) that make it very difficult to get anything done before at least 1-2 seconds have passed. Hosts that know that 70% of networks are IPv4-only will not want to wait 1-2 seconds to connect to those networks.

[Med] In that case, what is the benefit for the host to indicate its ipv6-only mode support?

The option improves the situation by allowing the host to wait for IPv6 only if it is expected to exist.
[Med] The host can “wait” without requiring the option. The key point is that an administrator sets “ipv6-mode” supported.

Which administrator?
[Med] The one you have in the draft:

   A DHCP client SHOULD allow a device administrator to configure
                              ^^^^^^^^^^^^^^^^^^^^^^
   IPv6-only preferred mode either for a specific interface (to indicate
   that the device is IPv6-only capable if connected to a NAT64 network
   via that interface) or for all interfaces.

Perhaps, I misunderstood the intent of the draft. If you are referring to the network administrator that is able to touch that parameter on hosts on the LAN, that administrator can also disable dhcpv4 for IPv6-capable devices (on specific interfaces/networks). We don’t have a problem them.

Otherwise, I don’t see how a device can set automatically “IPv6-only preferred mode”. Do you?