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

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 24 February 2017 00:49 UTC

Return-Path: <brian.e.carpenter@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 D34C0129449 for <ietf@ietfa.amsl.com>; Thu, 23 Feb 2017 16:49:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 UVQTFLpBQ41n for <ietf@ietfa.amsl.com>; Thu, 23 Feb 2017 16:49:32 -0800 (PST)
Received: from mail-pg0-x235.google.com (mail-pg0-x235.google.com [IPv6:2607:f8b0:400e:c05::235]) (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 6EF2F129420 for <ietf@ietf.org>; Thu, 23 Feb 2017 16:49:32 -0800 (PST)
Received: by mail-pg0-x235.google.com with SMTP id s67so3343835pgb.3 for <ietf@ietf.org>; Thu, 23 Feb 2017 16:49:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Adz7pKIlHvwvkpoy5bDObO0TSD1gUuJH7RF3Lkdli7M=; b=KCsRH+evApvq0WBEQrrRE2TTn2Z6Uy7kLbpgq8CwCfKu/59dnn6htFj3O7NPT2656P /oO2FJ2C4yCHP5751a2JdM2wp8HSPFJvJRveE7c1Zl8xHEvAbxrJBzNI1+vbmEX4GvM3 TuZn9ce2uQ1Lr1pi5C50hbgOxF0KNtMh+jRO3ZPJMsQG6zqptsSs3g3SiAw0YjfKUPjT MMk5IskV5z0uaLnSb54V2mcwvT9PGEuKhdn2RSLPviZYdJHXGzGjtAQ4J6AXR40tIp4j 3SxRu7+vT7L/vKqpxN+nRAOOeHCm7+DNaBb9GRe2j4yDZl5XVUqKu8vMv51yndNeNsZE KZng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=Adz7pKIlHvwvkpoy5bDObO0TSD1gUuJH7RF3Lkdli7M=; b=EZcM/oFmHivSW2IQUO73PfbaNTNjdNrbaJnWNnkldSjxEjT0H/Kjk+WC1He2YzRufE 2FGGerbMIfA1T8mH+YTf1boHxTGcem6TL8xfzp2CX3lJMJE+xc/xn5dHLZ4hPwPFwYGf 3gUCdoR+zFMW7pFTHsTFaO0lM67o2e6ItCEX9NyQ2nXF38eA2wZWDXwHpmLiGK0fF3z8 XYrbHrLWTsaHT2A+J5Nl1GJulTSnmU1QhZeP5kbA8CdiQ45FiMPb9vXLBncTM+mrqj4+ ab3Ho2Bu5U3/sNRcRhX1e3l879f2AIlJdrciavcueYIVvVAhbHaXNa6QROOi3guVMxEK t3Dw==
X-Gm-Message-State: AMke39nyhO0AHanIg+RlyiGGL9FpK1+M2yrH/iG5jgiMhdmS/gQKv0WnAFYzSCvuzLl4oQ==
X-Received: by 10.99.158.2 with SMTP id s2mr11267pgd.116.1487897371883; Thu, 23 Feb 2017 16:49:31 -0800 (PST)
Received: from ?IPv6:2406:e007:4b1c:1:28cc:dc4c:9703:6781? ([2406:e007:4b1c:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id m12sm11827666pgc.46.2017.02.23.16.49.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Feb 2017 16:49:31 -0800 (PST)
Subject: Re: Last Call: <draft-ietf-6man-rfc4291bis-07.txt> (IP Version 6 Addressing Architecture) to Internet Standard
To: Alexandre Petrescu <alexandre.petrescu@gmail.com>, ietf@ietf.org
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> <619d77db-8b4d-704a-4f68-6ca6cf3433e7@gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <3b9dcc42-8448-a30f-82ad-596c49acdad4@gmail.com>
Date: Fri, 24 Feb 2017 13:49:38 +1300
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: <619d77db-8b4d-704a-4f68-6ca6cf3433e7@gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/_wG4YvMzEABFYbZgEs1-xdxOjIY>
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 00:49:34 -0000

> 
>> Maybe Linux is different.
> 
> YEs in a sesne.

I fired up a Linux box and tried ip -6 address add 2001:db8:dead::beef dev wlp2s0

It works - the /nn is not required - but the prefix length shown
by ip -6 address show is /128, so that seems to be the Linux default.

(Sorry, can't cut and paste from that screen to this one. Also I can't
mess with the RAs since it is a shared gateway.)

Regards
   Brian

On 24/02/2017 00:57, Alexandre Petrescu wrote:
> 
> 
> 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:
> 
> Ok, I didnt know Windows acts that way.
> 
>>
>> 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 agree.
> 
>> 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.
> 
> This looks strange.  The NS for 2001:db8:dead::beef are normal - they 
> are DAD.  But to consider it on-link, without having been told the plen 
> is /64 and the prefix, is not normal.
> 
> I suppose Windows configures an address and a prefix/plen by receiving 
> an RA.  And then, when adding manually an address it considers that 
> address to be part of that link too.  That is not normal, because the 
> prefix 2001:db8 is certainly not the same as the one in the RA.
> 
> I suppose Windows programmers made it so because they needed that 
> [/integer] to be optional but they also needed the addresses that are 
> manually configured to be part of some subnet... which one?
> 
> To check this behaviour, one would silence the RAs, netsh restart, and 
> then manually configure an address without plen, and add a default gw. 
> Can that ping the gw?  Can it ping the Internet?  If yes, then it means 
> there is a /64 hidden somewhere that must be removed.  If it does not 
> work, then it's good - it misses the plen.
> 
>> Maybe Linux is different.
> 
> YEs in a sesne.
> 
> Alex
> 
>>
>>      Brian
>>
>