RE: [dhcwg] Order of occurence of DHCPv6 options

"Bernie Volz (EUD)" <Bernie.Volz@am1.ericsson.se> Sat, 15 June 2002 17:38 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 NAA12747 for <dhcwg-archive@odin.ietf.org>; Sat, 15 Jun 2002 13:38:17 -0400 (EDT)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id NAA28098 for dhcwg-archive@odin.ietf.org; Sat, 15 Jun 2002 13:38:53 -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 NAA27989; Sat, 15 Jun 2002 13:36:06 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id NAA27965 for <dhcwg@optimus.ietf.org>; Sat, 15 Jun 2002 13:36:04 -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 NAA12679 for <dhcwg@ietf.org>; Sat, 15 Jun 2002 13:35:28 -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 g5FHa3l02411 for <dhcwg@ietf.org>; Sat, 15 Jun 2002 12:36:03 -0500 (CDT)
Received: from eamrcnt747.exu.ericsson.se (eamrcnt747.exu.ericsson.se [138.85.133.37]) by mr6.exu.ericsson.se (8.11.3/8.11.3) with SMTP id g5FHa3917666 for <dhcwg@ietf.org>; Sat, 15 Jun 2002 12:36:03 -0500 (CDT)
Received: FROM eamrcnt760.exu.ericsson.se BY eamrcnt747.exu.ericsson.se ; Sat Jun 15 12:36:02 2002 -0500
Received: by eamrcnt760.exu.ericsson.se with Internet Mail Service (5.5.2655.55) id <M6X2V9LH>; Sat, 15 Jun 2002 12:35:10 -0500
Message-ID: <66F66129A77AD411B76200508B65AC69B4D5D6@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: Sat, 15 Jun 2002 12:36:01 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C21493.1DBBF340"
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:

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