Re: What is necessity for SRH, and other EH, insertion/removal?

Warren Kumari <warren@kumari.net> Mon, 09 December 2019 16:14 UTC

Return-Path: <warren@kumari.net>
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 C302C120089 for <ipv6@ietfa.amsl.com>; Mon, 9 Dec 2019 08:14:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=kumari-net.20150623.gappssmtp.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 hosWC4gyMJDo for <ipv6@ietfa.amsl.com>; Mon, 9 Dec 2019 08:14:14 -0800 (PST)
Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) (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 B237A12000F for <ipv6@ietf.org>; Mon, 9 Dec 2019 08:14:14 -0800 (PST)
Received: by mail-qv1-xf30.google.com with SMTP id o18so2855048qvf.1 for <ipv6@ietf.org>; Mon, 09 Dec 2019 08:14:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kumari-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mxIXh8vLY+y4GqZLzS6tE2val5Z2he+H2FBXwfLArRs=; b=mztZ9t6xKlqgVhvT1kMAxT8M4VPjLozKidk26kLnbjp5v4mOwFN3l4Na5XJzCTdKQr Dj9GF8bUjxbzhlYJm8KM3ZXHnPE14cdBc0oL+W3BVP5gwyrvIYJdZRfgnqocm8ZRq2Sq 4GFmUqWg+C6HeIrCnfGLcIg6Likhnw2sDnE/vdlLBocYaPL2VL9OeaiXeQX10pIb515p 99FuusshKU0Z+FOzRph2EvuqoTPcwUKK846twq9KpRwgyqO0VVGoZQkVJIRVpY+irkVh qqif7ju/44gE86hzNwilPrBM6TXClesTsoses2b8ytwWlZyz42boHM1v2AIRTJTnl1ox +cPw==
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=mxIXh8vLY+y4GqZLzS6tE2val5Z2he+H2FBXwfLArRs=; b=sgO6LMbn4hEMhOO4NMqm5QVPdUJ9TgfM+sdQsdHikeAVK05tl1GnL7ZMI1upM+7TMQ H+OPcpVlUGrmto9Gc248TBE/BxmB6P7oo8j3R1ZpatKVAZPmERoTYFxpjIRRiNuuT+nG iU10x0rpeMzHb+4GUtAEbmhE0EYCSrddoM0lRYVdynHvUIWh+erPDMQNe7vkD80pjxkS n1tGhydy5Hu2jMxlyxeHycp6CDM5+T4EG9BAuzKpplbPWagGT2cZaMwHn6YY5h7BnG9C CNJDCwvj8aj1AsmNLkqUf7zw4dqzdb1Rux4lBTq6bAS7eYX5933WTYO/iqvca8QdfEu5 Y9/g==
X-Gm-Message-State: APjAAAWj8JS/P8+XvM+qWxZKvBIpy5aehA34NVpTs/rPV9jWzPLT2d+m e5UONOdVCdyvEYLJhUW8sYhUT9eFDuSEhEhdOwsdiij7L1g=
X-Google-Smtp-Source: APXvYqwcH0I2SBa8fuKy98GV1KlJ1MY5POXnCoonMZs2DonCXeplBYEtWxUqhVGfRZZfW95uXXwgyVC47NSBD5XPgSs=
X-Received: by 2002:a0c:8061:: with SMTP id 88mr24584496qva.62.1575908053494; Mon, 09 Dec 2019 08:14:13 -0800 (PST)
MIME-Version: 1.0
References: <CALx6S34vG=L_5nw_FzxHBUy+7tbWH4dhOh8xodOfKf2oOdrarg@mail.gmail.com> <04a501d5ad25$f0745a50$d15d0ef0$@olddog.co.uk> <BN7PR05MB56998243A0F4C8EE03D0816BAE580@BN7PR05MB5699.namprd05.prod.outlook.com>
In-Reply-To: <BN7PR05MB56998243A0F4C8EE03D0816BAE580@BN7PR05MB5699.namprd05.prod.outlook.com>
From: Warren Kumari <warren@kumari.net>
Date: Mon, 09 Dec 2019 11:13:37 -0500
Message-ID: <CAHw9_iJbRc5tFKdC_NXteuRo_RCtNgmu19=EUAUpp8hY3LW9fA@mail.gmail.com>
Subject: Re: What is necessity for SRH, and other EH, insertion/removal?
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
Cc: "adrian@olddog.co.uk" <adrian@olddog.co.uk>, Tom Herbert <tom@herbertland.com>, 6man <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/V7LYw4cjHEkimZ4vq3dAjQH48NQ>
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, 09 Dec 2019 16:14:17 -0000

On Sun, Dec 8, 2019 at 9:26 PM Ron Bonica
<rbonica=40juniper.net@dmarc.ietf.org> wrote:
>
> Hi Adrian,
>
> If the destination node can process Routing headers on the fast path, but does not recognize the SRH, it SHOULD:
>         - skip over the SRH, because Segments Left is equal to zero (as per RFC 8200)
>         - forward the packet at line speed
>
> If the destination node cannot process Routing headers on the fast path, it will:
>         - punt the packet to the slow path
>         - skip over the SRH, because Segments Left is equal to zero (as per RFC 8200)
>         - forward the packet, albeit slowly
>

Wait, what?

The slow path is not "slow" in the sense of it takes its time figuring
out what to do with the packets, it is "slow" in the sense that it is
a much lower bandwidth. My slow path is already sufficiently busy
doing things like BFD, ICMP, TTL expired, and, depending which slow
path you are meaning, things like routing updates and SSH and
management and things like that.

I suspect what actually happens is:
If the destination node cannot process Routing headers on the fast
path, it will:
         - punt the packet to the slow path
         - hit the control plane policer
         - throw away the packet

Expecting the slow path (PFE or RE or ...) to touch transit traffic
simply won't work at any kind of scale.

W
[0]: it also takes longer to figure out what to do with the packets,
but that is a secondary concern

>                                                                                          Ron
>
>
> Juniper Business Use Only
>
> -----Original Message-----
> From: ipv6 <ipv6-bounces@ietf.org> On Behalf Of Adrian Farrel
> Sent: Saturday, December 7, 2019 12:44 PM
> To: 'Tom Herbert' <tom@herbertland.com>; '6man' <ipv6@ietf.org>
> Subject: RE: What is necessity for SRH, and other EH, insertion/removal?
>
> Hi Tom,
>
> Thanks for breaking the thread and focussing us back on technical questions.
>
> I can see some small value in PSP just as there is in MPLS PHP. This arises in the combination of two circumstances:
> - The destination node is not SRH-capable
> - The source node and/or the node that determines the SR path is not aware that the destination is not SRH-capable In that case, the penultimate segment end point can know that its segment neighbour end point is not SRH-capable and can perform PSP.
>
> Whether this is ever the case with a central controller is unclear.
>
> I'm not sure that this is a big use case, although MPLS PHP has proven to have use cases as a form of "pop and go" especially when the next hop needs to process the payload as "native".
>
> There may be other use cases, and I'd be keen to learn about them.
>
> The principle of keep things simple yet extensible would suggest that if there are no substantial reasons to include a function it should be shelved until there is a use case, but that this should be done in a way that allows additions if necessary.
>
> Cheers,
> Adrian
>
> -----Original Message-----
> From: ipv6 <ipv6-bounces@ietf.org> On Behalf Of Tom Herbert
> Sent: 07 December 2019 17:17
> To: 6man <ipv6@ietf.org>
> Subject: What is necessity for SRH, and other EH, insertion/removal?
>
> Pulling this out into a separate thread. Pertinent questions are:
>
> Why is extension header insertion and removal at necessary?
>
> Why isn't the proposed alternative of IPIP encapsulation sufficient?
> (where the encapsulating headers contain the extension headers that would otherwise be inserted)
>
> Please note, I'm asking for the technical justification of the protocol design, saying that it's necessary because it's already being deployed isn't useful in this regard.
>
> Tom
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/ipv6__;!!NEt6yMaO-gk!WzZKN3lbJ3IPeRv55moUERJbxW2t8ERi7n1WUHmRTQTT1SP56_ODQLQ5_06G_k7T$
> --------------------------------------------------------------------
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/ipv6__;!!NEt6yMaO-gk!WzZKN3lbJ3IPeRv55moUERJbxW2t8ERi7n1WUHmRTQTT1SP56_ODQLQ5_06G_k7T$
> --------------------------------------------------------------------
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------



-- 
I don't think the execution is relevant when it was obviously a bad
idea in the first place.
This is like putting rabid weasels in your pants, and later expressing
regret at having chosen those particular rabid weasels and that pair
of pants.
   ---maf