Re: [Bier] [v6ops] IPv6 link-local traffic questions

Tony Przygienda <tonysietf@gmail.com> Fri, 13 March 2020 00:06 UTC

Return-Path: <tonysietf@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 E21643A09D4; Thu, 12 Mar 2020 17:06:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 nu_GK0CJwFCa; Thu, 12 Mar 2020 17:06:35 -0700 (PDT)
Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (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 C6D163A09D2; Thu, 12 Mar 2020 17:06:35 -0700 (PDT)
Received: by mail-il1-x132.google.com with SMTP id a14so7242588ilk.6; Thu, 12 Mar 2020 17:06:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7/l0evnKDVFmClRi56IAYcO/sSQgdv6ZZlgMVrJHA10=; b=ZWu5Om56UaFrLg4gbo5opUGJ4N4XUE8UzUO8KkVYrQ3j21+i69Olqgbh3RhOnFJg3S eNMRHaYu1izYaQybgDqetmE6y8UGDfDi3gIRB7B9Ng09lFUyOf83n5qORMJPzPNuIotv tDTmJN7HBA1K8NFfE5Oa/uqo/4r3edMZper1wzlzR67zb00nnfuPlVRdTWk6+uXdwr0E xkYvAiqay6e3fb/Risw+znbx7ZZm17fHJNZDb7vZhvmUa9KIY3rYWj6S5Zw5KIxTgxk/ gSW1lIjrrc7CimDIt2mf9x6sW1z3FxNx8/EnaGtyiV+CXOrbwIun+EP6hodEChpKs/zN jlqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7/l0evnKDVFmClRi56IAYcO/sSQgdv6ZZlgMVrJHA10=; b=b1X9LyJAUWhzAoc3VRdC/HmhUrf+5u/Lf1lfEyLLWT7vEozLoUVVtMe74CzUDu2a5S i7UhnwCwWsYU6o7xM/DFycnNw71vwCLTyoitYbFwphg0ay5qehVVxj/kalYm1vym0URD CLmCTZKNuuflGPIPc9HwlpfFZFl55v8XvEzow8WBa6XnK89XuTiaJfqj0TJCIL5i+DF9 jkavhcbT3sIH0skjTsDk1iQM0CF3vEhyGgnPenR2MLNCrmPofPTrvhi3GZh6HF8Nw7vf 6HSMgClKiv8Y1qkFaPZ/I94QqZWyY81AE5YJLsFRR8Xsd0jiNjjcRumuu9rIbAOI2UCC 101g==
X-Gm-Message-State: ANhLgQ2cSXil76Cvw755m6h/WXh97gMoLLGXndqK9k/cXuI1bLLwB6Go 6tlpBjkD3dfbeTnZRoP2JsHsWu2yErhcEEBkkS8eDNby
X-Google-Smtp-Source: ADFU+vsTfFQYcdMKYMzN7wKvyqLhI8+sf0PPf9mKNtU2ZhIsPAW8GrB/Ey7AwP/hSOlpP1owOejgmhkUc/fJQjGHnQ0=
X-Received: by 2002:a92:ce04:: with SMTP id b4mr5190593ilo.269.1584057995059; Thu, 12 Mar 2020 17:06:35 -0700 (PDT)
MIME-Version: 1.0
References: <20200312000016.GO54522@faui48f.informatik.uni-erlangen.de> <CAO42Z2zfO9rA8NWfvNgBpWeJgLpuONr39Z2RgForyXCF=PrTrw@mail.gmail.com> <20200312213601.GB34894@faui48f.informatik.uni-erlangen.de> <CAMGpriXhxfM0b4YdCcB9__b=9Us3NosQMXNF4F7QQmeyOUE4Jg@mail.gmail.com>
In-Reply-To: <CAMGpriXhxfM0b4YdCcB9__b=9Us3NosQMXNF4F7QQmeyOUE4Jg@mail.gmail.com>
From: Tony Przygienda <tonysietf@gmail.com>
Date: Thu, 12 Mar 2020 17:05:01 -0700
Message-ID: <CA+wi2hPmOq6HOiWE03XGzGMNXH2FrsP4oxieDFLWGo-Gq=ZN6Q@mail.gmail.com>
Subject: Re: [Bier] [v6ops] IPv6 link-local traffic questions
To: Erik Kline <ek.ietf@gmail.com>
Cc: Toerless Eckert <tte@cs.fau.de>, 6MAN <6man@ietf.org>, v6ops list <v6ops@ietf.org>, BIER WG <bier@ietf.org>, Mark Smith <markzzzsmith@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000196a4b05a0b13e18"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/lRof8G4Af1Dp2dFl3DtUOXNhgNo>
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, 13 Mar 2020 00:06:38 -0000

interesting exchange and Erik's last observation (ttl=1 and LL for
multicast) puts it on the point, we are talking here a suggestion for BIER
control plane where the contained packet is multicast. I would hate to see
a multicast packet due to TTL > 1 end up in funky place and replicated
there.

