Re: <draft-ietf-6man-rfc4291bis-09.txt>

Mark Smith <markzzzsmith@gmail.com> Tue, 11 July 2017 03:50 UTC

Return-Path: <markzzzsmith@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 5EE841300BB for <ipv6@ietfa.amsl.com>; Mon, 10 Jul 2017 20:50:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.198
X-Spam-Level:
X-Spam-Status: No, score=-2.198 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 Kd8GqYOfxdPA for <ipv6@ietfa.amsl.com>; Mon, 10 Jul 2017 20:50:17 -0700 (PDT)
Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (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 729DE12EC06 for <ipv6@ietf.org>; Mon, 10 Jul 2017 20:50:17 -0700 (PDT)
Received: by mail-vk0-x22a.google.com with SMTP id y70so57909093vky.3 for <ipv6@ietf.org>; Mon, 10 Jul 2017 20:50:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SxkhRxHBxDUvbchFxqVA6+88QAakjvCE9OtI4nuxNxQ=; b=S+N14OMCpfkcmhRl++j9UGRXk9lN6Q3pIGmKG2hIGEvX3gOiPFku9bqNAEhHDcwPUa VljQHEmQX4KjZJJ6AAk6hOdomzf1BlN1FyNiy6HVWgxELWTRkOAyuUtDQMm/2trMTq2J yklovO3J5QnlDVcvTD4XJrQ4JQot+HldMhzq6FWCWn0HC2mmH2254lgSF54rvDrrH2kS 4xHRjLWr07anCF9qduNnYYucWL2fFA9wyvHqM4ynKCPe5xg8dzVVHr33Q4t76kzk2OQ+ 6qtQW8NyV3KzVUQG/BKuj+YcMaI3UWjfk4y0yJxHCYOZwBLmT0UIH6vtfZHoB667jY7c gd7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SxkhRxHBxDUvbchFxqVA6+88QAakjvCE9OtI4nuxNxQ=; b=jw8kNRrQBKm6aeKas/GL5mT2mvSg770NF8w54I0SdKoWaBAWE6/nVrzu9+pDOtlUcn XYPArmxAlqVUg7tC9AWL4LsCIwzsyuZobAzaHbS82AhGFs3eKutDHvy38kThjO2pNANS r54LV68poNrpyz9+JvlNhdL1KjB439MSQcSJ17xlBqx7Owzsg8Vk2ubdIm4AKZllXmY3 69CzgSrwX8yJUdo1Nc2ouSWiewpJmg6wKjqghHEtiuB3566wQ6S9kMGbfwn9ZE+IXwr7 PTyit3qv/X4QkGqgyJQwMXCFN5AzV6zOyf55XxWzCwT3c5qfbBTcgvHYBupEOJGtt4EC vD7A==
X-Gm-Message-State: AIVw112DeGPXdpUSjQdB0RKyN8kcVHZyvhoZh+Ftn4UqxgBI6T4jresR YW4Kf/ZTUXsHzPDUjBwk2EUBOagzOA==
X-Received: by 10.31.180.80 with SMTP id d77mr8075114vkf.110.1499745016465; Mon, 10 Jul 2017 20:50:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.81.100 with HTTP; Mon, 10 Jul 2017 20:49:46 -0700 (PDT)
In-Reply-To: <88ca6eb2-cf01-357e-4cbd-c28b655ae851@gmail.com>
References: <20150804195752.5065.13523.idtracker@ietfa.amsl.com> <5AB14F48-2799-4A86-830D-E8A89CCADAAC@gmail.com> <f0af9f838fe747819eaa381f21e1b9ec@XCH15-06-08.nw.nos.boeing.com> <98f52609-f4c5-1975-8237-6f849479c6de@gmail.com> <CAO42Z2y4j07uaRKBX7YukhPGDGai-DzW_gy+abq0Q6LFGMi6Wg@mail.gmail.com> <88ca6eb2-cf01-357e-4cbd-c28b655ae851@gmail.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Tue, 11 Jul 2017 13:49:46 +1000
Message-ID: <CAO42Z2y=NjdVZEeQxGsA+wLBoynMJQjw9DBS=OURhu4r7_ecNA@mail.gmail.com>
Subject: Re: <draft-ietf-6man-rfc4291bis-09.txt>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: "Templin, Fred L" <Fred.L.Templin@boeing.com>, IPv6 List <ipv6@ietf.org>, Bob Hinden <bob.hinden@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/R414RHinR8Oa3U1KEMe-JTRuezU>
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, 11 Jul 2017 03:50:19 -0000

On 11 July 2017 at 11:36, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
> On 11/07/2017 11:32, Mark Smith wrote:
>> On 11 July 2017 at 06:52, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>>> Fred,
>>>
>>> On 11/07/2017 03:52, Templin, Fred L wrote:
>>>> Hi, something that I think is a bit under-specified is whether the address "fe80::"
>>>> should be considered as an Anycast address. In particular, the leftmost 10 bits
>>>> are "link-local" and the rightmost 118 bits are all-zero.
>>>>
>>>> Should fe80:: be considered as the subnet router Anycast address for "link-local"?
>>>> If so, I think that it could be mentioned somewhere in Section 2.5 that even the
>>>> link-local subnet has an Anycast address.
>>>
>>> I don't think so. The text in 4291 about the Subnet-Router anycast address says:
>>> 'The "subnet prefix" in an anycast address is the prefix that identifies a specific link.'
>>> fe80::/10 does not identify a specific link, since it applies to every link.
>>> Therefore, fe80:: is logically not a subnet-router anycast address.
>>>
>>
>> I would disagree. fe80::/64 identifies a specific link - it identifies
>> the link the host is attached to - "this" link.
>
> fe80::%eth0 specifies an address on an interface.
> fe80::%eth1 specifies an address on a different interface.
> Which kind of shows that fe80::/64 in the abstract doesn't
> specify much of anything. fe80::%eth0/64 is valid syntax
> under RFC 4007, however.
>

I understood the question was whether there is a subnet-router anycast
address within the link-local prefix, meaning that all routers on a
link would also have a fe80::/128 subnet-router interface address.

Your comments seem to be about selecting an outbound interface using
fe80::/128, although I'm not sure if you're talking about using it is
the source or destination address. fe80::/64 is of course ambiguous,
so zone information needs to be provided in either case.

>> fe80::/64 could also be described as an anycast prefix, because it is
>> assigned to multiple links. Other prefixes can be anycast prefixes
>> too.
>
> Well, that's the trouble. fe80::/64 refers to a single interface
> if there is only one, but if there's more than one, does it
> refer to a default choice of interface, or to all interfaces
> simultaneously? I don't think that is discussed anywhere.
>

I seem to remember a few years ago somebody posted a draft related to
that. I can't remember the approach they suggested, however I think
there are two, although both have issues - ND for the address out of
all of the host's interface, and use the first response to select the
outgoing interface (multi-homed host), or use just assume the
interface the default router appears on (single-homed host). I don't
think it considered anycast link-local addresses.

An alternative thought I"ve had is to create unique link-local
addresses by using the same method as ULAs, utilising the bits between
fe80::/10 and fe80::/64 for a random number. The first host or router
on a link would pick the random number, announcing the ULL prefix in
RAs that have a zero value router lifetime, so the host isn't used as
a default router. The second host on the link would learn that ULA
prefix and then start announcing it too in RAs (RLife = 0) as a backup
if the first host goes away. I think that is all doable, from memory
the issue I ran into was where to put the ULA in the address selection
rules, before or after the current LL prefix. This is very similar to
how Appletalk had seed routers that seeded other non-configured
routers with the link's cable range information.


>> The forwarding system sends to the closest instance of an anycast
>> prefix, which in the case of fe80::/64 is always on-link, for other
>> anycast prefixes it may not and usually won't be. The only thinh
>> special about fe80::/64 in this context is that is automatically
>> configured on all links, so it is never an off-link anycast fe80::/64
>> prefix.
>
> So the address fe80:: might, or might not, be reached on all the
> interfaces.
>
>> I think this text would have to specifically exclude fe80::/64 if
>> fe80::/128 is not a router-subnet anycast address.
>>
>> "Packets sent to the Subnet-Router anycast address will be delivered
>>    to one router on the subnet.  All routers are required to support the
>>    Subnet-Router anycast addresses for the subnets to which they have
>>    interfaces."
>
> My FritzBox at home certainly does not answer on fe80::%12, and as far
> as I can tell the Juniper switch at the uni does not answer on fe80::%11
>

I've had some experiences with FritzBoxes back in 2010, they do some
unusual IPv6 things e.g., they thought that ULA and GUA prefixes were
to be swapped in RAs, rather than being advertised in parallel,
following the state of the WAN link.

My OpenWRT router is answering pings to fe80::.

$ ping6 -c 3 -I wlp3s0 fe80::
PING fe80::(fe80::) from <deleted>%wlp3s0 wlp3s0: 56 data bytes
64 bytes from fe80::<deleted>%wlp3s0: icmp_seq=1 ttl=64 time=4.78 ms
64 bytes from fe80::<deleted>%wlp3s0: icmp_seq=2 ttl=64 time=42.5 ms
64 bytes from fe80::<deleted>%wlp3s0: icmp_seq=3 ttl=64 time=4.46 ms

--- fe80:: ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 4.469/17.273/42.566/17.885 ms
$


I'm also getting a neighbor table entry for it on the sending host.

fe80:: dev wlp3s0 lladdr <deleted> router STALE

I also verified with tcpdump that it is using fe80:: as the ICMP echo
request destination address.

Regards,
Mark.