Re: Question about SLAAC: how the host determines the prefixes allocated from different prefix pools

Brian Haberman <brian@innovationslab.net> Wed, 09 June 2010 11:45 UTC

Return-Path: <brian@innovationslab.net>
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 744FD28C0F6 for <ipv6@core3.amsl.com>; Wed, 9 Jun 2010 04:45:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.74
X-Spam-Level:
X-Spam-Status: No, score=-0.74 tagged_above=-999 required=5 tests=[BAYES_20=-0.74]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g8Wk0ew5S53v for <ipv6@core3.amsl.com>; Wed, 9 Jun 2010 04:45:11 -0700 (PDT)
Received: from uillean.fuaim.com (uillean.fuaim.com [206.197.161.140]) by core3.amsl.com (Postfix) with ESMTP id AA24328C0EE for <ipv6@ietf.org>; Wed, 9 Jun 2010 04:45:11 -0700 (PDT)
Received: from clairseach.fuaim.com (clairseach.fuaim.com [206.197.161.141]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by uillean.fuaim.com (Postfix) with ESMTP id 444838821E for <ipv6@ietf.org>; Wed, 9 Jun 2010 04:45:13 -0700 (PDT)
Received: from clemson.jhuapl.edu (unknown [128.244.207.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by clairseach.fuaim.com (Postfix) with ESMTP id 3E0C213695B5 for <ipv6@ietf.org>; Wed, 9 Jun 2010 04:45:12 -0700 (PDT)
Message-ID: <4C0F7EC2.1070205@innovationslab.net>
Date: Wed, 09 Jun 2010 07:45:06 -0400
From: Brian Haberman <brian@innovationslab.net>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: ipv6@ietf.org
Subject: Re: Question about SLAAC: how the host determines the prefixes allocated from different prefix pools
References: <E161C74C754340CCA64D594BAC5E18D3@china.huawei.com>
In-Reply-To: <E161C74C754340CCA64D594BAC5E18D3@china.huawei.com>
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jun 2010 11:45:13 -0000

Speaking only as a WG member...

On 6/9/10 5:22 AM, Fortune HUANG wrote:
> Hi Tim and Shree,
> 
> I am not sure if the policy table is applicable for selection of the
> prefixes allocated from different prefix pools for different service types,
> because the service type is a kind of property of each prefix, while "the
> Policy Table is a longest-matching-prefix lookup table, much like a routing
> table"(see in RFC 3484). 
> 
> In DHCPv6, the problem seems to be solved by the User Class Option. The User
> Class option "is used by a DHCP client to optionally identify the type
>    or category of user or applications it represents. " (see in RFC3004).
> 
> So, a potential solution for RA is to carry the User Class in the RA
> message. Maybe we can consider to extend the Prefix Information Option to
> include the corresponding user class(e.g. service type) or define a new
> option for the binding of the prefix and its user class. What do you think?
> 

I believe this type of functionality belongs in DHCPv6 and not in an RA
option (or extension to the PIO).  The complexity the User Class Option
allows is better managed in a centralized approach like DHCPv6.  It
conflicts greatly with the original intent of simplicity of SLAAC.

Regards,
Brian

> 
> Best regards,
> Fortune
> 
>  
> 
> -----Original Message-----
> From: Tim Chown [mailto:tjc@ecs.soton.ac.uk] 
> Sent: Tuesday, June 08, 2010 10:34 PM
> To: Fortune HUANG
> Cc: 'JOSHI, SHRINIVAS ASHOK (SHRINIVAS ASHOK)'; ipv6@ietf.org
> Subject: Re: Question about SLAAC: how the host determines the prefixes
> allocated from different prefix pools
> 
> So if you look at section 10 of RFC3484 you'll see some examples of how the
> policy table can be used.   Where the table is stored will be implementation
> specific, but the behaviour should be consistent.   You may (or may not)
> find the default rules achieve what you need.
> 
> At the moment there's no way to distribute the policy table within a site,
> which is why there's been some analysis of this (see
> draft-ietf-6man-addr-select-considerations-00) and a DHCPv6-based solution
> proposed (see draft-fujisaki-dhc-addr-select-opt-09).    Until such a
> mechanism is available, you need to manually edit the table or include the
> correct/desired table in whatever system/method you use to distribute
> configurations to managed devices in a site.
> 
> Tim
>  
> On 8 Jun 2010, at 10:30, Fortune HUANG wrote:
> 
>> Hi Tim,
>>
>> I don't know much about RFC3484, but do you mean that the STB in my 
>> example can choose the expected prefix/address via the Policy Table?
>> What is in the Policy Table and how to configure it? Manually (maybe 
>> not acceptable for SLAAC case) or automatically?
>>
>> Thanks!
>>
>> Best regards,
>> Fortune
>>
>>
>> -----Original Message-----
>> From: Tim Chown [mailto:tjc@ecs.soton.ac.uk]
>> Sent: Tuesday, June 08, 2010 4:53 PM
>> To: Fortune HUANG
>> Cc: 'JOSHI, SHRINIVAS ASHOK (SHRINIVAS ASHOK)'; ipv6@ietf.org
>> Subject: Re: Question about SLAAC: how the host determines the 
>> prefixes allocated from different prefix pools
>>
>>
>> On 8 Jun 2010, at 09:44, Fortune HUANG wrote:
>>
>>>
>>> I don't have any preference to use RA over DHCPv6, but I would be 
>>> grateful if you could tell me the guidance to decide whether to 
>>> deploy SLAAC or DHCPv6.
>>> Obviously, SLAAC can not work as expected in the scenario in my 
>>> example. So this seems be to a restriction to the deployment of SLAAC 
>>> at least for the time being (any possibility for the SLAAC/RA to 
>>> support multiple prefix pools for different services in the future?).
>>>
>>
>>
>> In principle if each prefix is used with a service that is served from 
>> that prefix, then if the device implements RFC3484 address selection your
>> multi-addressed hosts should use the correct source addresses.    The
> device
>> would prefer the longest matching prefix.    It's also possible to use
>> policy tables with address selection to influence address selection 
>> decisions.
>>
>> Note though that RFC3484 has some open issues that are hopefully to be 
>> resolved with an update soon (many implementors have already reflected 
>> these updates in their products) but also that at least one major
> operating system
>> (Mac OSX) as yet has no support for the feature.   A method to distribute
>> policy tables (by DHCPv6) is also on the table.
>>
>> Tim=
>>
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------