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

Mark Smith <markzzzsmith@gmail.com> Mon, 09 December 2019 07:31 UTC

Return-Path: <markzzzsmith@gmail.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 7190212010C; Sun, 8 Dec 2019 23:31:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.744
X-Spam-Level:
X-Spam-Status: No, score=0.744 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, HK_RANDOM_FROM=0.999, HTML_MESSAGE=0.001, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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 DCaJA1jvLO9R; Sun, 8 Dec 2019 23:31:41 -0800 (PST)
Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (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 1B118120033; Sun, 8 Dec 2019 23:31:41 -0800 (PST)
Received: by mail-ot1-x32a.google.com with SMTP id h20so11354007otn.5; Sun, 08 Dec 2019 23:31:41 -0800 (PST)
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=sHRGVrbw+sbrY3QxbKVz6JsYAO2i2PDpSzzya5ue4xE=; b=aYdywBG4xc84j9YGZukRly+ArB8FVOb4s3BEdhCqyMdYBZuPpLFSDZJaK09HUtsrFu VGq2LjrfkvDLVfRJqTaFKG4Gno1L+5P3XxXmigAJ//s6bMo/n/6KVMBWatxuJsfzZplx bHZbwSysX/Hm62Qp808bafS5XZgj2TIrT4xN7PhuooO/exP0xKXfniPDiLvDMOIM70Hg 09VkEY4U27lp4VUgEotD/eLMaUPnrLbcU0hSypn8To6oOckoSyAuLrGL8AGw+pjjfsss 0g1wnq5t9pLAnad+LS5nV9lvrWU++L1Uen1+YYsfTLJ6Yo7KFwC16cdPfRI74d0MDKBr dX4A==
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=sHRGVrbw+sbrY3QxbKVz6JsYAO2i2PDpSzzya5ue4xE=; b=sidM+mqGzbVn74MfldVSsEhQw9MWHrWaiF3LNO8MArnShSIaywZqJz3zL3nSmXAa6U 2YddFBsGnWLhJRuBDqMMlIH7PkAYoN62f1Y2MZg99fPdpxhui+ZfmVnDR8a2l5D7cpIq 2U9j5g8RklN/DUE6DgP+Z5ANHd3EgTP2Y3v6PbL/lSmuW7bHe3ecdMvurLqbndX2mEpM tdPNl5JXRngEdpJTKFPHlX1DdQD/9DEAsakhOmT8R5OkdzGvqBKd4xBK9pPjTLcLUiO2 78JV+7xC/awVyqTf8KuToZQz/LdULqDZpDB0rnJ8slLy78P/ibF6COLtsbjnc7VTqw6L exow==
X-Gm-Message-State: APjAAAX997zRAFp1Lacp4RGC432UWNJJd0TEPdR2dz4sQacNX3d35HC0 VtUypUtLs3onnVRNtFnWEiSBulWDfl/wuvh3RLo=
X-Google-Smtp-Source: APXvYqx9/li0y+xAL22QLRAYPzcsxPQ08pNZC49ig1384mSBuyRaX6hP/bGXAuYV59nFtdLQa/+Y6cj0B+X31q3pgB0=
X-Received: by 2002:a9d:6005:: with SMTP id h5mr21670524otj.153.1575876700428; Sun, 08 Dec 2019 23:31:40 -0800 (PST)
MIME-Version: 1.0
References: <CAFU7BAR1JLUZps=CAqJfeQtUf-xQ88RYvgYrPCP+QP0Ter7YFg@mail.gmail.com> <E03BBE6C-3BED-4D49-8F79-0A1B313EFD9D@apple.com> <28594.1575483729@localhost> <CAFU7BAQp2-4EwntFj6Nx+be54-fi+gnQmRgT6yS22p=vYugpzA@mail.gmail.com> <CAN-Dau1L_hdRMiGApa7VKuZ0_f5q1NJ-5sHMeg-dtTWa=Tq6bQ@mail.gmail.com> <CAFU7BAS9iMBWkdQF_hwK7squvG9A5f38miS=sWLNns=ZxK4GCg@mail.gmail.com> <CAN-Dau3WswixgY=B9dPwL-hTtxsjm-X-sJ6iXMtpifUAHF12DQ@mail.gmail.com> <CAFU7BASYFEcUgJZUvxi+m4s_GELUQV-2C=UaJ35pBz+zpG1XzA@mail.gmail.com> <CAKD1Yr3OjCsMNM+P2tt9EPrkXDhP+yMptKg-AG3OA1KNbsrqhQ@mail.gmail.com> <DM6PR11MB4137A537075D4D90732F7EB4CF5F0@DM6PR11MB4137.namprd11.prod.outlook.com> <CAFU7BAQXZ40t6w+6WLfqww8wG2Wkke2JGM4P=YnX1HiHAjWksQ@mail.gmail.com> <CAKD1Yr0R70H=_x3UqtmNWDqWFZLrOEmzFZaJPH7QLLE30XxF4Q@mail.gmail.com>
In-Reply-To: <CAKD1Yr0R70H=_x3UqtmNWDqWFZLrOEmzFZaJPH7QLLE30XxF4Q@mail.gmail.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Mon, 09 Dec 2019 18:31:29 +1100
Message-ID: <CAO42Z2xz1YUZeO5LHXZJF=b7G9jfS9r+T5C==fSLtcnfJwOe7w@mail.gmail.com>
To: Lorenzo Colitti <lorenzo=40google.com@dmarc.ietf.org>
Cc: Jen Linkova <furry13@gmail.com>, v6ops list <v6ops@ietf.org>, "draft-link-dhc-v6only@ietf.org" <draft-link-dhc-v6only@ietf.org>, Michael Richardson <mcr+ietf@sandelman.ca>, "dhcwg@ietf.org" <dhcwg@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f05df105994062fe"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/T3j7f2_G-eFKajQHpBgHeBAb5tw>
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: Mon, 09 Dec 2019 07:31:43 -0000

On Mon, 9 Dec 2019, 17:03 Lorenzo Colitti, <lorenzo=
40google.com@dmarc.ietf.org> wrote:

> On Mon, Dec 9, 2019 at 9:54 AM Jen Linkova <furry13@gmail.com> wrote:
>
>> I'm fine with it. I'll remove the reference to a dedicated address to
>> return.
>> So just to summarise the discussion: we have a number of options on the
>> table:
>> a) let server just return *an* address from the pool, assuming that as
>> the host would not accept the offer anyway, the address will be made
>> available again soon;
>>    pros:
>>       --- no changes on the server side;
>>       --- it would look normal to smart middle boxes
>>    cons:
>>       --- might lead to higher pool utilisation
>> b) return some bogus address (0.0.0.0 or smth else)
>>     pros:
>>        --- client would not be able to assign it (hmm..theoretically)
>>       --- optimized pool usage
>>    cons:
>>       --- requires changes on the server
>>       --- might trigger unexpected behaviour on smart middle boxes
>> (==> slowing down the adoption)
>>
>> c) do not offer anything, do smth esle instead (what exactly?)
>>
>> After writing it down like that I do agree that we shall probably choose
>> a) ;)
>>
>
> I would change b) "return 0.0.0.0" and add:
>


