Re: [dhcwg] [homenet] What to do when we lose DHCPv4 election?

Michael Richardson <mcr+ietf@sandelman.ca> Mon, 17 August 2015 03:33 UTC

Return-Path: <mcr@sandelman.ca>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1CB6D1B2AE1; Sun, 16 Aug 2015 20:33:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 xKeCEWxb5l9Q; Sun, 16 Aug 2015 20:33:04 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 939CA1B2AE0; Sun, 16 Aug 2015 20:33:04 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 2666F2016A; Sun, 16 Aug 2015 23:51:16 -0400 (EDT)
Received: by sandelman.ca (Postfix, from userid 179) id 3F04C63B18; Sun, 16 Aug 2015 21:05:03 -0400 (EDT)
Received: from sandelman.ca (localhost [127.0.0.1]) by sandelman.ca (Postfix) with ESMTP id 2E40263AE8; Sun, 16 Aug 2015 21:05:03 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
In-Reply-To: <87pp2oioik.wl-jch@pps.univ-paris-diderot.fr>
References: <87pp2oioik.wl-jch@pps.univ-paris-diderot.fr>
X-Mailer: MH-E 8.6; nmh 1.3-dev; GNU Emacs 24.4.2
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha1"; protocol="application/pgp-signature"
Date: Sun, 16 Aug 2015 21:05:03 -0400
Message-ID: <26135.1439773503@sandelman.ca>
Sender: mcr@sandelman.ca
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/zDAOQh9a43d-Yn9Wldi_lNJOHZk>
Cc: dhcwg <dhcwg@ietf.org>, Homenet <homenet@ietf.org>
Subject: Re: [dhcwg] [homenet] What to do when we lose DHCPv4 election?
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Aug 2015 03:33:06 -0000

Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr> wrote:
    > When a Homenet router was previously acting as DHCPv4 server for a link,
    > and subsequently loses an election, should it:

    > 1. remain silent;
    > 2. remain silent in response to DHCPDISCOVER, but NAK any DHCPREQUEST; or
    > 3. NAK both DHCPDISCOVER and DHCPREQUEST?

I think that #2 is probably correct, but I have two questions.

1) do Homenet-aware DHCPv4 servers pick the same rfc1918 address spaces to
   give out?

2) if a DHCPv4 server previously had given out leases, and the lease is still
   valid, then I think that it ought to ACK a DHCP renew.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-