Re: I-D Action: draft-carpenter-6man-rfc6874bis-00.txt

Nick Hilliard <nick@foobar.org> Fri, 09 July 2021 22:11 UTC

Return-Path: <nick@foobar.org>
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 A435B3A30C7 for <ipv6@ietfa.amsl.com>; Fri, 9 Jul 2021 15:11:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.238
X-Spam-Level:
X-Spam-Status: No, score=-2.238 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.338, SPF_HELO_NONE=0.001, SPF_PASS=-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 ydM90tVh5IbE for <ipv6@ietfa.amsl.com>; Fri, 9 Jul 2021 15:11:44 -0700 (PDT)
Received: from mail.netability.ie (mail.netability.ie [IPv6:2a03:8900:0:100::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 77A043A30C6 for <ipv6@ietf.org>; Fri, 9 Jul 2021 15:11:43 -0700 (PDT)
X-Envelope-To: ipv6@ietf.org
Received: from crumpet.local (admin.ibn.ie [46.182.8.8]) (authenticated bits=0) by mail.netability.ie (8.16.1/8.16.1) with ESMTPSA id 169MBWlS006905 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Jul 2021 23:11:33 +0100 (IST) (envelope-from nick@foobar.org)
X-Authentication-Warning: cheesecake.ibn.ie: Host admin.ibn.ie [46.182.8.8] claimed to be crumpet.local
Subject: Re: I-D Action: draft-carpenter-6man-rfc6874bis-00.txt
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, Philip Homburg <pch-ipv6-ietf-7@u-1.phicoh.com>, ipv6@ietf.org
References: <162545101341.19246.8566193740265797873@ietfa.amsl.com> <95a7dbe5-e0a3-4676-9dcc-005ff53725e0@gmail.com> <CA+9kkMD3iSgo-KMM5Ed8bVnVCu_G3f2kB6zHKoOx2ta=x8QucA@mail.gmail.com> <CANMZLAbmdWHDRBPpHgy_e4_0-WUVW2gjnbXWwu2pF_xi-S0vWQ@mail.gmail.com> <87a6n13y0j.fsf@ungleich.ch> <CA+9kkMBx4F0FGZasdk11ogyCOwQZecAEkO4JbECDr4osySN-4w@mail.gmail.com> <01289d8c-a470-1867-448f-3d616647ba5f@gmail.com> <87bl7flww8.fsf@ungleich.ch> <6771.1625578366@localhost> <m1m19WD-0000EXC@stereo.hq.phicoh.net> <e90a069c-873f-6c93-29f0-b69c9430b66b@gmail.com> <m1m1Qie-0000FLC@stereo.hq.phicoh.net> <26758.1625758150@localhost> <54c7739a-6fb6-7e20-7b9f-3c1a8b6a613b@gmail.com> <11473.1625790920@localhost> <967177aa-a740-72b6-e0e5-32fc62d27831@gmail.com> <7697.1625850036@localhost> <282fc0e8-10db-4c86-7483-87b4b0ff5ee8@gmail.com>
From: Nick Hilliard <nick@foobar.org>
Message-ID: <726877d3-3bce-6541-162d-82cbc334d29f@foobar.org>
Date: Fri, 9 Jul 2021 23:11:31 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.48
MIME-Version: 1.0
In-Reply-To: <282fc0e8-10db-4c86-7483-87b4b0ff5ee8@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/8W2NvRtQJcs4L1uPubjbmx_T9HQ>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 09 Jul 2021 22:11:47 -0000

Brian E Carpenter wrote on 09/07/2021 22:10:
> C:\WINDOWS\system32>ping ::1%0
> 
> Pinging ::1 with 32 bytes of data:
> Reply from ::1: time<1ms
> 
> so I guess interface 0 is the loopback, but it is listed nowhere as such.

this really is odd. The loopback interface is technically interface 1:

> C:\Users\nick>netsh interface ipv6 show address
> 
> Interface 1: Loopback Pseudo-Interface 1
> 
> Addr Type  DAD State   Valid Life Pref. Life Address
> ---------  ----------- ---------- ---------- ------------------------
> Other      Preferred     infinite   infinite ::1

and:

> C:\Users\nick>route print
> ===========================================================================
> Interface List
>   4...00 xx xx xx xx xx ......Intel(R) 82574L Gigabit Network Connection
>   1...........................Software Loopback Interface 1
> ===========================================================================

and using more up-to-date tools:

> PS C:\WINDOWS\system32> get-netipinterface -InterfaceIndex 1
> 
> ifIndex InterfaceAlias                  AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp     ConnectionState PolicyStore
> ------- --------------                  ------------- ------------ --------------- ----     --------------- -----------
> 1       Loopback Pseudo-Interface 1     IPv6            4294967295              75 Disabled Connected       ActiveStore
> 1       Loopback Pseudo-Interface 1     IPv4            4294967295              75 Disabled Connected       ActiveStore
> 
> 
> PS C:\WINDOWS\system32> get-netipinterface -InterfaceIndex 0
> get-netipinterface : No MSFT_NetIPInterface objects found with property 'InterfaceIndex' equal to '0'.  Verify the
> value of the property and retry.
> At line:1 char:1
> + get-netipinterface  -InterfaceIndex 0
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     + CategoryInfo          : ObjectNotFound: (0:UInt32) [Get-NetIPInterface], CimJobException
>     + FullyQualifiedErrorId : CmdletizationQuery_NotFound_InterfaceIndex,Get-NetIPInterface
> 
> PS C:\WINDOWS\system32>

"ping ::1%0" works, but "ping ::1%1" returns a general failure.  But if 
you attempt to scope a global IP address to the interface ID that the 
fe80: address is tied to, it will also fail.

So, not clear what the scope ID actually refers to here. Someone with 
more windows clue is going to have to answer this one, and you're right 
that there's a fairly deep lack of documentation on how this is supposed 
to work.

Nick