RE: [dhcwg] Sending SOLICIT/CONFIRM/REBIND messages to a relay-agentunicast address

"Templin, Fred L" <Fred.L.Templin@boeing.com> Wed, 14 June 2006 22:59 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FqeKC-0007aX-P9; Wed, 14 Jun 2006 18:59:00 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FqeKB-0007Zy-7S for dhcwg@ietf.org; Wed, 14 Jun 2006 18:58:59 -0400
Received: from stl-smtpout-01.boeing.com ([130.76.96.56] helo=stl-smtpout-01.ns.cs.boeing.com) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FqeK9-0007P8-SE for dhcwg@ietf.org; Wed, 14 Jun 2006 18:58:59 -0400
Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6]) by stl-smtpout-01.ns.cs.boeing.com (8.13.6/8.13.6/TEST_SMTPIN) with ESMTP id k5EMwv4O003761 for <dhcwg@ietf.org>; Wed, 14 Jun 2006 17:58:57 -0500 (CDT)
Received: from XCH-NWBH-11.nw.nos.boeing.com (localhost [127.0.0.1]) by stl-av-01.boeing.com (8.11.3/8.11.3/MBS-AV-LDAP-01) with ESMTP id k5EMwv306680 for <dhcwg@ietf.org>; Wed, 14 Jun 2006 17:58:57 -0500 (CDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 14 Jun 2006 15:58:52 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [dhcwg] Sending SOLICIT/CONFIRM/REBIND messages to a relay-agentunicast address
Date: Wed, 14 Jun 2006 15:58:37 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A1818CD0@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A1818CCD@XCH-NW-7V2.nw.nos.boeing.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [dhcwg] Sending SOLICIT/CONFIRM/REBIND messages to a relay-agentunicast address
Thread-Index: AcZz2jZAOPbWpR/1TU2nGHP0gKb/OQcDstUwAACEdyAABVvcQA==
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: dhcwg@ietf.org
X-OriginalArrivalTime: 14 Jun 2006 22:58:52.0674 (UTC) FILETIME=[1B2C7620:01C69006]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 3002fc2e661cd7f114cb6bae92fe88f1
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: dhcwg.ietf.org
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
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>
Errors-To: dhcwg-bounces@ietf.org

Responding to my own post, I was able to gain some insights from
the RFC3315 text. Please review and comment on whether I may be
missing something, or if there is some fundamental flaw with
this logic: 

> If a DHCPv6 client is pre-configured with a list of IP addresses
> of DHCPv6 relay agents on the link, and if the client knows that
> there are no DHCPv6 servers on the link, can the client send
> SOLICIT/CONFIRM/REBIND messages to the unicast address of one
> of the relay agents?

Combing through RFC3315, I see only the following passages
relating to the IP destination address in client messages:

in Section 1.1:
  "DHCP servers receive messages from clients using a reserved,
   link-scoped multicast address.  A DHCP client transmits most messages
   to this reserved multicast address, so that the client need not be
   configured with the address or addresses of DHCP servers."

in Section 1.2:
  "In this case, the client sends a
   Solicit message to the All_DHCP_Relay_Agents_and_Servers requesting
   the assignment of addresses and other configuration information."

in Section 1.3:
  "The client sends a Solicit message to the
   All_DHCP_Relay_Agents_and_Servers address to find available DHCP
   servers."

in Section 3:
  "The availability of these features means that
   a client can use its link-local address and a well-known multicast
   address to discover and communicate with DHCP servers or relay agents
   on its link."

in Section 13:
  "Unless otherwise specified in this document, or in a document that
   describes how IPv6 is carried over a specific type of link (for link
   types that do not support multicast), a client sends DHCP messages to
   the All_DHCP_Relay_Agents_and_Servers.

   A client uses multicast to reach all servers or an individual server.
   An individual server is indicated by specifying that server's DUID in
   a Server Identifier option (see section 22.3) in the client's message
   (all servers will receive this message but only the indicated server
   will respond).  All servers are indicated by not supplying this
   option."

finally, in Section 15:
  "A server MUST discard any Solicit, Confirm, Rebind or
   Information-request messages it receives with a unicast destination
   address."

In these passages, I see only one "MUST" which occurs in the
Section 15 text wrt a server's validation for messages received
with a unicast destination address. But, if the client sends
messages to the unicast address of a *relay*, the relay would
forward them to the server with 'All_DHCP_Servers' as the
destination address, so the server message validation would pass.

> If not, is this something that can be specified "in a document
> that describes how IPv6 is carried over a specific type of link"
> as suggested by ([RFC3315], Section 13)?

None of the RFC3315 text speaks to whether clients could send
messages to the unicast address of a relay other than to say
in Section 1.1 that: "The operation of the relay agent is
transparent to the client". Furthermore, the spec is silent
on a relay's message validation which I take to mean that a
relay agent's behavior wrt receiving a unicast message from
a client is unspecified and presumed to behave the same as
for multicast messages.

Using this information, plus the first paragraph of the Section
13 text cited above, I assume that "a document that describes how
IPv6 is carried over a specific type of link (for link types that
do not support multicast)" could specify that a client's messages
are sent to the unicast address of a relay on the link (if the
client is configured with the IP address of the relay).

Comments?

Fred
fred.l.templin@boeing.com

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