A possible idea related to this:

- issue a unique IPv4 link local addresses i.e. from within 169.254.0.0/16

- specify a subnet mask for the address of 255.255.255.255

- don't provide a default router


It is legitimate to reuse 169.254.0.0/16 on many different links.

A subnet mask of 255.255.255.255 says to the host that all destinations are
reachable via the default router, and that there are no reachable
destinations directly on the link.

However, as there is no default router to forward to, the host itself would
generate a destination unreachable message and give it to the sending
application.

(A multi-homed host is likely to have a default route out one of its other
interfaces. Source address selection should choose that other interface's
IPv4 address rather than the 169.254.0.0/16 address. The 169.254.0.0/16
interface wouldn't be used.)


Regards,
Mark.







> d) configure a specific address from the pool for all IPv6-only-capable
> clients
>     pros:
>        --- most efficiently preserves IPv4 addresses. Always works even if
> all clients ask for an address at the same time.
>    cons:
>       --- requires changes on the server
>       --- client cannot actually get the address, so if it sends a
> request, things won't go well.
>
> In that sense I think b) is a non-starter, and I don't think c) is
> feasible either: we do need to return something to the client, otherwise it
> can't know that IPv6-only will work, and I don't think there's anything
> other than OFFER that the server respond with (I don't think NAK is
> typically sent in response to DISCOVER).
>
> So I think we're down to a) offer a regular address from the pool, and d)
> offer a bogus address. The draft attempts to do both right now. I wonder if
> we could leave d) in the text, but make it clear that it's just a possible
> optimization?
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops
>