Re: [dhcwg] Changes to remove "client-link-local-address" from the DHCPv6 header

Ralph Droms <rdroms@cisco.com> Thu, 30 August 2001 15:00 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 LAA18953; Thu, 30 Aug 2001 11:00:12 -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 KAA29981; Thu, 30 Aug 2001 10:58:54 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id KAA29955 for <dhcwg@ns.ietf.org>; Thu, 30 Aug 2001 10:58:52 -0400 (EDT)
Received: from funnel.cisco.com (funnel.cisco.com [161.44.131.24]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA18899 for <dhcwg@ietf.org>; Thu, 30 Aug 2001 10:57:32 -0400 (EDT)
Received: from rdroms-w2k.cisco.com (dhcp-161-44-149-183.cisco.com [161.44.149.183]) by funnel.cisco.com (8.8.5-Cisco.1/8.6.5) with ESMTP id KAA15392 for <dhcwg@ietf.org>; Thu, 30 Aug 2001 10:58:22 -0400 (EDT)
Message-Id: <4.3.2.7.2.20010830104633.03d33f08@funnel.cisco.com>
X-Sender: rdroms@funnel.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Thu, 30 Aug 2001 10:58:18 -0400
To: dhcwg@ietf.org
From: Ralph Droms <rdroms@cisco.com>
Subject: Re: [dhcwg] Changes to remove "client-link-local-address" from the DHCPv6 header
In-Reply-To: <200108301436.f7UEaEl00456@grosse.bisbee.fugue.com>
References: <Message from Josh Littlefield <joshl@cisco.com> <3B8D50D9.D86E9BF7@cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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

At 10:36 AM 8/30/2001 -0400, Ted Lemon wrote:
>> I think the explicit specification of a relay-address is needed in cases
>> where either the relay has no global address on the proper interface (and
>> thus needs to indicate a prefix-only address, which should work just fine),
>> or where specifying the source address may complicate the packet's route out
>> of the relay (this is speculation).  If a relay must detect one of these
>> conditions, then it complicates the relay, or encourages relay authors to
>> opt for the safer solution and always use the option (in which case it isn't
>> optional in a practical sense).
>
>I think the DHCP server should be using the prefix that the relay
>reports when doing address assignments, not the IP address that the
>relay reports.   Maybe I'm missing something here - are we back to
>overloading these two functions?
>
>                               _MelloN_


Suppose the field name and definition are changed as in the figure below,
and:

* The server chooses an address for the client
  based on the link-prefix (details TBD; could
  use 0s to indicate prefix length or include
  explicit prefix length or ???)
* The server sends the Relay-reply message to 
  the source address in the IP header of the
  Relay-forward message
* The relay forwards the Reply message to the
  client on the link identified by the
  link-prefix

This proposal still overloads the identification of the link
on which the relay forward the Reply to the client with the
selection of an address for the client by the server.  We
could either add a separate field for specifying a prefix
for address selection or define an option (like the DHCPv4
subnet selection option).  I would be inclined to define
an option that might be used by either a client or a
relay (or both?). 

- Ralph

=====
9.1. Relay-forward message

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |    msg-type   |                                               |
     +-+-+-+-+-+-+-+-+                                               |
     |                          link-prefix                          |
     |                                                               |
     |                                                               |
     |               |-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|
     +-+-+-+-+-+-+-+-+                                               |
     |                                                               |
     |                     client-return-address                     |
     |                                                               |
     |               |-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|
     +-+-+-+-+-+-+-+-+                                               |
     .                                                               .
     .            options (variable number and length)   ....        .
     |                                                               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


      msg-type                    RELAY-FORW

      link-prefix                 A prefix assigned to the link from
                                  which the client message was received.

      client-return-address       The source address from the IP
                                  datagram in which the message from the
                                  client was received by the relay agent

      options                     MUST include a "Client message
                                  option"; see section 18.7.





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