Re: draft-bourbaki-6man-classless-ipv6-00

Job Snijders <job@ntt.net> Thu, 15 June 2017 17:23 UTC

Return-Path: <job@instituut.net>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2068D129512 for <ipv6@ietfa.amsl.com>; Thu, 15 Jun 2017 10:23:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.918
X-Spam-Level:
X-Spam-Status: No, score=-1.918 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 S86a5ehbOjKM for <ipv6@ietfa.amsl.com>; Thu, 15 Jun 2017 10:23:42 -0700 (PDT)
Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B6658126D73 for <ipv6@ietf.org>; Thu, 15 Jun 2017 10:23:41 -0700 (PDT)
Received: by mail-wm0-f44.google.com with SMTP id d73so5096954wma.0 for <ipv6@ietf.org>; Thu, 15 Jun 2017 10:23:41 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=RIabmHdy4YNg47OQ4xcGCmpCtOX0bAgCl0Ujkrli7sU=; b=Ch7CW2f+KOiygpyaGLi1J1V1d2+en/8wV/IwRoRhf27x/tSi4TfrjMpmOcwoHmEJmk 9z/WZSvV1svXERgnV0dMpL5hv1TtwU19J3lXh1c9M+eKdQpuUw7X0UI5yqRCIgYJ7Q/O QVaZxEXEWKtZohkPxjmFAN0dhIXnx5MNib1qf0h/JaqY7t9+Ms4RawE74wny5xg5b6iV wgvJykY1i0+B714v+MZQWnYWWafnWrLsGgW4wucY2poIj1Mfwl5BIEtDAYzcDunPQRax WwZ8ufBbD9jd0SEu6E/1RD08aU1Mcu69dCmAHXNI6T43pmdcIMiriED6nHMF501RENEX Ow7A==
X-Gm-Message-State: AKS2vOwgKOtM62xS4s58GYDg6DnDXkgN5xJre33f0DhObYoFB5BblD4Z JH25OGYTeuhXr23xRsnM+LRq
X-Received: by 10.80.138.34 with SMTP id i31mr4520065edi.119.1497547419943; Thu, 15 Jun 2017 10:23:39 -0700 (PDT)
Received: from localhost ([2001:67c:208c:10:190e:76f2:51:ff6b]) by smtp.gmail.com with ESMTPSA id w12sm481507edd.21.2017.06.15.10.23.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 10:23:39 -0700 (PDT)
Date: Thu, 15 Jun 2017 19:23:38 +0200
From: Job Snijders <job@ntt.net>
To: Warren Kumari <warren@kumari.net>
Cc: Philip Homburg <pch-ipv6-ietf-4@u-1.phicoh.com>, ipv6@ietf.org
Subject: Re: draft-bourbaki-6man-classless-ipv6-00
Message-ID: <20170615172338.dykhzfeogmpznymt@Vurt.local>
References: <391c730c-fa75-7596-bb6b-383ea6583131@gmail.com> <0b57c999-b5df-8a44-e3fd-55cee628f3f3@si6networks.com> <20170614092327.GB30896@gir.theapt.org> <E61AFFF1-0354-41EE-8E11-50433B26BAF7@employees.org> <20170614094034.GC30896@gir.theapt.org> <A7502902-245B-499B-916B-28630CD5A824@employees.org> <6c4157da7039438981db0f4ba46df916@XCH15-06-11.nw.nos.boeing.com> <CAKD1Yr0dU+1rHo7LB2k7MOhJ+UOB5t7v11T2WYa+VtLnNC-7ag@mail.gmail.com> <m1dLQwv-0000HYC@stereo.hq.phicoh.net> <CAHw9_iLU=5mkVoe2DsTLKxonPXc8wkHAvka-c5djv0i7ZwjC1g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAHw9_iLU=5mkVoe2DsTLKxonPXc8wkHAvka-c5djv0i7ZwjC1g@mail.gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
User-Agent: NeoMutt/20170609 (1.8.3)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/dNbetW0zZp1Xicg7IPh__rxXqig>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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: Thu, 15 Jun 2017 17:23:44 -0000

On Thu, Jun 15, 2017 at 01:04:18PM -0400, Warren Kumari wrote:
> On Thu, Jun 15, 2017 at 5:20 AM, Philip Homburg <pch-ipv6-ietf-4@u-1.phicoh.com> wrote:
> >> SLAAC doesn't work unless the network provides enough address space
> >> to make collisions vanishingly unlikely.
> >
> > Indeed. So any RFC that makes smaller pseudo random IIDs possible
> > has to have at least a section that analyses collision
> > probabilities.
> 
> So, a couple of years ago I was doing some work with Juan Carlos and
> Dan Harkins in the IEEE on MAC Randomization (basically randomizing
> your (WiFi) MAC address to improve privacy / thwart pervasive
> monitors).
> 
> There was some discussion on how many bits you would need to randomize
> to make it unlikely that multiple machines will independently choose
> the same address. I argued that if you randomize 24 bits, and have a
> stadium of ~2000 people, you will basically never get a collision.
> Dan disagreed, and so, in a fit of pique, I wrote an App Engine app to
> prove him wrong -- and achieved exactly the opposite. This is a
> birthday paradox problem, and you will get a collision once every ~9
> times.
> 
> I've just updated my little app and put it here:
> https://ipv6-collision-probability.appspot.com/
> 
> It's interesting to play with the numbers and see how likely a
> collision is, given a certain subnet length and number of hosts.

Hah, nice :)

> >  And set a lower limit that is generally safe.
> >
> > Just leaving it to an operator to figure out that a /112 prefix will
> > sometimes lead to an IoT device failing due to an address collision
> > is extremely poor protocol design.
> 
> Example: With a /112, and 100 hosts, you will have a collision every
> ~14 times...

Luckily there are other methods of numbering things: manually, or
programmatically, or through DHCPv6. I believe there are more use cases
then IoT devices. SLAAC is not the only way of doing things.

Kind regards,

Job