[dhcwg] dhcpv6-24: Interface-ID option

Ralph Droms <rdroms@cisco.com> Thu, 16 May 2002 12:24 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 IAA22033 for <dhcwg-archive@odin.ietf.org>; Thu, 16 May 2002 08:24:02 -0400 (EDT)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id IAA08872 for dhcwg-archive@odin.ietf.org; Thu, 16 May 2002 08:24:14 -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 IAA08792; Thu, 16 May 2002 08:21:47 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id IAA08764 for <dhcwg@optimus.ietf.org>; Thu, 16 May 2002 08:21:45 -0400 (EDT)
Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA21944 for <dhcwg@ietf.org>; Thu, 16 May 2002 08:21:31 -0400 (EDT)
Received: from funnel.cisco.com (funnel.cisco.com [161.44.168.79]) by sj-msg-core-1.cisco.com (8.12.2/8.12.2) with ESMTP id g4GCLBHt029094 for <dhcwg@ietf.org>; Thu, 16 May 2002 05:21:11 -0700 (PDT)
Date: Thu, 16 May 2002 08:21:10 -0400
From: Ralph Droms <rdroms@cisco.com>
To: dhcwg@ietf.org
Message-ID: <Pine.GSO.4.44.0205160811550.29886-100000@funnel.cisco.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Subject: [dhcwg] dhcpv6-24: Interface-ID option
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

Original comment:

> If the relay agent cannot use the address in the link-address field
> to identify the interface through which the response to the client
> will be forwarded, the relay agent MUST include an Interface-id
> option (see section 22.19) in the Relay-forward message.  The server

I think the interface-id option may be underspecified. If it is
included, but there is no valid link-address (which I understand is
the reason for defining this particular option), how does the server
know which addresses to assign the client? I.e., how does the server
know on which link the client is?

> The relay agent puts the client's address in the link-address field
> regardless of whether the relay agent includes an Interface-id option
> in the Relay-forward message.

This doesn't seem right to me. I thought that the link-address is
supposed to hold the address of the relay agent. Seems wrong to put
the client's address in it. The link-address field is what the server
uses to figure out which link the client is on (right?). Also, since
the client's address is a link-local address, this field doesn't seem
to contain useful information for the server in this case.

> Servers MAY use the Interface-ID for parameter assignment policies.
> The Interface-ID SHOULD be considered an opaque value, with policies
> based on exact string match only; that is, the Interface-ID SHOULD
> NOT be internally parsed by the server.

Shouldn't the first MAY be a MUST? I.e., the link-address field
contains no useful information.

Also, not sure the above is sufficient. Unless the
interface-identifier is somehow stable, it's not clear how the server
policy could take it into account. There are no words suggesting the
interface-identifier needs to be stable.

>    interface-id         An opaque value of arbitrary length generated
>                         by the relay agent to identify one of the
>                         relay agent's interfaces

Any reason not to make this 32 bits? the IPv6 API already has 32-bit
interface IDs. Is there any reason to make it larger?

Response:

Clarified text in 20.1 to emphasize that relay agent fills in link-address
field regardless of whether Interface-ID option is used.

Added text explaining why interface-identifier for an interface should
remain stable.

Left interface-id as variable-length value.

*** dhcpv6.tty	Wed May 15 22:43:36 2002
- --- dhcpv6-24.txt	Tue Apr 23 15:35:14 2002
***************
*** 3199,3207 ****
     will be forwarded, the relay agent MUST include an Interface-id
     option (see section 22.19) in the Relay-forward message.  The server
     will include the Interface-id option in its Relay-reply message.
!    The relay agent fills in the link-address field as described in the
!    previous paragraph regardless of whether the relay agent includes an
!    Interface-id option in the Relay-forward message.

     The relay agent copies the source address from the IP datagram
     in which the message was received from the client into the
- --- 3260,3268 ----
     will be forwarded, the relay agent MUST include an Interface-id
     option (see section 22.19) in the Relay-forward message.  The server
     will include the Interface-id option in its Relay-reply message.
!    The relay agent puts the client's address in the link-address field
!    regardless of whether the relay agent includes an Interface-id option
!    in the Relay-forward message.

     The relay agent copies the source address from the IP datagram
     in which the message was received from the client into the
***************
*** 4548,4558 ****
     Servers MAY use the Interface-ID for parameter assignment policies.
     The Interface-ID SHOULD be considered an opaque value, with policies
     based on exact string match only; that is, the Interface-ID SHOULD
!    NOT be internally parsed by the server.  The Interface-ID value for
!    an interface SHOULD be stable and remain unchanged, for example,
!    after the relay agent is restarted; if the Interface-ID changes, a
!    server will not be able to use it reliabily in parameter assignment
!    policies.


  22.20. Reconfigure Message option
- --- 4646,4652 ----
     Servers MAY use the Interface-ID for parameter assignment policies.
     The Interface-ID SHOULD be considered an opaque value, with policies
     based on exact string match only; that is, the Interface-ID SHOULD
!    NOT be internally parsed by the server.


  22.20. Reconfigure Message option
------- End of forwarded message -------




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