Re: [dhcwg] draft-ietf-dhc-dhcpv6-opt-nisconfig-05.txt

Harald Tveit Alvestrand <harald@alvestrand.no> Mon, 09 February 2004 16:49 UTC

Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA28034 for <dhcwg-archive@odin.ietf.org>; Mon, 9 Feb 2004 11:49:50 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AqEb4-00059R-MT for dhcwg-archive@odin.ietf.org; Mon, 09 Feb 2004 11:49:23 -0500
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i19GnMOx019790 for dhcwg-archive@odin.ietf.org; Mon, 9 Feb 2004 11:49:22 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AqEb4-000597-CJ for dhcwg-web-archive@optimus.ietf.org; Mon, 09 Feb 2004 11:49:22 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA28026 for <dhcwg-web-archive@ietf.org>; Mon, 9 Feb 2004 11:49:19 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AqEb3-0000jp-00 for dhcwg-web-archive@ietf.org; Mon, 09 Feb 2004 11:49:21 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1AqEaK-0000eH-00 for dhcwg-web-archive@ietf.org; Mon, 09 Feb 2004 11:48:37 -0500
Received: from [65.246.255.50] (helo=mx2.foretec.com) by ietf-mx with esmtp (Exim 4.12) id 1AqEZm-0000Xc-00 for dhcwg-web-archive@ietf.org; Mon, 09 Feb 2004 11:48:02 -0500
Received: from optimus.ietf.org ([132.151.1.19]) by mx2.foretec.com with esmtp (Exim 4.24) id 1AqEZn-0005td-R4 for dhcwg-web-archive@ietf.org; Mon, 09 Feb 2004 11:48:04 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AqEZk-00050u-7C; Mon, 09 Feb 2004 11:48:00 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AqEYx-0004zh-7U for dhcwg@optimus.ietf.org; Mon, 09 Feb 2004 11:47:11 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA27850 for <dhcwg@ietf.org>; Mon, 9 Feb 2004 11:47:08 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AqEYw-0000UK-00 for dhcwg@ietf.org; Mon, 09 Feb 2004 11:47:10 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1AqEY4-0000OY-00 for dhcwg@ietf.org; Mon, 09 Feb 2004 11:46:17 -0500
Received: from eikenes.alvestrand.no ([158.38.152.233]) by ietf-mx with esmtp (Exim 4.12) id 1AqEXE-0000DG-00 for dhcwg@ietf.org; Mon, 09 Feb 2004 11:45:24 -0500
Received: from halvestr-w2k1 (localhost.localdomain [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 4996D61B91; Mon, 9 Feb 2004 17:44:52 +0100 (CET)
Date: Mon, 09 Feb 2004 08:40:18 -0800
From: Harald Tveit Alvestrand <harald@alvestrand.no>
To: Ted Lemon <mellon@fugue.com>
Cc: dhcwg@ietf.org
Subject: Re: [dhcwg] draft-ietf-dhc-dhcpv6-opt-nisconfig-05.txt
Message-ID: <2427813621.1076316018@localhost>
X-Mailer: Mulberry/3.1.0 (Win32)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="==========D26A0850799FF06B2EEC=========="
Sender: dhcwg-admin@ietf.org
Errors-To: dhcwg-admin@ietf.org
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Id: <dhcwg.ietf.org>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60

Ted,

thinking about this some more....  I know that you have worked on this far 
longer than I have, and that the role I'm playing here of saying "the 
current solution is not reasonable" is not a very pleasant one.....

I think you have to do some basic decision-making first - first off, is 
this the Dynamic HOST Configuration Protocol or the Dynamic INTERFACE 
Configuration Protocol?
For a lot of parameters (such as address and netmask), it seems to be 
interface (or stack). But for many (such as NIS server and SNTP server), it 
is definitely host. And those are the ones for which we have the problem.

If I think of the problem of host configuration from the viewpoint of a 
network admin, what I want is to get a set of parameters from my 
configuration files into the running config of a host, without having to 
ask the user to do anything but connect. Having the possibility multiple 
overlapping and interacting configurations doesn't help my job, it 
complicates it.

So - viewing this as a HOST configuration problem, I think the problem 
reduces to getting multiple sets of configurations, via multiple 
interfaces/protocols, deciding on one and only one set to use for HOST 
configuration, and ignoring the rest.
This means that ONE set has to be able to contain ALL the parameters a 
sysadmin wants to set that has HOST scope.

Back to the v4/v6 case:
DHCPv4 is useful for IPv4-only hosts, of which we will still have a lot for 
a few (?) years.
For dual-stack hosts, of which we will hopefully have many soon, a single 
configuration mechanism that is able to set HOST parameters for both IPv4 
and IPv6-related data is required.
For IPv6-only hosts, of which we will hopefully have more than a few in the 
future, it should be easy to use the same mechanism by not setting the 
IPv4-related values.

So - what I'd think was a sensible thing to do:

- Mark each and every DHCPv6 configuration parameter with "Interface 
specific" or "Host specific".
- For "Host specific", make it easy for a host to figure out which set of 
parameters it uses, and let it stick to that set only. No mixing!
- Make sure that all "Host specific" parameters are able to specify values 
that make sense for both IPv4 and IPv6
- In all the instances I've seen so far, declare that if you need an IPv4 
address, put it in as an IPv4-mapped IPv6 address (::12.34.56.78) - no 
other changes needed.

and most difficult:

- declare WG consensus for all this while KRE still disagrees :-)

(I recognize that KRE has a logically coherent argument. I just happen to 
think that he's wrong. That's life!)

I may now have repeated a proposal that was suggested and rejected 3.5 
years ago - that's life too. But you asked......

                        Harald



--On 5. februar 2004 18:22 -0600 Ted Lemon <mellon@fugue.com> wrote:

> You are totally right.   This sucks.   The problem is that the
> alternative is even worse.   This isn't even strictly an IPv4/IPv6 issue
> - consider what happens when you have two network interfaces that are
> configured by two different servers in two different administrative
> domains!
>
> Unfortunately, we haven't been able to think of a way to specify how DHCP
> devices should deal with this problem.  It's easy to specify a scenario,
> and then say what should be done in that scenario, but it's hard to
> specify a set of rules that will work in all scenarios.
>
> Anyway, you have to support both protocols, because you might be on an
> IPv4-only or IPv6-only network, so even if we specified a way to
> configure your IPv4 stack with DHCPv6, you'd still have to implement a
> DHCPv4 client.   :'(
>
> It's possible that when we have some real-world experience with this, we
> might have enough information to make a stab at specifying a general
> solution to this problem, but I don't think we do right now, and if we
> tried, we'd wind up in ten-years-later land.
>
> If you have an idea for a general solution, we'd all like to hear it, by
> the way.   But please remember that we're not complete dummies, and try
> to think about six chess moves ahead rather than just stating an obvious,
> but wrong, idea, because we've probably already considered and discarded
> that idea.
>