[dhcwg] co-existence of temp and normal addresses

Vijay Bhaskar A K <vijayak@india.hp.com> Sun, 17 February 2002 11:14 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 GAA04410 for <dhcwg-archive@odin.ietf.org>; Sun, 17 Feb 2002 06:14:22 -0500 (EST)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id GAA29258 for dhcwg-archive@odin.ietf.org; Sun, 17 Feb 2002 06:14:25 -0500 (EST)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id GAA29077; Sun, 17 Feb 2002 06:09:36 -0500 (EST)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id GAA29055 for <dhcwg@optimus.ietf.org>; Sun, 17 Feb 2002 06:09:35 -0500 (EST)
Received: from palrel10.hp.com (palrel10.hp.com [156.153.255.245]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA04352 for <dhcwg@ietf.org>; Sun, 17 Feb 2002 06:09:30 -0500 (EST)
Received: from dce.india.hp.com (dce.india.hp.com [15.10.45.122]) by palrel10.hp.com (Postfix) with ESMTP id B3398C004F2 for <dhcwg@ietf.org>; Sun, 17 Feb 2002 03:09:00 -0800 (PST)
Received: (from vijayak@localhost) by dce.india.hp.com (8.8.6 (PHNE_17190)/8.8.6 SMKit7.02) id QAA28471 for dhcwg@ietf.org; Sun, 17 Feb 2002 16:43:22 +0530 (IST)
From: Vijay Bhaskar A K <vijayak@india.hp.com>
Message-Id: <200202171113.QAA28471@dce.india.hp.com>
To: dhcwg@ietf.org
Date: Sun, 17 Feb 2002 16:43:21 +0530
X-Mailer: ELM [$Revision: 1.17.214.2 $]
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [dhcwg] co-existence of temp and normal addresses
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
Content-Transfer-Encoding: 7bit

Consider the following scenario.

A client  has 3 normal  addresses  and 2  temporary  addresses  in an IA
identified  by IAID 36.  After some time, the client  releases all the 3
normal  addresses.  Now, it needs  another 1 temporary  address.  So, it
will send a Request,  with IA option having IAID 36,  encapsulating  RTA
option having value 3, indicating it needs an another temporary address.

Now, what server assumes is....

- the client is requesting to assign a temporary address.
- the client is requesting to asssign  normal  addresses  also.  This is
because,  whenever  a  Request  is sent for IA, the  server  is going to
assign new set of normal  addresses to the IA  according  to its policy,
unless or  otherwise,  the server's  database  says that the IA has been
already  populated  with  addresses.  In the later case it assumes to be
the  retransmission  and sends back whatever the normal addresses it has
already allocated.

Thus, server  allocates  normal  addresses also along with the requested
temp  address.  But,  the  client  didn't  have   requested  for  normal
addresses.

*** Thus the mixture of normal  addresses  and temp  addresses  in an IA
leads to mislead in the server's side.

*** The temporay addresses should not be renewed.  In the renew message,
the IA should not carry temporary  address.  This means,  eventhough the
temporary  addresses  lies in the same IA along  with the  other  normal
addresses,  they are treated as seperate set of addresses in the case of
renewal.

Considering the above two points, i have few suggestions.

- Why can't we have separate IAs for normal and temporary addresses?
- The IAIDs for temporary addresses range from 0-1023 and that of normal
addresses range from 1024 onwards.  This is to avoid the  overlapping of
IAID space.

- Since, T1 and T2 values for the IA containing only temporary addresses
make no sense, i feel  that we can have  seperate  TMP_IA  option  which
doesn't have T1 and T2 fields, as shown below.


      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
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |       OPTION_TMP_IA           |          option-len           |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                        IAID (4 octets)                        |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |  IA  Status   |                                               |
     +-+-+-+-+-+-+-+-+                                               |
     .                            Options                            .
     .                                                               .
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


      option-code          OPTION_TMP_IA (TBD)

      option-len           See section 23.

      IAID                 The unique identifier for this TMP_IA. 
                           It ranges from 0-1023
      
      IA status            Status of the IA in this option.

      options              Options associated with this IA.


- T bit in the address status of IA address option is also not necessary
since we are having seperate IAs for temp addresses.

Please let me know your comments.

~Vijay


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