Re: What if? [was Re: Extension Header Insertion]

Gyan Mishra <hayabusagsm@gmail.com> Tue, 10 December 2019 05:28 UTC

Return-Path: <hayabusagsm@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 69AF912021C for <ipv6@ietfa.amsl.com>; Mon, 9 Dec 2019 21:28:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 5CUwddnA4vwG for <ipv6@ietfa.amsl.com>; Mon, 9 Dec 2019 21:28:49 -0800 (PST)
Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (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 50BA91200EB for <6man@ietf.org>; Mon, 9 Dec 2019 21:28:49 -0800 (PST)
Received: by mail-io1-xd2f.google.com with SMTP id x1so17447992iop.7 for <6man@ietf.org>; Mon, 09 Dec 2019 21:28:49 -0800 (PST)
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=6pO9JKJ5DV5HZ2KhS08pU9gE8QH9DZ9+37DN3+vh+hc=; b=N8Mj+XppmU2Q80qiLhUn1BuzGmgRLGKb/jXkk7pBv0FmDG4ntYYMHwFkzt1OvULRRP iGp9764tUzKlDz6SjGYSw5hcHZWBZ7vyp95JIX97zymNyfXFfwHPnO+QfpjDR+V3Z1fB s/7J8SM/0QFRGHHxgiPe4C9rC2lLjYi79+3v52NzY2Dcu9Ny0C6GQ5SAvTjXxCM9xmJt 5vVdtqIcryhmAEKGt7agq22bJsH1K04c6TdRw8EJgXvFMYq3nVOwDl2FLypm3xNysqO+ Ukd4e5rN1qMIE84xv5jeEnXrv2OjRL8VqcY57uV82ZFMS1Y9+AwlGGYmG/7OT6y9AJJh 0UMA==
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=6pO9JKJ5DV5HZ2KhS08pU9gE8QH9DZ9+37DN3+vh+hc=; b=ncRk+mUBlcs1fLw1wm2469AxLTc9PUcNZr8VkhoXOeJEQbHBWH57mVQA5RWGOTNZzz iZqg/wh5AjDeP4WmTxtFO8nBSCNJXzhg2s5WbDzjalHODhrZVBvyf5jPXiwD93SvVOdZ DpA4r18ibOWfIBZ26RpCD+T0HUmXGssZrHzNaRkn0XibFt+tmix2yyhCXH+FmpPnHsCh wPjh2VwPytzPKeHseBMVdIdXYwAIzM5ALtqnsTGOvqLK0GAuLo/SDWLLEgm/fCxi07mf JF48nk+0wdsaIw3wvKg/uPQZKWPRNEVoPbmKj401K8d1oWj8jExZ61ytmTvX4d5XX0e9 2RyA==
X-Gm-Message-State: APjAAAUDLIKgcuSfwd/e/fu4VE+0j+yL7ljaOeHdGuIo4latcBbIDArk EILZRoMXRXhx5UKYWpVppRNN6Gq1Y/BCAkw3a+Y=
X-Google-Smtp-Source: APXvYqzPpiDyrP1l5SF0K5bxJzIWw4Dy9VexYtMsZlb0wi2uByC27MFO5wCC9G9gjrj1VVeFGImOzbpz5QWkjnD7hPk=
X-Received: by 2002:a02:13c2:: with SMTP id 185mr24797932jaz.0.1575955728289; Mon, 09 Dec 2019 21:28:48 -0800 (PST)
MIME-Version: 1.0
References: <BN7PR05MB5699D9BA988F96E2F41CD390AE580@BN7PR05MB5699.namprd05.prod.outlook.com> <00dc01d5ae73$c361b450$4a251cf0$@olddog.co.uk> <dbcdeb1a-0091-da2b-20df-d991e6c06091@gmail.com> <9bc47200-4fea-37ce-0ede-cbf6a5f70ea9@gmail.com>
In-Reply-To: <9bc47200-4fea-37ce-0ede-cbf6a5f70ea9@gmail.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Tue, 10 Dec 2019 00:28:04 -0500
Message-ID: <CABNhwV0ePOEpT57jksKTJf==N0rwnuV5U-xJ4xM9gQGR_GPx=w@mail.gmail.com>
Subject: Re: What if? [was Re: Extension Header Insertion]
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: 6man <6man@ietf.org>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, adrian@olddog.co.uk
Content-Type: multipart/alternative; boundary="0000000000005dd21e059952c99e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/tQfVEOOnQsP2JjGebZ1Wxmoloo4>
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: Tue, 10 Dec 2019 05:28:52 -0000

Brian


I would like to put this into proper context for SRv6 and how it would be
deployed in a real world scenario so we can fully connect all the dots of
this puzzle.

So with SRv6 the 1st SRH eh insertion would never be in flight eh insertion
in the middle of the network.

Providing some context below.

The topology is identical to a typical service provider MPLS core where you
have a PE-CE link to customers.  So in the MPLS scenario the Ingress PE
would add L3 VPN MBGP bottom of stack label for the customer VRF PE-CE
attachment circuit.

With SRv6 the L3 VPN MBGP is encapsulated in IPv6 and sits in the overlay
as the inner header payload since now with SRv6 we have an IPv6 data plane
as our underlay 6in6 outer header instead of MPLS ldp topmost label.
Essentially we are swapping MPLS ldp topmost label for SRv6 IPv6 data plane
underlay with all BGP services overlay remaining as-is intact AFI/SAFI
riding on top of SRv6 sitting in the 6in6 payload.

The SRv6 source node ingress PE of the SR domain would now encapsulate the
SRv6 L3 services TLV and at the same time inserts SRH header routing type 4
for the hop by hop traffic engineering of the flow through the controlled
SRv6 operators domain.

So from the big picture standpoint the 1st SRH eh insertion is most
definitely not in the middle of the network and not in flight eh insertion
since the BGP services TLV originating from the external CE edge is
tunneled over the SRv6 IPv6 data plane controlled operator domain.

BESS WG draft depicts the L3 vpn services TLV that is 6in6 tunneled sits in
the overlay.

https://tools.ietf.org/html/draft-dawra-bess-srv6-services-02


2 <https://tools.ietf.org/html/draft-dawra-bess-srv6-services-02#section-2>.
SRv6 Services TLVs

   This document extends the BGP Prefix-SID attribute
   [I-D.ietf-idr-bgp-prefix-sid
<https://tools.ietf.org/html/draft-dawra-bess-srv6-services-02#ref-I-D.ietf-idr-bgp-prefix-sid>]
to carry SRv6 SIDs and associated
   information.

   The SRv6 Service TLVs are defined as two new TLVs of the BGP Prefix-
   SID Attribute to achieve signaling of SRv6 SIDs for L3 and L2
   services.

   o  SRv6 L3 Service TLV: This TLV encodes Service SID information for
      SRv6 based L3 services.  It corresponds to the equivalent
      functionality provided by an MPLS Label when received with a Layer
      3 service route.  Some behaviors which MAY be encoded, but not
      limited to, are End.DX4, End.DT4, End.DX6, End.DT6, etc.

   o  SRv6 L2 Service TLV: This TLV encodes Service SID information for
      SRv6 based L2 services.  It corresponds to the equivalent
      functionality provided by an MPLS Label1 for EVPN Route-Types as
      defined in[RFC7432].  Some behaviors which MAY be encoded, but not
      limited to, are End.DX2, End.DX2V, End.DT2U, End.DT2M etc.

   When an egress PE is enabled for BGP Services over SRv6 data-plane,
   it MUST signal one or more SRv6 Service SIDs enclosed in SRv6 Service
   TLV(s) within the BGP Prefix-SID Attribute attached to MP-BGP NLRIs
   defined in [RFC4760
<https://tools.ietf.org/html/rfc4760>][RFC4659][RFC5549
<https://tools.ietf.org/html/rfc5549>][RFC7432][RFC4364
<https://tools.ietf.org/html/rfc4364>] where
   applicable as described in section 3
<https://tools.ietf.org/html/draft-dawra-bess-srv6-services-02#section-3>
and 4.

   The 2nd SRH EH insertion with TI-LFA occurs at the PLR point of local

Repair node to the loop free PQ node.


So this addition SRH header is only inserted and   removed during a
failure fast reroute.  I believe  but not sure if TI-LFA behaves the
same as MPLS ldp

Remote LFA where a MPLS label is added at the PLR

Node and tunneled to the PQ node.  I am still      researching that one.


With SRv6 the use cases are for wherever you use mpls public internet or
private or enterprise scenario so you would always have the same SR source
PE encapsulation of the edge CE L3 services TLV and so in any of those use
cases would not be a middle of the network in flight EH insertion which is
a violation of RFC 8200.

Gyan

On Mon, Dec 9, 2019 at 8:21 PM Brian E Carpenter <
brian.e.carpenter@gmail.com> wrote:

> So, let's assume that two consecutive SRH headers are allowed in the same
> packet.
>
> So the first one (an example from
> draft-ietf-6man-segment-routing-header-26) is:
>
>        Segments Left=2
>        Last Entry=2
>        Flags=0
>        Tag=0
>        Segment List[0]=S3
>        Segment List[1]=S2
>        Segment List[2]=S1
>
> and the second one is
>
>        Segments Left=1
>        Last Entry=1
>        Flags=0
>        Tag=0
>        Segment List[0]=S4
>        Segment List[1]=S5
>
> I made that up and it's obviously nonsense, but if this is allowed why
> aren't the rules for processing conflicting SRHs described in
> draft-ietf-6man-segment-routing-header-26? Do we need to recall it from the
> RFC Editor queue to be fixed?
>
> Regards
>    Brian Carpenter
>
> On 10-Dec-19 14:02, Brian E Carpenter wrote:
> > On 09-Dec-19 22:33, Adrian Farrel wrote:
> >> Hi Ron,
> >>
> >> I think we can jump to a quick answer on this because
> draft-ietf-spring-srv6-network-programming-05 says:
> >>
> >>    We assume that the SRH may
> >>    be present multiple times inside each packet.
> >>
> >> Thus we may assume that the proponents of Extension Header insertion do
> think that it is acceptable to insert a second routing header into a packet
> that already has one.
> >>
> >> And 8200 is clear when it says:
> >>    Each extension header should occur at most once, except for the
> >>    Destination Options header, which should occur at most twice (once
> >>    before a Routing header and once before the upper-layer header).
> >
> > That's "should", which in a non-RFC2119 document like RFC 8200, means
> "should".
> > It's not "must". So while I would prefer that the relevant SRH document
> justifies
> > the exception, there isn't a breach of a mandatory requirement.
> >
> >> So draft-ietf-spring-srv6-network-programming-05 includes a false
> assumption which need to be either removed or secured through an update to
> 8200.
> >>
> >> Ideally, I suppose, draft-ietf-6man-segment-routing-header would have
> contained the clarification that the SRH could be present multiple times
> >
> > Yes
> >
> >> (updating 8200 as it went).
> >
> > Unnecessary, IMHO.
> >
> >     Brian
> >
> >>
> >>
> >>
> >> Cheers,
> >>
> >> Adrian
> >>
> >>
> >>
> >> *From:*ipv6 <ipv6-bounces@ietf.org> *On Behalf Of *Ron Bonica
> >> *Sent:* 09 December 2019 03:04
> >> *To:* 6man <6man@ietf.org>
> >> *Subject:* Extension Header Insertion
> >>
> >>
> >>
> >> Folks,
> >>
> >>
> >>
> >> This question is posed primarily to the proponents of Extension Header
> insertion.
> >>
> >>
> >>
> >> Do you think that it is acceptable to insert a second routing header
> into a packet that already has one, so the resulting packet looks like the
> following:
> >>
> >>
> >>
> >>   * IPv6 header
> >>   * SRH
> >>   * SRH
> >>   * Upper-layer header
> >>
> >>
> >>
> >> Would this be common in TI-LFA?
> >>
> >>
> >>
> >>
> 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
> --------------------------------------------------------------------
>
-- 

Gyan S. Mishra

IT Network Engineering & Technology

Verizon Communications Inc. (VZ)

13101 Columbia Pike FDC1 3rd Floor

Silver Spring, MD 20904

United States

Phone: 301 502-1347

Email: gyan.s.mishra@verizon.com

www.linkedin.com/in/networking-technologies-consultant