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

<mohamed.boucadair@orange.com> Thu, 05 December 2019 07:55 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 0C3411200F4; Wed, 4 Dec 2019 23:55:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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 STVN4iIZZThS; Wed, 4 Dec 2019 23:55:03 -0800 (PST)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.70.35]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B0A751200B3; Wed, 4 Dec 2019 23:55:02 -0800 (PST)
Received: from opfednr04.francetelecom.fr (unknown [xx.xx.xx.68]) by opfednr27.francetelecom.fr (ESMTP service) with ESMTP id 47T7Kw1N7kz4wJf; Thu, 5 Dec 2019 08:55:00 +0100 (CET)
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.45]) by opfednr04.francetelecom.fr (ESMTP service) with ESMTP id 47T7Kw0bxrz1xpp; Thu, 5 Dec 2019 08:55:00 +0100 (CET)
Received: from OPEXCAUBMA2.corporate.adroot.infra.ftgroup ([fe80::e878:bd0:c89e:5b42]) by OPEXCAUBM42.corporate.adroot.infra.ftgroup ([fe80::1c8e:403e:fbea:5835%21]) with mapi id 14.03.0468.000; Thu, 5 Dec 2019 08:54:59 +0100
From: mohamed.boucadair@orange.com
To: Jen Linkova <furry13@gmail.com>
CC: 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: AQHVquz/pq5GW9sfF0KRMvO8RARyP6erKaXw
Date: Thu, 05 Dec 2019 07:54:59 +0000
Message-ID: <787AE7BB302AE849A7480A190F8B9330313E41EE@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>
In-Reply-To: <CAFU7BARiwGZohd5d-hqUUpH5jzjFerbLGcOBVc+S9BC3OYMFcw@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: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/eApWQ6z8_fZ_b2_DjUWbg1Nn4xk>
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: Thu, 05 Dec 2019 07:55:05 -0000

Hi Jen, 

Please see inline. 

Cheers,
Med

> -----Message d'origine-----
> De : Jen Linkova [mailto:furry13@gmail.com]
> Envoyé : mercredi 4 décembre 2019 22:52
> À : BOUCADAIR Mohamed TGI/OLN
> Cc : Bjørn Mork; dhcwg@ietf.org; V6 Ops List; draft-link-dhc-
> v6only@ietf.org
> Objet : Re: [dhcwg] IPv6-Only Preferred DHCPv4 option
> 
> On Thu, Dec 5, 2019 at 12:56 AM <mohamed.boucadair@orange.com> wrote:
> > Blindly releasing the IPv4 address when an IPv6 connectivity is available
> is problematic because the host does not know if a NAT64 function is
> available for a given network attachment. A host that discovers the
> presence of NAT64 (because a pref64 was discovered) can safely release any
> assigned IPv4 address. No additional signal is needed in such case.
> 
> it would be no difference from what
> https://tools.ietf.org/html/draft-ietf-6man-ipv6only-flag was
> proposing. And as many of us know, that draft was not able to reach
> consensus, the main objection being 'we can not allow an IPv6 packet
> to turn off IPv4'.
> What dhc-v6only draft does is  allowing the DHCPv4 server to be
> configured in such way that  hosts can selectively turn off IPv4. No
> IPv6 traffic involved, everything operates over IPv4.
> 
> > Jen, do you have a case where you want to deploy IPv6-only host without
> announcing pref64 to that host?
> 
> I *am* deploying them right now, because pref64 draft is with IESG
> right now and many of my routers are not able to send out PREF64 RA
> option yet.

[Med] I think this design is suboptimal. 

Instead of requiring a PREFIX64 RA option (changes to hosts/routers) + DHCP option (changes to hosts/dhcp server) to solve your problem, you can achieve the same goal with one single DHCP option (PREF64) and without touching to the routers. 

> 
> I agree that in theory pref64 presence is a very good implicit signal
> for 'you don't really need IPv4'. However when a host connects to a
> network it does not know if pref64 is available when it starts DHCPv4
> process. So to use RAs as a signal you need to either delay DHCPv4 (==
> penalize v4-only and dual-stack networks) or do all those undesirable
> RELEASE tricks later.

[Med] The machinery will be almost the same as you are doing with your new option. You don't need to delay DHCPv4. The only difference is the signal on which to rely to make the decision.

NEW:
   The client MUST NOT configure the IPv4 address provided 
   in the DHCPOFFER if the client discovers a valid PREF64.
  

> I believe this is discussed in the Introduction and the Section 2 of
> the draft but I'll look into how to clarify the text.
> 
> > > -----Message d'origine-----
> > > De : dhcwg [mailto:dhcwg-bounces@ietf.org] De la part de Bjørn Mork
> > > Envoyé : mercredi 4 décembre 2019 14:31
> > > À : Jen Linkova
> > > Cc : dhcwg@ietf.org; V6 Ops List; draft-link-dhc-v6only@ietf.org
> > > Objet : Re: [dhcwg] IPv6-Only Preferred DHCPv4 option
> > >
> > > Jen Linkova <furry13@gmail.com> writes:
> > >
> > > > Hello,
> > > >
> > > > One of the biggest issue in deploying IPv6-only LANs is how to do it
> > > > incrementally, when some hosts work just fine in NAT64 environment
> > > > while some legacy devices still need IPv4. Doubling the number of
> > > > network segments (having an IPv6-only and dual-stack segments of each
> > > > type) is an operational nightmare. So it would be just awesome if all
> > > > devices can co-exist in the same network segment and hosts capable of
> > > > operating in IPv6-only environment do not consume IPv4 addresses.
> > > > So here is the draft proposing a new DHCPv4 option to help saving
> IPv4
> > > > addresses and deploying IPv4-as-a-service:
> > > >
> > > > Name:           draft-link-dhc-v6only
> > > > Revision:       00
> > > > Title:          IPv6-Only-Preferred Option for DHCP
> > > > Document date:  2019-12-04
> > > > Group:          Individual Submission
> > > > Pages:          9
> > > > URL:
> > > > https://www.ietf.org/internet-drafts/draft-link-dhc-v6only-00.txt
> > > > Status:         https://datatracker.ietf.org/doc/draft-link-dhc-
> v6only/
> > > > Htmlized:       https://tools.ietf.org/html/draft-link-dhc-v6only-00
> > > > Htmlized:       https://datatracker.ietf.org/doc/html/draft-link-dhc-
> > > v6only
> > > >
> > >
> > >   "While IPv6-only capable devices might use a
> > >    heuristic approach to learning if the network provdes IPv6-only
> > >    functionality and stop using IPv4 if it does, it might be
> practically
> > >    undesirable.  One important reason is that when a host connects to a
> > >    network, it does not know if the network is IPv4-only, dual-stack or
> > >    IPv6-only.  To ensure that the connectivity over whatever protocol
> is
> > >    present becomes available as soon as possible the host usually
> starts
> > >    configuring both IPv4 and IPv6 immidiately.  If hosts were to delay
> > >    requesting IPv4 until IPv6 reachability is confirmed, that would
> > >    would penalize IPv4-only and dual-stack networks, which does not
> seem
> > >    practical. "
> > >
> > >
> > > Why can't the client just release the IPv4 address when it finds it has
> > > IPv6 connectivity?  This would also avoid the problems you introduce
> > > when the network falsely claims IPv6 support.
> > >
> > >
> > >
> > > Bjørn
> > >
> > > _______________________________________________
> > > dhcwg mailing list
> > > dhcwg@ietf.org
> > > https://www.ietf.org/mailman/listinfo/dhcwg
> 
> 
> 
> --
> SY, Jen Linkova aka Furry