RE: [dhcwg] Order of occurence of DHCPv6 options

"Bernie Volz (EUD)" <Bernie.Volz@am1.ericsson.se> Mon, 17 June 2002 13:11 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 JAA00621 for <dhcwg-archive@odin.ietf.org>; Mon, 17 Jun 2002 09:11:25 -0400 (EDT)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id JAA13444 for dhcwg-archive@odin.ietf.org; Mon, 17 Jun 2002 09:12:01 -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 JAA12929; Mon, 17 Jun 2002 09:03:53 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id JAA12903 for <dhcwg@optimus.ietf.org>; Mon, 17 Jun 2002 09:03:50 -0400 (EDT)
Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA29989 for <dhcwg@ietf.org>; Mon, 17 Jun 2002 09:03:12 -0400 (EDT)
Received: from mr6.exu.ericsson.se (mr6u3.ericy.com [208.237.135.123]) by imr1.ericy.com (8.11.3/8.11.3) with ESMTP id g5HD3nl22926 for <dhcwg@ietf.org>; Mon, 17 Jun 2002 08:03:49 -0500 (CDT)
Received: from eamrcnt749 (eamrcnt749.exu.ericsson.se [138.85.133.47]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g5HD3nn14300 for <dhcwg@ietf.org>; Mon, 17 Jun 2002 08:03:49 -0500 (CDT)
Received: FROM eamrcnt760.exu.ericsson.se BY eamrcnt749 ; Mon Jun 17 08:03:48 2002 -0500
Received: by eamrcnt760.exu.ericsson.se with Internet Mail Service (5.5.2655.55) id <M6X2XA3H>; Mon, 17 Jun 2002 08:02:54 -0500
Message-ID: <66F66129A77AD411B76200508B65AC69B4D5DE@EAMBUNT705>
From: "Bernie Volz (EUD)" <Bernie.Volz@am1.ericsson.se>
To: "'vijayak@india.hp.com'" <vijayak@india.hp.com>, dhcwg@ietf.org
Subject: RE: [dhcwg] Order of occurence of DHCPv6 options
Date: Mon, 17 Jun 2002 08:03:46 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C215FF.6A7CE910"
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

Vijay:

The problem is how to mandate this in a reasonable way. We never know what future options will be defined and even you and I don't agree on the order of the options. And, servers and clients MUST NOT depend on this order (since new "more important" options might be defined in the future).

So, I think if anything we could give a general recommendation as to WHY certain options should be added earlier in a message. But that's as far as we can go, IMHO.

BTW, if you follow the rules for building the messages as documented, the server identifier and client identifier do appear early in the messages.

- Bernie

-----Original Message-----
From: Vijayabhaskar A K [mailto:vijayak@india.hp.com]
Sent: Monday, June 17, 2002 6:19 AM
To: 'Bernie Volz (EUD)'; dhcwg@ietf.org
Subject: RE: [dhcwg] Order of occurence of DHCPv6 options


Hi Bernie,

The requirement here is PERFORMANCE. Assume there are 1000 requests passing
through a server which are NOT intended to be handled by this server. This
will happen since most of the messages are Multicast only. This is not the
corner case situation as you said, this will happen in most of the cases.
There is nothing wrong in mandating this. This is something like specifying
these options in a fixed mesg header. The server/client will ignore the
remaining
option field, if there is any error in the mesg header.

All of the above, the relay should be lightweight, if the admin has
configured
the relay to load balance based on Elapsed time option and how bad the
performance will be if the relay has to search for this option by parsing
the whole message.

> the above might not even apply (for example, if a client or
> server always decodes all options to validate the packet,
> it won't save anything).

Then, this is a poor implementation. If the first option itself is
erraneous, (for ex. auth itself fails), then there is no need to
parse remaining stuff. We should leave these kind of implementation
as corner case and go on mandating options' order of occurence.

~ Vijay

-----Original Message-----
From: Bernie Volz (EUD) [mailto:Bernie.Volz@am1.ericsson.se]
Sent: Saturday, June 15, 2002 11:06 PM
To: 'vijayak@india.hp.com'; dhcwg@ietf.org
Subject: RE: [dhcwg] Order of occurence of DHCPv6 options


Vijay:
On the order of options, we chose specifically NOT to specify this. There
really is no
requirement or overwhelming reason to do this. Putting some options earlier
than others
improves performance in some situations so it will be wise for clients (and
servers) to
do this, but it is difficult to specify this and a client and server MUST
assume the
worst anyway.
For example, I'd argue that putting the Server Identifier option first (or
very early)
is best since it allows all servers that receive this (except for the
intended one) to
drop the packet almost immediately. Rather than having to look through 4
options, won't
it be better if these servers only had to look at 1 option (the first).
Though, having said that there is no reason to require this and depending on
how a client
or server processes packets, the above might not even apply (for example, if
a client or
server always decodes all options to validate the packet, it won't save
anything).
So, we specifically decided not to specify option ordering and I think that
is a wise
decision.


Regarding the other issues, some clean-up for the draft will be required to
remove and
fix items based on the final status codes/option usage.
- Bernie
-----Original Message-----
From: Vijayabhaskar A K [mailto:vijayak@india.hp.com]
Sent: Saturday, June 15, 2002 1:31 PM
To: dhcwg@ietf.org
Subject: [dhcwg] Order of occurence of DHCPv6 options


I think, we need to fix the order of options occuring in DHCPv6 messages
for better processing of the messages.
1. Elapsed Time option - Since based on this value only, the relay/server is
going to decide the policy of reply.
2. Status Code - In the case of Failure, this message can be directly
ignored
3. Authentication option - If authentication fails, nothing is needed to
be processed.
4. server-id - If the server id doesn't match, server can ignore it.
5. client-id - If the client id doesn't match, client can ignore it.
6. Rapid commit - Based on this, the server can determine whether it need
to send Advertise or Reply.


If any of these options are occuring, then they MUST occur in this order.
----------------------------------------------------------------------------
--
ConfNoMatch and AddrUnavail are nowhere used. It can be removed.
AuthFailed is also nowhere used. We need to add text saying if the
server/client is not able to authenticate the other, then they
should send reply with error code AuthFailed set.
----------------------------------------------------------------------------
--
R-forw.    *                        *     *      *      *
R-repl.    *                        *     *      *      *
Why Authentication, User class, Vendor class, Vendor specific options
are needed in Relay-fwd and Relay-reply message.
~Vijay


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