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

Alexandre Petrescu <alexandre.petrescu@gmail.com> Tue, 13 June 2017 11:34 UTC

Return-Path: <alexandre.petrescu@gmail.com>
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 7AFD2131719 for <ipv6@ietfa.amsl.com>; Tue, 13 Jun 2017 04:34:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.332
X-Spam-Level:
X-Spam-Status: No, score=-0.332 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no 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 6INsbpJxQETs for <ipv6@ietfa.amsl.com>; Tue, 13 Jun 2017 04:34:01 -0700 (PDT)
Received: from oxalide-smtp-out.extra.cea.fr (oxalide-smtp-out.extra.cea.fr [132.168.224.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00240131723 for <ipv6@ietf.org>; Tue, 13 Jun 2017 04:33:51 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by oxalide-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id v5DBXkN1128925 for <ipv6@ietf.org>; Tue, 13 Jun 2017 13:33:50 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id B30E7205586 for <ipv6@ietf.org>; Tue, 13 Jun 2017 13:33:49 +0200 (CEST)
Received: from muguet2.intra.cea.fr (muguet2.intra.cea.fr [132.166.192.7]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 82B39204A3C for <ipv6@ietf.org>; Tue, 13 Jun 2017 13:33:49 +0200 (CEST)
Received: from [10.8.34.184] (is227335.intra.cea.fr [10.8.34.184]) by muguet2.intra.cea.fr (8.15.2/8.15.2/CEAnet-Intranet-out-1.4) with ESMTP id v5DBXmej009449 for <ipv6@ietf.org>; Tue, 13 Jun 2017 13:33:48 +0200
Subject: Re: draft-bourbaki-6man-classless-ipv6-00 - method feasible
To: ipv6@ietf.org
References: <20170602141112.x64nleqclygz7dwd@Vurt.local> <CAD6AjGTjikAWutcenW8qn7OW8kPM9c_x_yDUy5vQxJmXKL85dg@mail.gmail.com> <91c3c0f4-eb8b-cdf7-b9c9-7d1eecb7fe64@gmail.com> <CAKD1Yr0_WR_TB+OC0U1Qt2h6WzUp9EGvrqC1ZKW2mwFeBd3bCQ@mail.gmail.com> <4021a559-5b6d-b3fb-19cd-afbe9041e8f2@gmail.com> <34A29D4D-3670-40BC-B62E-85C4EABC55D5@employees.org> <6e03e25e-fd6a-6311-390e-4834281a76f7@si6networks.com> <1B580CBB-B29D-4860-9EC8-BECD1D5E0006@employees.org> <4b2f5200-86a1-7711-e5ff-7436572be467@gmail.com> <E02C4C99-155A-4358-A845-F00F8BB071C1@employees.org> <b3ca5271-21b1-ab33-2dff-82735ebe9128@gmail.com> <235143da452c4ff4aec39a26ba918e7e@XCH15-06-11.nw.nos.boeing.com> <1489a50a-2616-f9ac-4109-16c595e15f90@gmail.com> <FA3032F9-F44B-45B4-9AFF-01EBC84F1448@employees.org> <b1c5c13d-ef69-ef30-546c-9178a2655caf@si6networks.com> <391c730c-fa75-7596-bb6b-383ea6583131@gmail.com> <f2ac9e0a467b4015a0a78d549c0fbbf0@XCH15-06-11.nw.nos.boeing.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <ab60b4ef-e440-0df6-35d4-24ef9292cf00@gmail.com>
Date: Tue, 13 Jun 2017 13:33:48 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <f2ac9e0a467b4015a0a78d549c0fbbf0@XCH15-06-11.nw.nos.boeing.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/JFHqIMPOKQiiL7XpKGiQuxgbgJc>
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: Tue, 13 Jun 2017 11:34:03 -0000


Le 13/06/2017 à 04:22, Manfredi, Albert E a écrit :
> -----Original Message----- From: ipv6 [mailto:ipv6-bounces@ietf.org]
> On Behalf Of Brian E Carpenter
> 
>>> there's no reason why the IID should be link-type dependent.
>> 
>> I believe that is simply false unless you want to go back to the 
>> era of DIP switches with instructions to users to a) choose an IID
>> length for their new subnet b) set the DIP switches on every device
>> to select that length c) then plug and play.
>> 
>> Otherwise LL addresses cannot be formed consistently on the whole
>> link.
> 
> Why so, Brian? I've already described one easy technique: the host
> can create IIDs of any length, based on an algorithm that we might
> just be debating for a long time, but fundamentally can be quite
> straightforward. And then the host chooses the correct IID to use for
> SLAAC, based on the RA it just received.
> 
>> OK, that is caricature, but without a substantial reworking of 
>> RFC4862 I believe that is essentially what we would need, in an
>> automated version, before SLAAC can start.
> 
> 1. Host can create, in real time, IIDs of length 128 to 0 bits. To do
> this, for SLAAC, it SHOULD not be difficult IMO. One possibility:
> create random 128-bit value, then use a simple truncation algorithm
> to reduce the number of bits to the required value, at the
> appropriate time.
> 
> 2. Host waits for RA.
> 
> 3. Host determines prefix length after receiving RA, using the
> equation:
> 
> IID length = 128 - prefix length
> 
> 4. Host generates 128-bit SLAAC address. If we started with the
> 128-bit random number, just truncate as needed.
> 
> 5. Perform DAD, as already prescribed.

This method seems feasible to me.

It would allow WiFi terminals to connect to a smartphone that was
advertised a /64 on its LTE link and made a /65 for the WiFi interface.
  The RA would contain that /65 and the WiFi terminal would make an IID
of length 63.

This same WiFi terminal is backwards compatible: it could also connect
to other WiFi networks where the RA has a prefix /64.

Alex

> 
>> Anway, all this is empty talk as long as the addressing 
>> architecture *requires* 64 bits rather than *recommending* 64 
>> bits.
> 
> True, but anything that *requires* something, based on a premise that
> has all but been discarded, doesn't hold much credibility anymore.
> The fallout from having deprecated that premise needs to be
> considered. A better future can result, as in this case (IMO). I
> think there's something in philosophy that addresses just this sort
> of situation. Where the general consensus of an argument can change
> 180 degrees, if more information on the underlying premises is
> presented.
> 
> Bert
> 
> 
> -------------------------------------------------------------------- 
> IETF IPv6 working group mailing list ipv6@ietf.org Administrative
> Requests: https://www.ietf.org/mailman/listinfo/ipv6 
> --------------------------------------------------------------------
>