Re: SRH insertion vs encapsulation (Re: Next steps on Extension Header Insertion)

Tom Herbert <tom@herbertland.com> Fri, 04 November 2016 17:41 UTC

Return-Path: <tom@herbertland.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 3E49C1295EC for <ipv6@ietfa.amsl.com>; Fri, 4 Nov 2016 10:41:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.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 jOo58JYSxjpR for <ipv6@ietfa.amsl.com>; Fri, 4 Nov 2016 10:41:45 -0700 (PDT)
Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (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 54C3A129497 for <ipv6@ietf.org>; Fri, 4 Nov 2016 10:41:45 -0700 (PDT)
Received: by mail-qk0-x233.google.com with SMTP id x190so104786343qkb.0 for <ipv6@ietf.org>; Fri, 04 Nov 2016 10:41:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=51Z5Z58udl8ykn5hrSU/okl4UTtBSRPDxodaoetTKRQ=; b=cSeS6wiNXMir0G/CvHer93CAa9aF9ro3JvdaLDR4qEbGwOBWtrNfvyJtAm3Vl2bdB1 aLAETMB7nVzRLs0takUo+h5UaW3FkNTIq3iv1b1pZNVM6JsZrGsSbqK1TkjGMlxyeuVW exUMcmdS4fwvhnP3g7oCs7qHWEb1gVgRKlC0Ddd0p6xzC8DQ75N7CyIYY+skMIQIFKt0 qFaVAGh/rEiAC5VEbwqTDpYU+ljVAP+TYECzGIaLdRlKlGGjmzLOzMP7+A5qhoNqSjSk DgUZLhyyeQyDftJhBDNCTAU1Gnrgd2m9hbMPXJHjiOBNnyesIi3wjcS5GoqGFRDL5zve dAig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=51Z5Z58udl8ykn5hrSU/okl4UTtBSRPDxodaoetTKRQ=; b=OTknDaujtVUs6GCEZ4OM7b8LeLzfXjr9Zr52kFEwCw6Xya8xqHI6pW37xCHt41KQo3 xycmmleMtSnR7mrmuNEna6O9GUhOdSg8rKte3x0j+2MHuMvTOhyqW//8YFdviEBbvRG2 kpxLES1AntaYeM7xy9RStlN98G/V9b7g9805fzJnt2tme8WhbwGzPDFlzyuDOK4nxyNs btNs6fCnrXq30Kq32IzfT5kjZBw+bDOzvDMY6z2UfcfIyFaLd6RBe4QTRIibGPrfJt8s D++4+Lua6gchzHvbCO1UHuLf5PmyrojT3ExBRJi+T9PIAXxak98yd8g3ZP3Ore4W+SnS E8fQ==
X-Gm-Message-State: ABUngve1v5j3gR20ByckNMEaGQeBJ66EZoNYMhW4v0rfffiSAkzcoOLP2yevXIfLykWhkg+V0Pc+vjRFhDMwpg==
X-Received: by 10.233.232.133 with SMTP id a127mr1167869qkg.235.1478281304384; Fri, 04 Nov 2016 10:41:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.200.58.197 with HTTP; Fri, 4 Nov 2016 10:41:43 -0700 (PDT)
In-Reply-To: <C4DBE2C0-FEFB-4D33-8B9F-F19807AF6E11@cisco.com>
References: <CAJE_bqebnwwDj_00=N-ZNffE++SaEMwA6vT+i-nb0C_vmZHCRA@mail.gmail.com> <C4DBE2C0-FEFB-4D33-8B9F-F19807AF6E11@cisco.com>
From: Tom Herbert <tom@herbertland.com>
Date: Fri, 04 Nov 2016 10:41:43 -0700
Message-ID: <CALx6S36wau10FSJ95j4XLWLu+gHANOzGr4OneC6hReTPxtMvfg@mail.gmail.com>
Subject: Re: SRH insertion vs encapsulation (Re: Next steps on Extension Header Insertion)
To: "Stefano Previdi (sprevidi)" <sprevidi@cisco.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/e6Gx8YcXCk5fU3LsXye0yzXrQmE>
Cc: Fernando Gont <fgont@si6networks.com>, 6man WG <ipv6@ietf.org>, 神明達哉 <jinmei@wide.ad.jp>, Bob Hinden <bob.hinden@gmail.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.17
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, 04 Nov 2016 17:41:47 -0000

On Fri, Nov 4, 2016 at 10:01 AM, Stefano Previdi (sprevidi)
<sprevidi@cisco.com> wrote:
>
>> On Nov 4, 2016, at 5:03 PM, 神明達哉 <jinmei@wide.ad.jp> wrote:
>>
>> At Fri, 4 Nov 2016 11:16:34 +0000,
>> Tim Chown <Tim.Chown@jisc.ac.uk> wrote:
>>
>>>> Huh? The segment routing header is far from imaginary.
>>>
>>> But what do you deduce is really being specified in the SRH drafts?
>>>
>>> In draft-ietf-6man-segment-routing-header-02 it says in section 2.2:
>>> [...]
>>> which implies the SRH uses encapsulation, and doesn’t insert an EH
>>> in the existing header chain.
>>
>> My understanding is that actual implementations don't follow what's
>> written in the draft and do insert an SRH:
>> https://www.ietf.org/mail-archive/web/ipv6/current/msg24236.html
>
>
> In fact, there are implementations that do what’s written in the draft and also do header insertion for some use cases. The use cases applies to controlled environments where, typically, a EH is inserted at ingress and removed at egress. This is the reality of v6 segment routing implementations used over v6 infrastructure of some operators.
>
FWIW, the SR patches currently under review for Linux also do this. I
did point out the discussions about EH insertion happening on this
list, but I doubt that we would disallow patches based on that. My
recommendation was to put a big disclaimer in the documentation and
allow user to configure it with the assumption they know what they're
doing.

Tom

> s.
>
>
>
>> (And my understanding is that the desire of some people to make the
>> "actual" behavior explicitly standard-compliant is one major
>> background motivation of why we are having this thread.)
>
>>
>> --
>> JINMEI, Tatuya
>>
>> --------------------------------------------------------------------
>> 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
> --------------------------------------------------------------------