RE: [dhcwg] Review of Service-Discovery-Type options in DHCP

Chris Pearson <chris.pearson@infocus.com> Wed, 17 July 2002 18:18 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA25628 for <dhcwg-archive@odin.ietf.org>; Wed, 17 Jul 2002 14:18:39 -0400 (EDT)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id OAA19638 for dhcwg-archive@odin.ietf.org; Wed, 17 Jul 2002 14:19:36 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA19480; Wed, 17 Jul 2002 14:14:37 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA19457 for <dhcwg@optimus.ietf.org>; Wed, 17 Jul 2002 14:14:35 -0400 (EDT)
Received: from manta.infocus.com (moray.infocus.com [209.84.97.254]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA25432 for <dhcwg@ietf.org>; Wed, 17 Jul 2002 14:13:37 -0400 (EDT)
Received: by manta.infocus.com (Postfix, from userid 5) id 7CD4F27A31; Wed, 17 Jul 2002 11:14:32 -0700 (PDT)
Received: from sonata.infocus.com(200.1.10.70), claiming to be "sonata.infocuscorp.com" via SMTP by manta.infocus.com, id smtpdAAA00G4i2; Wed Jul 17 11:14:31 2002
Received: by sonata with Internet Mail Service (5.5.2653.19) id <30ZG7YA3>; Wed, 17 Jul 2002 11:10:00 -0700
Message-ID: <EEBC1981C362D311AA230008C7E627BA07D8EB74@toccata>
From: Chris Pearson <chris.pearson@infocus.com>
To: 'Ted Lemon' <Ted.Lemon@nominum.com>
Cc: DHCP discussion list <dhcwg@ietf.org>, Stuart Cheshire <cheshire@apple.com>
Subject: RE: [dhcwg] Review of Service-Discovery-Type options in DHCP
Date: Wed, 17 Jul 2002 11:12:01 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: dhcwg-admin@ietf.org
Errors-To: dhcwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: <dhcwg.ietf.org>
X-BeenThere: dhcwg@ietf.org

Thanks for the corrections.  A few more comments.

> Every subsequent DHCPREQUEST is unicast

RFC2131 para. 3.2 shows DHCPREQUEST for address reuse being broadcast.  That
may just be the example chosen, but it's certainly misleading.

> every operating system out there except one puts the DHCP client at
> the application level, not in the stack, and indeed it's an
> application-layer protocol - it's layered on top of UDP.

Agreed.  However, I meant that DNS is an "application-level protocol" in the
sense that it is designed specifically to provide a service to applications
while DHCP primarily provides a service to the OS.

> the common DNS API ... is not a standard.

Of course not.  My point is simply that applications already interface with
DNS (minimally, gethostbyname), suggesting that DNS might be a more natural
choice to support application-driven service location requests.

Also, DNS dynamic update offers the potential to track low-frequency
changes in service availability -- how would DHCP support that?

-- CCP

-----Original Message-----
From: Ted Lemon [mailto:Ted.Lemon@nominum.com]
Sent: Tuesday, July 16, 2002 10:39 PM
To: Chris Pearson
Cc: DHCP discussion list; Stuart Cheshire
Subject: Re: [dhcwg] Review of Service-Discovery-Type options in DHCP


>      3. DHCP provides no mechanism for a client to request configuration
>         options without also requesting address lease renewal.  Lease
>         renewal would be a highly undesirable side-effect of service
>         discovery.

Not true.   DHCPv4 provides DHCPINFORM.   DHCPv6 provides Information 
Request.

>      4. Service discover is often initiated by applications (rather than
>         by the IP stack).  DNS is an application-level, request-response,
>         protocol

> 4a. that is supported by established APIs.

>  4b. DHCP, on the other
>         hand, is an integral part of the IP stack --

> 4c. DHCP implementations
>         that I know of don't provide an API.

You are actually making four points here.   I agree with (4), (4a) and (4b)
, but not (4c).   There is no reason not to have an API for DHCP, and there'
s no particular sense in which such an API would be more or less good than 
the common DNS API which, BTW, is not a standard.

My reason for disagreeing with (4c), btw, is that in fact every operating 
system out there except one puts the DHCP client at the application level,
  not in the stack, and indeed it's an application-layer protocol - it's 
layered on top of UDP.   Ironically, the one operating system where it's 
easy to use DHCPINFORM is the one where DHCP is in the stack, because a 
DHCPINFORM client can do a DHCPINFORM without running into the problem of 
competing with the userland DHCP client in binding to port 68.

>      5. DHCP client requests (DHCPREQUEST) must be subnet-broadcast and
>         perhaps relayed, while DNS queries are unicast.

Again, this is almost completely untrue.   The _only_ DHCPREQUEST that is 
ever broadcast is the first one, when the DHCP client has no IP address.   
Every subsequent DHCPREQUEST is unicast, unless something is wrong (e.g., 
the DHCP server hasn't responded to unicast renewals for a long time).

So I would say that the only substantive argument you've advanced is the 
lack of an API for DHCP, which I agree is a problem.

_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www1.ietf.org/mailman/listinfo/dhcwg