Re: Other use cases for header insertion (was Re: Header Insertion and TI-FA)

Mark Smith <markzzzsmith@gmail.com> Mon, 11 May 2020 20:38 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 F201F3A0BA7 for <ipv6@ietfa.amsl.com>; Mon, 11 May 2020 13:38:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.597
X-Spam-Level:
X-Spam-Status: No, score=-0.597 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 NJ4CagQaGh4e for <ipv6@ietfa.amsl.com>; Mon, 11 May 2020 13:38:48 -0700 (PDT)
Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) (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 614D43A0D0F for <6man@ietf.org>; Mon, 11 May 2020 13:37:50 -0700 (PDT)
Received: by mail-oi1-x22c.google.com with SMTP id a2so16117761oia.11 for <6man@ietf.org>; Mon, 11 May 2020 13:37:50 -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=h9GCSw/gkI26RgQbZlGOjPrVmgLwvWmOotDU5LOZO/8=; b=PHdidD/DeQzqriy7ECE9pOKOTWJfxqkr4j8FAK/VqVQo3Vl2vbAH8tD9Q2BmltsAtA 6S5+DRYXNUfozYlBibYlZr62PELEXCrmyPCC1F6hHbzBjKzS82Cjah5fPQW7RAgAEKaw g/jbbfGY9E2VVbdYTHvT9FWplV2QRG6zgnc1vrOc+Q7iJCcsOuxDEHsbSqRpQpRaasUF Uz6h5RKrxVReEWjY+eJ0zw7fNh/G4Th481kmDmejCRAAXg8HrhfezH6Ufk+dxIZtODdJ miV/sm8GRI43VeXiQOxDTlxLzp9pLTzflEcp/LZudfs/l+gTv7lTN7B1Tvv8/DUgdlqr lI6Q==
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=h9GCSw/gkI26RgQbZlGOjPrVmgLwvWmOotDU5LOZO/8=; b=tsaiJW5YMHRoM0MAMtq5JTmLAInHONHOizSdMBAkkrV8JzpdznYPWJyk9C+AffscPP +aj9XP/fL7xLTGB0qDDN+sJDhoiMg4j5dR+8HEqfDMGvJNXol0FGV/Hl6HWnOh/Q+Z1B vJcYYw7xQbhQiIBa1hFOMsapihdyRPHGW5goouP9rPGkqRaKKaLF6+R5vRoDFwBlmYPY hwEfX2+U6qHXDJnSH/R8DGCnOrDsx4e465WM0hWcSGBcpj7TtmvI0eQF6+z2CQrOwYzF E1aPxv4Rvknkkq9sufdH9kZQZNhzF9FEbuKPGu8CyH0+84TOO0haI13x+wtGw0JcQx3j rFHQ==
X-Gm-Message-State: AGi0PuZKQuiw/X+ma5xxfubxe/WZHZOEUL9pQ52wQyE/6wTTX4/gEPQk QPKJaagzBScXpALBiDb8cSdA7fL1WD26NiqClq0=
X-Google-Smtp-Source: APiQypL0onheLyu1qV4Uh49URgzf8wYQYVzLsMgrRQOB7b72NegwbrJWLHq9IyFueBpvVrUPQzmxtKDAncZb+7ywGLs=
X-Received: by 2002:aca:4bc2:: with SMTP id y185mr11994347oia.164.1589229469472; Mon, 11 May 2020 13:37:49 -0700 (PDT)
MIME-Version: 1.0
References: <DM6PR05MB6348FA1FC00258ACE4FDE444AEA10@DM6PR05MB6348.namprd05.prod.outlook.com> <CALx6S35EncqhfBCP0aZHqBQ2MBT1VSxpRUB59dOTBpP4wwFsjg@mail.gmail.com>
In-Reply-To: <CALx6S35EncqhfBCP0aZHqBQ2MBT1VSxpRUB59dOTBpP4wwFsjg@mail.gmail.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Tue, 12 May 2020 06:37:23 +1000
Message-ID: <CAO42Z2yXxZCddqrWv5Ycpi8R9YcvGj-=3o+a65LyKJnf38T7KQ@mail.gmail.com>
Subject: Re: Other use cases for header insertion (was Re: Header Insertion and TI-FA)
To: Tom Herbert <tom@herbertland.com>
Cc: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, 6man <6man@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000fe9d7d05a56551df"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/nt0kzC3kOp7Fu3oDwCGoJP7IISc>
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: Mon, 11 May 2020 20:38:50 -0000

On Tue, 12 May 2020, 00:50 Tom Herbert, <tom@herbertland.com> wrote:

> On Mon, May 11, 2020 at 5:58 AM Ron Bonica
> <rbonica=40juniper.net@dmarc.ietf.org> wrote:
> >
> > Folks,
> >
> >
> >
> > Happy Monday!
> >
> >
> >
> > As I was painting this weekend, I remembered that the use-case for IPv6
> Header insertion is TI-LFA. This made the following questions come to mind:
> >
>
> Ron,
>
> There is at least one other use case for IPv6 Header insertion, that
> being IOAM. For example, an operator may wish to collect per packet
> statistics as packets traverse its network. An ingress router would
> insert headers containing IOAM, routers would annotate the
> information, and the egress router is expected to consume and remove
> the headers.



Have a review of this draft. EH insertion is not proposed for IOAM.

Deployment Considerations for In-situ OAM with IPv6 Options
https://tools.ietf.org/html/draft-ioametal-ippm-6man-ioam-ipv6-deployment-02

My suggestion for that draft was the "IP-in-IPv6 encapsulation with ULA"
section.

If the IOAM nodes are a link-layer adjacent and contiguous through the IOAM
domain, which I think will be likely in a lot of deployments, then the
outer tunnel addressing could be Link-Local Addresses, and the IPv6 tunnels
are implicit as LLAs are required for all IPv6 interfaces.

An even lower overhead option in this scenario is to carry the IOAM header
directly after the link-layer header, similar to how the MPLS label stack
is encoded after the link-layer header, before the IP header.

That would mean defining an IOAM link-layer type value for the IOAM header,
however there aren't many link-layers, and an Ethertype for the IOAM header
is already being defined:

"Ethernet Encapsulation for In-situ OAM Data"
https://tools.ietf.org/html/draft-weis-ippm-ioam-eth-02

I'll email Frank again about this as I haven't heard anything since I
emailed him before.


> The big difference between this use case and SR is that
> there's no source routing involved so the ingress router doesn't
> necessarily know what the egress router is, hence the ingress router
> wouldn't know the right destination address to use in encapsulation.
>

The model to have in mind is how packets are mapped onto MPLS LSPs and how
packets are mapped onto link-layer next hops. Destination address route
table lookup specifying next IPv6 hop and corresponding link-layer
encapsulation and next hop link-layer address. In this case the outer IPv6
tunnels between IOAM nodes are virtual link-layers.



> I believe that this is currently being developed and maybe even being
> deployed, but not under the auspices of IETF. Frankly, figuring out
> how to do header insertion in a sensible and standard way would be a
> step up from some of the methods being proposed. The most egregious
> proposal I've seen was one in which the ingress router would place the
> IOAM information in the TCP payload and then use diff serv bits to
> indicate the TCP payload is modified. Of course the day a network
> fails to remove the inserted information this completely breaks TCP!
>
> This use case makes me think the WG should consider how to make header
> insertion safe and viable.
>

There's a need for a layer 2.5 local networking protocol that has smaller
headers (and smaller addressing) than IPv6, that won't cause problems if it
leaks because it is not the Internet's protocol, because all this EH
insertion debate and pain is caused by people wanting to use IPv6, but not
wanting to pay the IPv6 internetworking protocol overhead. They're trying
to have their cake and eat it too.

MPLS framing is an example of something that suits requirement ("MPLS" here
is not implying the "MPLS Family" of protocols (RSVP, LDP etc.) that are
apparently the actual cause of the problem that SR is trying to solve).
There could be other options.

So people need to either accept the IPv6 overhead trade-off to get the
commodity benefits of IPv6, or be willing to deploy a lower overhead local
network protocol to carry that local information in their network.

EH insertion is a hack and will always be a hack, and anything that tries
to work around its issues will also going to be a hack. Decommodified IPv6
due to hacks is not commodity IPv6.

Regards,
Mark.


> Tom
> >
> >
> > How does TI-LFA work when the original packet already contains a routing
> header? Will it insert a second, so that the packet has two routing headers?
> > How does TI-LFA work when the node directly upstream of the link (i.e.,
> the PLR) is not a segment endpoint? Will it insert an routing header? Is
> that consistent with 8200?
> >
> >
> >
> >
>                                                Ron
> >
> >
> >
> >
> >
> >
> > Juniper Business Use Only
> >
> > --------------------------------------------------------------------
> > IETF IPv6 working group mailing list
> > ipv6@ietf.org
> > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> > --------------------------------------------------------------------
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>