Re: [v6ops] IPv6-Only Preferred DHCPv4 option

"Bernie Volz (volz)" <volz@cisco.com> Fri, 06 December 2019 22:07 UTC

Return-Path: <volz@cisco.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 ED0EC1200CC; Fri, 6 Dec 2019 14:07:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=QZfMKzc9; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=SFDHYk8i
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 IDnEdYAhvko8; Fri, 6 Dec 2019 14:07:42 -0800 (PST)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2BA0912006B; Fri, 6 Dec 2019 14:07:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5916; q=dns/txt; s=iport; t=1575670062; x=1576879662; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Ib0ikubzsqQjhk4jAX5Q2YFfpmy/ZAwU8wOm280OyxQ=; b=QZfMKzc919v6y6l6j2DepK6XU9kT8/ymQEQy2UxEofXiRMyqqG5eEQTA ENZbZgoKSXifOHUwTw6lREuOceb0y2tLFys5SRt+y/uuj32d5SFoz0f1y ubPN8b3Bzc+NJgAVtmlxiLKBDHOgG9pxUr0EKBcRtipRD87wSl5bnZe2e 0=;
IronPort-PHdr: 9a23:h11qABIAKDh+hQM4jtmcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeCuKd2lFGcW4Ld5roEkOfQv636EU04qZea+DFKa5lQT1kAgMQSkRYnBZubDknpBPXrdCc9Ws9FUQwt8g==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B0AQBX0Opd/4wNJK1lHAEBAQEBBwEBEQEEBAEBgW0EAQELAYFKUAVsWCAECyoKhCKDRgOLAIJfgQGIWo4qglIDVAkBAQEMAQEYCwoCAQGEQAIXgX4kNwYOAgMNAQEEAQEBAgEFBG2FNwyFUgEBAQECAQEBEBERDAEBLAsBBAcEAgEIDgMEAQEDAiYCAgIfBgsVCAgCBAENBQgTB4MBgkYDDiABAgyhVQKBOIhhdYEygn4BAQWBNQGDUw0LghcDBoEOKAGMFxqCAIERR4IXNT6CG0kBAYFNGIMOMoIsjWuCPJ1xQwqCLpFHhDmaMY5KilqPUAIEAgQFAg4BAQWBaCOBWHAVO4JsUBEUjGaDc4UUhT90gSiMQAGBDwEB
X-IronPort-AV: E=Sophos;i="5.69,286,1571702400"; d="scan'208";a="671948132"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 06 Dec 2019 22:07:41 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by alln-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id xB6M7fGA005327 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 6 Dec 2019 22:07:41 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 6 Dec 2019 16:07:40 -0600
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 6 Dec 2019 17:07:39 -0500
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 6 Dec 2019 17:07:39 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=crRtOCQSaiPsjEZDM+JvJSedScFtQ/7MD1F36v1WOdJn19vpAzyhRwzEXIXy73gqp82O9JFv6f8JGBF6Sw9B6VQRTBUBEW4DNuGG3iFM7OXsvNndF3ud5vQNUjF/AZ31nVCZSnvug38re8BSfIIapoRjop+lIBSAPOMnyWfSrBSZIp4jW5fkyHpVycw5yM1CzHFA4Xf0I8W9Ldb0x3eyZbVUkXsYXUi99ca5Q+dQnHu6fVpSUB5ta140R/IDtM86U3JMK5PZYboir59z+zz43Icyf5Ki8S9i89dAVBHey6V9lvCSRyIpGkjGW1l84VC1Gx+L81GA77JNKmLO7HSUwg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ib0ikubzsqQjhk4jAX5Q2YFfpmy/ZAwU8wOm280OyxQ=; b=M8bfDv+325IcNVuyoXRmkpiZlMTx5USOK37Zxls1bGSOqYPkBpGlPcthJRHcISyrpLQUnQ4av7sMhBNFNgtky0O7QlVT6IR+7MEKKiGCIt0sGQoAEhZTE+P4nFKFB/qv1av5zK2/Wnk8b1UQESNK3lsvpUmYeJJQUwE0AET8ABYzAsWB/LRX5Er/F/8IQcvVNA6y8vUykpkrOTvPZxR93nYDkVIRog95JzjeAPhhDyWCtnM3RU8FCDMU+CjmVTfFiSc2mliJcS45mbS09wNtZN1UrVHTscfLO7HPSC0QKNbsjg6BDqWo6b5dWyazxhAuQlldowX5foxvJodX34z/jQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ib0ikubzsqQjhk4jAX5Q2YFfpmy/ZAwU8wOm280OyxQ=; b=SFDHYk8iCt09Ia2tyhvSymrVwMHi8h6AQo4rwKcTuzwKK0n3x2U1Bozsl3m8yWfM3b/sHPg4kF5fXNL6ev9viOvTYqvgObTU49JKt/7I1F86Ord/4ws2tnI4yYvPJehA8I2iUgr+Gz0F+0TlDmYx/CNhHBKgDTXhurW1wJD/2vQ=
Received: from DM6PR11MB4137.namprd11.prod.outlook.com (20.176.126.158) by DM6PR11MB2956.namprd11.prod.outlook.com (20.177.217.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Fri, 6 Dec 2019 22:07:38 +0000
Received: from DM6PR11MB4137.namprd11.prod.outlook.com ([fe80::4194:dade:1d47:2678]) by DM6PR11MB4137.namprd11.prod.outlook.com ([fe80::4194:dade:1d47:2678%6]) with mapi id 15.20.2516.017; Fri, 6 Dec 2019 22:07:38 +0000
From: "Bernie Volz (volz)" <volz@cisco.com>
To: Simon Hobson <linux@thehobsons.co.uk>, "v6ops@ietf.org" <v6ops@ietf.org>, Ted Lemon <mellon@fugue.com>
CC: "dhcwg@ietf.org" <dhcwg@ietf.org>
Thread-Topic: [v6ops] IPv6-Only Preferred DHCPv4 option
Thread-Index: AQHVrEHbgQve9DKh2EKQEqgwr7Y10qetK3KQgAAZCACAAAlaAIAAJwCAgAAupoCAAAGt4A==
Date: Fri, 06 Dec 2019 22:07:38 +0000
Message-ID: <DM6PR11MB4137A4064230FB3D2C686E35CF5F0@DM6PR11MB4137.namprd11.prod.outlook.com>
References: <CAKD1Yr2Vo4Q+q=kAhAcr4F2Xn6u3uMNRWZ+AHBo4jw7VVoPxXg@mail.gmail.com> <1D60C687-E163-4C66-874C-1349F7219740@fugue.com> <DC72CE4D-157E-4129-8AD5-E72E318035E9@thehobsons.co.uk>
In-Reply-To: <DC72CE4D-157E-4129-8AD5-E72E318035E9@thehobsons.co.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=volz@cisco.com;
x-originating-ip: [173.38.117.78]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b94d8878-43b0-4e3e-7bc5-08d77a98b4ee
x-ms-traffictypediagnostic: DM6PR11MB2956:
x-microsoft-antispam-prvs: <DM6PR11MB2956967837F6D46D6127D836CF5F0@DM6PR11MB2956.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0243E5FD68
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(396003)(136003)(366004)(376002)(13464003)(199004)(189003)(55016002)(9686003)(229853002)(966005)(186003)(26005)(102836004)(478600001)(53546011)(76176011)(6506007)(2906002)(81166006)(8676002)(8936002)(33656002)(305945005)(7696005)(71200400001)(74316002)(81156014)(71190400001)(76116006)(64756008)(4326008)(52536014)(66446008)(66946007)(66476007)(316002)(66556008)(99286004)(86362001)(5660300002)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB2956; H:DM6PR11MB4137.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 9vsvT31aQLtijzqyGsHcUgIM1YVJYCXTAteEu0VD7G6+O5TeabJjULJKNY/Ka2geFh0BnyhXR0jaTv5+CtKcHCcTU87r9bwOvRDIwAPxL8G4IrafDxD5gCNMf2YInIPLOQ2o6LqTLFCw+mD5uhGLZbGfeaEL4zvddpOXlGIPzVmFZjsR+YWfBfp1eSfz80N6qtHzrvstAq1PfbZhZqLRpI6VBc96ezG+fFk3L1t8KBA0gTF/izU3VEZLGbM/G3yVw6xV8njiLWWyK4zDevRIZ1N3tQBsne63c/8ZAXTi/Fr92VsJhMcmjHH3Ra/EK8XucSCC8NFhrM/PKO6UO2QCSegSsErcyi1kpy1j7LRZ3JzEDWxZJwWaESCK+h0VyZXnOn+ZR3oKmCRuKskQ5sc5bQS+oF/YJNt8KS45DLHXNi/LXdZNmOaz34Uxd6q9N6MxatBaM8NKuVrnZlLCxNCL0vpjIicYzSK6hK57hiiHIhnTpYFyHWSCTzOn1uoR6Et3R57HQJuMfe3A7/qF6cGRwU0Ua6BukL+UMKIpaKnrddE=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: b94d8878-43b0-4e3e-7bc5-08d77a98b4ee
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2019 22:07:38.3811 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: liwmm4CRLisn5xXJ2HDTpzwgsWV7tSt2zSk+hI7qH+HhDm4paOKjaOnJiOhSkHJL
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2956
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.15, xch-rcd-005.cisco.com
X-Outbound-Node: alln-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/HquiBobtLjBYgwPgT5htEtk-XYU>
Subject: Re: [v6ops] 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 22:07:44 -0000

I fully agree (no server changes, minimum investment for DHCPv4).

So where are these proposed changes to be done anyway?

In terms of adding new options, this happens by IETF/IANA all of the time and most servers, while they may ship with a pre-configure set, support defining new options and configuring instances of these options. And, servers already have the logic to return a configured option if the client sends that option in its Parameter Request List option.

And, in terms of the DHCPDISCOVER never transitioning to a DHCPREQUEST, what here needs changing? RFC2131 is clear that there are no issues with this as section 4.3.2 states:

         ... Because
      the servers have not committed any network address assignments on
      the basis of a DHCPOFFER, servers are free to reuse offered
      network addresses in response to subsequent requests.  As an
      implementation detail, servers SHOULD NOT reuse offered addresses
      and may use an implementation-specific timeout mechanism to decide
      when to reuse an offered address.

Section 3.1 also has:

                 ... Servers need not
      reserve the offered network address, although the protocol will
      work more efficiently if the server avoids allocating the offered
      network address to another client.

(In the server I work on, we took that avoids to mean within a reasonably short time period - by default 2 minutes though configurable.)

Is it the potential probing of an address before offering it? Is so, what's the harm? (And RFC2131 recommends this be configurable as to whether it happens.)

Sure, there are things you might do to optimize (such as what was mentioned in the draft), but I don't see that being necessary at all for this deployment. And, in some cases (such as if the client where to have changed its mind between the DHCPDISCOVER and when DHCPOFFER is returned, perhaps it is a bad thing - since you never really want to lease that address and this would require additional special logic). After the discussions, I just can't see this optimization being worth it since if all addresses are in use, the client just ends up sending DHCPDISCOVERs (which server drops if it cannot assign a lease). But other than wasting some packets and time before DHCPv4 is disabled, there's no harm.


-----Original Message-----
From: v6ops <v6ops-bounces@ietf.org> On Behalf Of Simon Hobson
Sent: Friday, December 6, 2019 4:42 PM
To: v6ops@ietf.org
Subject: Re: [v6ops] IPv6-Only Preferred DHCPv4 option

Mark Smith <markzzzsmith@gmail.com> wrote:

> - IPv6 only applications clearly indicate they're IPv6 only, by only 
> opening IPv6 sockets.

I think "IPv6 only" applications are a rare thing, and will remain so for a long time. Applications that can use IPv4 or IPv6, and which can work fine in IPv6 if IPv4 isn't available, are likely to be the norm for some time.

For an application to signal such compatibility modes to the OS would need substantial changes to the interaction model between application and OS. In the general case, that's just not going to happen.



> Ted Lemon <mellon@fugue.com> wrote:

> Lorenzo, it might help for you to make explicit why you do not want to require changes on the server. This seems like a short sicher choice for a solution that’s going to be deployed for a long time. Why not do it right given we’re going to have to live with it for decades?

As previously described in terms of identifying bugs in intermediate equipment, raising bug reports, persuading the vendor (if they are still around and the kit is still in support) to fix it, and then rolling out the fix ...
Why require changes in DHCP servers when it can be done without any code changes at all ?

Perhaps define the option such that DHCP server vendors can, if they so desire, code in some optimisations - but I would say that allowing it to work without code changes would be much better.

There is one thought that comes to mind ... In effect, where this option is deployed, then (native) IPv4 is considered a legacy protocol that's being deprecated - why invest more effort than needed in supporting it.

_______________________________________________
v6ops mailing list
v6ops@ietf.org
https://www.ietf.org/mailman/listinfo/v6ops