Re: [v6ops] I-D Action: draft-ietf-v6ops-ula-usage-recommendations-02.txt

Mark Andrews <marka@isc.org> Thu, 20 February 2014 02:36 UTC

Return-Path: <marka@isc.org>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 399F51A063A for <v6ops@ietfa.amsl.com>; Wed, 19 Feb 2014 18:36:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level:
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.548, 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 23xiGy8L-g0d for <v6ops@ietfa.amsl.com>; Wed, 19 Feb 2014 18:36:09 -0800 (PST)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) by ietfa.amsl.com (Postfix) with ESMTP id BA2571A0646 for <v6ops@ietf.org>; Wed, 19 Feb 2014 18:36:08 -0800 (PST)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.ams1.isc.org (Postfix) with ESMTP id 2F1602383BF; Thu, 20 Feb 2014 02:35:55 +0000 (UTC) (envelope-from marka@isc.org)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 17C06160056; Thu, 20 Feb 2014 02:36:43 +0000 (UTC)
Received: from rock.dv.isc.org (c211-30-183-50.carlnfd1.nsw.optusnet.com.au [211.30.183.50]) by zmx1.isc.org (Postfix) with ESMTPSA id A0CDE16004F; Thu, 20 Feb 2014 02:36:41 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id 9221BFD18EC; Thu, 20 Feb 2014 13:35:50 +1100 (EST)
To: Lorenzo Colitti <lorenzo@google.com>
From: Mark Andrews <marka@isc.org>
References: <20140214091302.13219.20624.idtracker@ietfa.amsl.com> <m21tz6javn.wl%randy@psg.com> <1442fd6c81e.5859224653900445752.5189762259388794287@internetdraft.org> <52FEBE28.1010006@gmail.com> <8E2A8B56-6F05-4F09-BE7E-651B9CA42458@delong.com> <5300CE32.1050808@gmail.com> <BD473E46-E382-44E6-B474-A56D074318FA@delong.com> <530104B3.3070205@gmail.com> <53010E70.5000401@gmail.com> <20140217110013.GA31822@mushkin> <62FF9B8A-2F21-4FDD-B1D2-82B8C02A21B3@delong.com> <37638184-17C6-4C8B-86B1-C596A5A5504A@nominum.com> <530242C3.4070108@bogus.com> <E91E49CA-7BA6-4DA3-B4F3-46BB0F25F8F1@delong.com> <5303CD3E.1010907@gmail.com> <m2a9dnr4vk.wl%randy@psg.com> <5304BAAF.60608@gmail.com> <53052B43.2070904@gmail.com> <CAKD1Yr2fyZ9FezX5dh=P-PiruiOqKBKO9f5hroD-CHDJS+ZMQQ@mail.gmail.com> <53055FF3.2040605@gmail.com> <CAKD1Yr0SgVtTCTppiJkfgao91xR5jZ-1N+b+dE5m9_6ovky4gQ@mail.gmail.com>
In-reply-to: Your message of "Thu, 20 Feb 2014 11:00:17 +0900." <CAKD1Yr0SgVtTCTppiJkfgao91xR5jZ-1N+b+dE5m9_6ovky4gQ@mail.gmail.com>
Date: Thu, 20 Feb 2014 13:35:50 +1100
Message-Id: <20140220023550.9221BFD18EC@rock.dv.isc.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/v6ops/9SgLXEcQVaF2rTZ5UWp_BfTV6WA
Cc: "v6ops@ietf.org WG" <v6ops@ietf.org>
Subject: Re: [v6ops] I-D Action: draft-ietf-v6ops-ula-usage-recommendations-02.txt
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Feb 2014 02:36:11 -0000

In message <CAKD1Yr0SgVtTCTppiJkfgao91xR5jZ-1N+b+dE5m9_6ovky4gQ@mail.gmail.com>, Lorenzo Colitti writes:
> On Thu, Feb 20, 2014 at 10:52 AM, Brian E Carpenter <
> brian.e.carpenter@gmail.com> wrote:
> 
> > > 2. A piece of remarkably bad luck, rather less likely than
> > >> winning any lottery I'm aware of.
> >
> 
> Can you elaborate on exactly how bad this luck is as a function of how many
> ULA prefixes you use your organization?

>From RFC4193 (1 in x added by myself).

      Connections      Probability of Collision

          2                1.81*10^-12 (1 in 552486187845)
         10                4.54*10^-11 (1 in 22026431718)
        100                4.54*10^-09 (1 in 220264317)
       1000                4.54*10^-07 (1 in 2202643)
      10000                4.54*10^-05 (1 in 22026)

> For example - if two large organizations that each use 200 ULA /48s (one
> per site) merge, what is the chance that one of them will collide?
> 
> I don't feel it's satisfactory to say "the probability of a collision is
> low" without saying how low it actually is. In fact, I think the draft
> should not be published without giving a few examples of these numbers. If
> *nobody* among the authors or on this list knows what the numbers actually
> are, then we should not advocate using ULAs. It is not good engineering
> practice to recommend something that you do not understand.
> 
> > You assume that people will actually follow the rules instead of saying
> > > "let's just do this like IPv4, and use NAT at the border".
> >
> > If CERs do the right thing the ULA prefix will be generated
> > correctly. But you're right, there will be a generation of
> > old-time IPv4 operators who will do exactly that whatever we
> > put in RFCs.
> 
> I'm not talking about home networks here, I'm talking about corporate IT
> environments.

Which should have trained staff who should know better.

If you have 200 odd sites pick the top 32 bits of the 40 bits
randomly and allocate the bottom 8 bits sequentually.  That doesn't
change the probability of collision when connecting to other sites
though the amount of work if there is a collision is likely to be
more. It avoids the top 32 bits being zeros and helps with human
factors like wanting address space to be clumped.

fde9:4d65:f9XX:: is just as easy to work with as fd00:0:XX::
especially when you are likely to have +200 GUA prefixes as well
to deal with which won't be sequentually assigned.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org