Re: [dhcwg] RFC4388: Revision or new option needed?

Niall O'Reilly <Niall.oReilly+IETF@ucd.ie> Thu, 03 June 2010 13:48 UTC

Return-Path: <Niall.oReilly+IETF@ucd.ie>
X-Original-To: dhcwg@core3.amsl.com
Delivered-To: dhcwg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ED37C28C16D for <dhcwg@core3.amsl.com>; Thu, 3 Jun 2010 06:48:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.792
X-Spam-Level:
X-Spam-Status: No, score=-3.792 tagged_above=-999 required=5 tests=[AWL=0.393, BAYES_40=-0.185, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IXkj072Y-rjs for <dhcwg@core3.amsl.com>; Thu, 3 Jun 2010 06:48:31 -0700 (PDT)
Received: from cali.ucd.ie (mail.ucd.ie [193.1.169.37]) by core3.amsl.com (Postfix) with ESMTP id 8B58528C164 for <dhcwg@ietf.org>; Thu, 3 Jun 2010 06:48:31 -0700 (PDT)
Received: from conversion-daemon.cali.ucd.ie by cali.ucd.ie (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) id <0L3F00801YBGVP00@cali.ucd.ie> (original mail from Niall.oReilly+IETF@ucd.ie) for dhcwg@ietf.org; Thu, 03 Jun 2010 14:48:17 +0100 (IST)
Received: from [137.43.64.131] (dhcp-892b4083.ucd.ie [137.43.64.131]) by cali.ucd.ie (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTPSA id <0L3F00FFZYCGF010@cali.ucd.ie> for dhcwg@ietf.org; Thu, 03 Jun 2010 14:48:16 +0100 (IST)
Date: Thu, 03 Jun 2010 14:48:16 +0100
From: Niall O'Reilly <Niall.oReilly+IETF@ucd.ie>
In-reply-to: <AANLkTinFKJiLKGMZJ1TCcGXhCmBXgp9GUvGVaSqi98vu@mail.gmail.com>
To: DHC-WG WG <dhcwg@ietf.org>
Message-id: <4C07B2A0.30509@ucd.ie>
MIME-version: 1.0
Content-type: text/plain; format="flowed"; charset="ISO-8859-1"
Content-transfer-encoding: 7bit
References: <4C07899B.50108@ucd.ie> <AANLkTinFKJiLKGMZJ1TCcGXhCmBXgp9GUvGVaSqi98vu@mail.gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4
Subject: Re: [dhcwg] RFC4388: Revision or new option needed?
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Thu, 03 Jun 2010 13:48:35 -0000

On 03/06/10 13:00, Pavan Kurapati wrote:
> It may sound strange as to why an application running on DHCP server would
> need a leasequery mechanism to retrieve the lease data. Couldnt it retrieve
> just from the lease database?

	Not without reading the entire lease database from disk
	and parsing it all each time lease information is needed.
	Caching and high-watermark checking could mitigate this.

	The DHCP server already has this data in memory, and can
	return it 'instantly'.

> Are you going to suggest removing the constraint of adding 'giaddr' in
> leasequery message (Thus indicating there was no relay agent in between)? If
> so, the same condition applies when L2RAs are used and is mentioned in
> draft-ietf-dhc-l2ra-extensions which also covers leasequery.

	Thanks for that pointer.

	From a quick look, this mode (broadcast, source 0.0.0.0,
	destination 255.255.255.255) doesn't seem to be useful
	for my case.  I may need to read it again, more carefully.
	I need unicast, and possibly a number of routing hops
	greater than zero.

	I wasn't thinking of removing the constraint on how 'giaddr'
	is used in the query.

	What I had in mind was that, in sending its response to a
	DHCPLEASEQUERY request, the server should be required to be
	able to respect the UDP encapsulation, whether as standard
	behaviour, under control of a configuration option, or
	triggered by signalling using a new DHCP option (perhaps
	named 'lq-strict-layering').


	Best regards,
	Niall O'Reilly