Re: [homenet] I-D.ietf-homenet-prefix-assignment

Pierre Pfister <pierre.pfister@darou.fr> Wed, 08 October 2014 07:23 UTC

Return-Path: <SRS0=W1if=67=darou.fr=pierre.pfister@bounces.m4x.org>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7DBE61A0074 for <homenet@ietfa.amsl.com>; Wed, 8 Oct 2014 00:23:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MANGLED_LOAN=2.3, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kp0lK2XZLcVz for <homenet@ietfa.amsl.com>; Wed, 8 Oct 2014 00:22:57 -0700 (PDT)
Received: from mx1.polytechnique.org (mx1.polytechnique.org [129.104.30.34]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 59B8F1A0070 for <homenet@ietf.org>; Wed, 8 Oct 2014 00:22:57 -0700 (PDT)
Received: from [10.61.162.75] (173-38-208-170.cisco.com [173.38.208.170]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 3A66E14008F64; Wed, 8 Oct 2014 09:22:54 +0200 (CEST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_E003AF2F-64D2-4305-BA36-25D9BC0036E6"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Pierre Pfister <pierre.pfister@darou.fr>
In-Reply-To: <CADhXe52TRJy0MA861bCnWY8LjLZnGQiPbb=qXQhxCirm_DHQ0Q@mail.gmail.com>
Date: Wed, 08 Oct 2014 09:22:56 +0200
Message-Id: <1ACBD67B-0B89-4909-8BC0-2F3E315D848A@darou.fr>
References: <CADhXe52TRJy0MA861bCnWY8LjLZnGQiPbb=qXQhxCirm_DHQ0Q@mail.gmail.com>
To: James Woodyatt <jhw@nestlabs.com>
X-Mailer: Apple Mail (2.1878.6)
X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Wed Oct 8 09:22:54 2014 +0200 (CEST))
Archived-At: http://mailarchive.ietf.org/arch/msg/homenet/_hB9PVxKw868HFpLLZaUfIaAqdI
Cc: HOMENET Working Group <homenet@ietf.org>
Subject: Re: [homenet] I-D.ietf-homenet-prefix-assignment
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Oct 2014 07:23:19 -0000

Hello James,

Thanks for your comment.

I understand your point. I think I was not clear enough in the draft. Nothing prevents multiple ULAs, but let me explain.

Section 9.1 refers to a spontaneous generation mechanism authorized when there is no available ULA delegated prefix. 
It is mostly useful in order to enable IPv6 in-home networking when there is no IPv6 uplink, or allow using a ULA when desired

Section 4.3 tells how delegated prefixes may be created
4.3.  Obtaining a Delegated Prefix
   A Delegated Prefix can be obtained or generated through different
   means:
   o  It can be dynamically delegated, for instance using DHCPv6 PD.
   o  It can be created statically, specified in router's configuration.
   o  A ULA prefix may be spontaneously generated as defined in
      Section 9.1.
   o  An IPv4 private prefix may be spontaneously generated as defined
      in Section 9.2.

Prefixes that are obtained through DHCPv6 or manually configured CAN be ULAs.

In Thread Networks, do you need a specific ULA (provided by some server) to be used ? 
If ‘yes', you fit in case #2 and can generate as many ULAs as you want.
 
Or maybe any ULA would work and you are just concerned by the « Being the network leader » choice ? 
The reason for this was to avoid every router to generate their own ULA prefix when they boot together, and later remove it. 
But you made a point here. I think I will allow non-leader routers to generate a ULA in a randomly delayed fashion.

Cheers,

- Pierre


Le 8 oct. 2014 à 01:14, James Woodyatt <jhw@nestlabs.com> a écrit :

> Everyone—
> 
> I have skimmed I-D.ietf-homenet-prefix-assignment, and I have some questions and a concern about the topic of ULA Prefix Generation and specifically the requirements language used in section 9.1.
> 
> 9.1.  ULA Prefix Generation
>    A router MAY generate a ULA prefix when the two following conditions
>    are met.
>    o  It is the Network Leader (Section 4.4).
>    o  No other ULA delegated prefix is advertised by any other router.
>    A router MUST stop advertising a spontaneously generated ULA prefix
>    whenever another router is advertising a ULA delegated prefix.
>    The most recently used ULA prefix SHOULD be stored in stable storage
>    by all routers and reused whenever choosing a new ULA delegated
>    prefix.  If no ULA prefix can be found in stable storage, it MUST be
>    randomly generated, or generated from hardware specific values.
> 
> The requirements keywords in this section make for a pretty serious interop clash with Thread networks <http://threadgroup.org/>, which generate their own ULA prefix based on a method defined by its current conventions.
> 
> If a Thread border router cannot publish its ULA prefix into the HOMENET routing domain, unless it is the Network Leader (which it almost certainly never will be), then this language would seem to force Thread border routers not to use HOMENET standard protocols, and instead to implement some kind of non-standard tunneling overlay between devices inside the Thread mesh and hosts on the rest of the home network.
> 
> Is that what the working group wants to happen? What is the intended purpose of this requirement? Is there a way the intended purpose can be served without breaking interop with Thread networks?
> 
> (My apologies if I missed the relevant discussion. I was trying to pay attention, but regular life has been assailing me with other concerns over the last year or so. I'm on top of things now, though.)
> 
> -- 
> james woodyatt <jhw@nestlabs.com>
> Nest Labs, Communications Engineering
> _______________________________________________
> homenet mailing list
> homenet@ietf.org
> https://www.ietf.org/mailman/listinfo/homenet