Re: Last Call: <draft-ietf-6man-rfc4291bis-07.txt> (IP Version 6 Addressing Architecture) to Internet Standard

Alexandre Petrescu <alexandre.petrescu@gmail.com> Fri, 24 February 2017 14:09 UTC

Return-Path: <alexandre.petrescu@gmail.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E5F2F1297AC for <ietf@ietfa.amsl.com>; Fri, 24 Feb 2017 06:09:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.352
X-Spam-Level:
X-Spam-Status: No, score=-5.352 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_SOFTFAIL=0.665] 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 TZ3p0wTpXeS1 for <ietf@ietfa.amsl.com>; Fri, 24 Feb 2017 06:09:27 -0800 (PST)
Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 748A51294F5 for <ietf@ietf.org>; Fri, 24 Feb 2017 06:09:26 -0800 (PST)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by oxalide.extra.cea.fr (8.15.2/8.15.2/CEAnet-Internet-out-2.4) with ESMTP id v1OE9NZf031113; Fri, 24 Feb 2017 15:09:23 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id AF9E020B774; Fri, 24 Feb 2017 15:09:23 +0100 (CET)
Received: from muguet2.intra.cea.fr (muguet2.intra.cea.fr [132.166.192.7]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 9F1EE200C3F; Fri, 24 Feb 2017 15:09:23 +0100 (CET)
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 v1OE9N80002212; Fri, 24 Feb 2017 15:09:23 +0100
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Subject: Re: Last Call: <draft-ietf-6man-rfc4291bis-07.txt> (IP Version 6 Addressing Architecture) to Internet Standard
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
References: <d9dc153a-61a8-5976-7697-ce1ecc9c8f3f@gmail.com> <4AF83EE6-6109-491F-BE66-114724BB197B@employees.org> <75196cfa-5476-0c7b-7612-ea2e446fc6f1@gmail.com> <B4A4FFFD-A90D-4C26-BDBD-75555840CA22@employees.org> <m2wpcqeuot.wl-randy@psg.com> <44F7BEDA-CF11-4E1E-BA6F-88794DEC1AF7@employees.org> <20170221001940.GB84656@Vurt.local> <068ce975-8b1e-a7c5-abba-2bfc1d904d70@gmail.com> <20170221101339.GC84656@Vurt.local> <047994c3-9cce-12ce-55bb-bf3ae3369b57@gmail.com> <20170221225857.GE32367@Vurt.local> <f84828c0-7d37-6c56-b1a6-6260227b4f44@gmail.com> <efd19030-6a81-3e14-d294-94e4605f15a1@gmail.com> <252c3c52-a158-f65a-bc6f-7c4686db7544@gmail.com>
Message-ID: <1c69ff2c-96ba-f672-7e31-8d2a07368f52@gmail.com>
Date: Fri, 24 Feb 2017 15:09:14 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <252c3c52-a158-f65a-bc6f-7c4686db7544@gmail.com>
Content-Type: multipart/alternative; boundary="------------C5C854C822D3CE8A87288B50"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/T4Qwr9uAWqlXecZ-19iss0kIp9Y>
Cc: ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Feb 2017 14:09:29 -0000


Le 22/02/2017 à 21:04, Brian E Carpenter a écrit :
> On 22/02/2017 22:41, Alexandre Petrescu wrote:
> <snip>
>
>>> Well that does two things: configures a 128 bit address (as Chris
>>> points out, *all* addresses are 128 bits, duh) and associates a
>>> prefix length with it, which afaik is optional.
>> The prefix length is not optional.  There is no system out there on
>> which one could configure a 128bit address without explicitely telling
>> '/128' or '/64' or '/something-else'.
> Wrong. Sorry to get all technical, but on Windows:
>
> C:\windows\system32>netsh interface ipv6 add address ?
>
> Usage: add address [interface=]<string> [address=]<IPv6 address>[/<integer>]
>               [[type=]unicast|anycast]
>               [[validlifetime=]<integer>|infinite]
>               [[preferredlifetime=]<integer>|infinite]
>               [[store=]active|persistent]
>               [[skipassource=]true|false]
>
> The [/<integer>] looks pretty optional to me. I just tried
>     netsh interface ipv6 add address 12 2001:db8:dead::beef
> and now I have three addresses:
>
> C:\windows\system32>netsh interface ipv6 show addresses
>
> Interface 12: Wireless Network Connection
>
> Addr Type  DAD State   Valid Life Pref. Life Address
> ---------  ----------- ---------- ---------- ------------------------
> Manual     Preferred     infinite   infinite 2001:db8:dead::beef
> Public     Preferred      1h54m9s      54m9s fd63:45eb:dc14:0:28cc:dc4c:9703:6781
> Other      Preferred     infinite   infinite fe80::28cc:dc4c:9703:6781%12
>
> When I try to ping 2001:db8:dead::cafe, I see what I expected in Wireshark:
> neighbour solicitations from 2001:db8:dead::beef to ff02::1:ff00:cafe.
> In other words, the new address is treated as on-link. I can't find any trace
> of an associated prefix entry.

Brian, I just discovered that one can see the associated prefix entry 
with "netsh interface ipv6 show route".

In this here setting I receive no RA.

When manually adding an address w/o specifying the plen on an interface 
it adds a /64 'connected' route and that's wrong.  The wrongness is in 
that '/64'.  Nobody told it '64' yet it assumed 64.  It's not wrong in 
adding a 'connected' route, but it's wrong in making that 64.

It's wrong because I may not want the entire 1::/64 to be 'connected', 
but maybe much less, especially when I manually configure.

Whereas in IPv6 it adds a /64, in IPv4 it adds a /8.  That '/8' comes 
from the fact that "1.1.1.1" is a class A; but in IPv6 there are no 
classes, right?  So why 64?

netsh
  interface ipv6 add address "Connexion au réseau local" address=1::1
  interface ipv6 show route



(warning: careful on a managed computer as it resists reboots and needs 
manual fixing afterwards).

Alex

> Maybe Linux is different.
>
>       Brian
>