Another interesting question is what if the LL source and destination are
the same and TTL>1 but AFAIK that cannot happen since LL is generated using
EUI-64 (albeit to my surprise I saw enough customers running same LL
address on all links of a device & this is valid :-/

That aside, as I mentioned to Toerless that LL with TTL=1 is usual stuff
since long time, we are talking here either something like BFD router to
router or now in case of BIER it's suggested to be used as "implicit one
hop tunnel" basically carrying BIER frame router-to-router instead of ether
encaps (since BIER is L2.5, strictly speaking "abusing" v6 as transport is
bit rich but it satisfies things like HOMENET which need mutlicast very
nicely where the silicon doesn't need to process BIER but processes naive
v6 easily, after v6 decaps it can go to slow path since HOMENET doesn't
need any serious mcast throughtput [but nothing special AFAIS if the
silicon chooses to process it after the decaps when demand arises or when
used e.g. in core])

thanks

--- tony



On Thu, Mar 12, 2020 at 4:50 PM Erik Kline <ek.ietf@gmail.com> wrote:

>
>
> On Thu, Mar 12, 2020 at 2:36 PM Toerless Eckert <tte@cs.fau.de> wrote:
>
>> On Thu, Mar 12, 2020 at 12:18:32PM +1100, Mark Smith wrote:
>> > RFC4007  allows packets with link-local destinations to be forwarded
>> > by a router, but only back onto the same link:
>>
>> Oh, my favourite coffin nail RFC.
>>
>> > "Thus, if a
>> >    router receives a packet with a link-local destination address that
>> >    is not one of the router's own link-local addresses on the arrival
>> >    link, the router is expected to try to forward the packet to the
>> >    destination on that link (subject to successful determination of the
>> >    destination's link-layer address via the Neighbor Discovery protocol
>> >    [9]).  The forwarded packet may be transmitted back through the
>> >    arrival interface, or through any other interface attached to the
>> >    same link."
>> >
>> >
>> > I think in theory that could also mean forwarded to another router on
>> > the link that then forwards back again onto the link etc., so it is
>> > valid for a packet with a link-local destination address to have an
>> > initial Hop Count value that allows it to be forwarded by multiple
>> > routers, all limited to being forwarded within the same link.
>>
>> So this behavior breaks both TTL=1 and RFC5082 packets.
>>
>> Nice. This RFC is getting better every time i learn more of it.
>>
>
> My personal experience is that 255 is standard for link-local unicast
> communications, and 1 is commonly used for link-local multicast.
>
> > This draft might be useful, as it collects together and summarises
>> > information about using Link-Local Addresses (and is something I've
>> > been meaning to get back to updating, suggestions welcome):
>> >
>> > How to use IPv6 Link-Local Addresses in Applications
>> > https://tools.ietf.org/html/draft-smith-ipv6-link-locals-apps-00
>>
>> Nice.
>>
>> Let me split that off.
>>
>> cheers
>>     Toerless
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>>
> _______________________________________________
> BIER mailing list
> BIER@ietf.org
> https://www.ietf.org/mailman/listinfo/bier
>