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

Tomek Mrugalski <tomasz.mrugalski@gmail.com> Tue, 10 December 2019 01:14 UTC

Return-Path: <tomasz.mrugalski@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 1932112002F; Mon, 9 Dec 2019 17:14:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham 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 47HhJxUdo-1x; Mon, 9 Dec 2019 17:14:49 -0800 (PST)
Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) (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 5A3C7120020; Mon, 9 Dec 2019 17:14:49 -0800 (PST)
Received: by mail-lf1-x143.google.com with SMTP id v201so12243051lfa.11; Mon, 09 Dec 2019 17:14:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=aNUfNL523SAAHsNe0oA+mh9yUEz1g9S8mN3eqWKwHMQ=; b=PEGiT8kXfEbWgmw0txxgLJtqkKCzD3pg207dpe9zIT0GcOQCUz9Dn2SjDZ5XdUpy0z ZKDh5vgzwDBuXSYw9v3bRpluxtjPrGULFWfVa1N0w5moUqMu8bWafGyEE4EcpmN5AxFJ D4SKgYzg8tTVbCWQJZO4jkE9caC2AvaOjXcOl93mj899mmwgU+cg+hYa0oQoK5Avjkx0 PN03Ci6e6Xnheq1MjPnWWwGNvGTr/eGfysSl3iCXNFioeX9FlV4O4pde/6hgiS+lRJ6T bhUlEplD3GuNsc0FAFWl6anukizVqyenhtATLzHLXsBUAd1mUOrj2ZzyU4XmfwlrUruv kWmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aNUfNL523SAAHsNe0oA+mh9yUEz1g9S8mN3eqWKwHMQ=; b=ZHjdSBkQbpZEXEcNvzIfbLMW0c9FCakAjSyit/kx0BF+GbDJIZCNo0SA5ajoHM16Vp 3FGjCfZ6xmT7jP277x6fBvR5kcCRRKURXnmgMJMZW+Na1Q/ZF8GcESiJqiZxHA5nR2jF 5wfQXP/5i+wYbpT/giQpSr5XZwTADpFHmYUJG0lciiG3RFIIIfLJfMRPhfewcsZhVnUl 8o+et+fnYzWb++REd2DxrI52xa+FQ2/oLRb8Hecy++hY+iT85srqpwI+UAFPgwV0ymw2 bJMHANjyDrmBegnMc7I+Hf3OP7FXiVLttuqPxagrH+STUFT2O30AbT3efuJ8ZWR2U4pD Nhiw==
X-Gm-Message-State: APjAAAVJEO+Un9sIRiRydqO/c0+Tr9wgBTYB03WPTUiC+5amKG2yEZEB Wf/yLBhJj47/Ho5yRDs+tv6EmdahlpMv5Q==
X-Google-Smtp-Source: APXvYqyzNqfTDKOR/jhnwstaoPxrKWkCDsO+xF+XQbCCfYV35zYQ8QF2xEaDvA4Smv+im1AM71BH2Q==
X-Received: by 2002:ac2:4476:: with SMTP id y22mr17368602lfl.169.1575940487371; Mon, 09 Dec 2019 17:14:47 -0800 (PST)
Received: from [192.168.1.100] (109241079151.gdansk.vectranet.pl. [109.241.79.151]) by smtp.gmail.com with ESMTPSA id i5sm766824ljj.29.2019.12.09.17.14.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Dec 2019 17:14:46 -0800 (PST)
To: Lorenzo Colitti <lorenzo@google.com>, Roy Marples <roy@marples.name>
Cc: Jen Linkova <furry13@gmail.com>, dhcwg@ietf.org, draft-link-dhc-v6only@ietf.org, V6 Ops List <v6ops@ietf.org>
References: <CAFU7BAR1JLUZps=CAqJfeQtUf-xQ88RYvgYrPCP+QP0Ter7YFg@mail.gmail.com> <da078a21-b606-f0d9-3833-d66b20410853@marples.name> <CAFU7BASdWZv1RTVa5v4thbKPqCrmG886G+hK2J0UoZ3TbELDnw@mail.gmail.com> <b52fdd35-9663-e7df-7303-748a6b3a57ce@marples.name> <CAKD1Yr0vp2gaVRza+wei0qM6T9oN=iu39jRjK-cvhheorgE=Xg@mail.gmail.com> <67155c63-2442-2846-57f2-82fa4da16251@marples.name> <CAKD1Yr3y9eycfenN-t9oU_zgPHEZPy-AVXs3qXkWOBe9UXxVUQ@mail.gmail.com>
From: Tomek Mrugalski <tomasz.mrugalski@gmail.com>
Message-ID: <bbfd45a3-bdd8-3892-0617-e8a73848746a@gmail.com>
Date: Tue, 10 Dec 2019 02:14:44 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1
MIME-Version: 1.0
In-Reply-To: <CAKD1Yr3y9eycfenN-t9oU_zgPHEZPy-AVXs3qXkWOBe9UXxVUQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/3qv5aYtKDX2wUmDl8qH-zFe-REo>
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: Tue, 10 Dec 2019 01:14:51 -0000

On 05.12.2019 04:48, Lorenzo Colitti wrote:
> Additionally, I would expect that a separate option would be simpler to implement on the server side. This is because the server can just continue to consider the lease time a property of the address pool, and treat this new option simply as a statically-configured option that is returned to clients iff they requested it in the PRL. If we use the same field for the lease timer and the V6ONLY_WAIT timer, then the server will need to change the lease timer in DHCPOFFER packets depending on whether the option was requested or not, and I would expect that to be more complex. +Tomek Mrugalski any thoughts on this?
>From the server perspective, a new option is much simpler. There's no question about it. Every DHCP server I know has the ability to define custom options, so deploying this should be a simple configuration change, no code change. Most servers offer reach policy mechanisms to govern sending options back that can be used to fine tune sending the option back (blacklist specific devices, list clients by MAC/client-id/whatever, do client classifications, etc.).

In the DHCP protocol, most burden of tracking various timers is on the client side. Server really needs to track lease expiration since there's no lease being assigned, there's no state to maintain here on the server side.(Ok, it's a bit of oversimplification.) This should scale really well.

Tomek