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

Gyan Mishra <hayabusagsm@gmail.com> Tue, 10 December 2019 20:47 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 86D501200A4 for <ipv6@ietfa.amsl.com>; Tue, 10 Dec 2019 12:47:21 -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 9oKq6PULJ_Wj for <ipv6@ietfa.amsl.com>; Tue, 10 Dec 2019 12:47:19 -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 F18A7120025 for <6man@ietf.org>; Tue, 10 Dec 2019 12:47:18 -0800 (PST)
Received: by mail-io1-xd2f.google.com with SMTP id s25so5599302iob.0 for <6man@ietf.org>; Tue, 10 Dec 2019 12:47:18 -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=iGmPo1a6WsAUHvxmhIjHkovXBA58JN6EHkC4FP2C4gQ=; b=J0puj4Crd97SEHoe/k8eDswE+yY13eQiL7iSswSEVPq6u+RV2blP0fo/JlFUaEoISn rZX4soXqsyGwFdZxJSZKi2OUvcnXowScOlaOqk9BdcbzOezf3CohglUQA1rQnkIoC6G/ czCm1jACYZMHpvG661E9SSZc92p3oeiP/2n/1uaR3jAqOxGXhuvBOGzSUSRdnak15hnz zXVXQmc21qaFT9462l+IgDjzsw6ow8eePmOs/bs4wmoccBSPnO3R5iKLT4FzCA+Tc43w 6LGMQwRWp1xZnlxOoG2jRXPkD5Ew8PRiYXO2xWZrDTidLYQeZ9gB9BIULw69IocOECHS gfgw==
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=iGmPo1a6WsAUHvxmhIjHkovXBA58JN6EHkC4FP2C4gQ=; b=h57i6ZF+UOgvtNbdk69/LGVI2NsiwOslJoEee+2fBg7f5GQC6dzYlKJw5dywZPaTDY IxmlXU5d6i/p12rj/2RKueZ0qfCUb6KaslfTwlrXAOG9nYYNXHQIgXWBqBAhlRGrPhDb iH0trAkYYbKmZN3ktCtfHn/VYiRkIwuFdEu2DJFCxmQ2RD3EZnV55T4UvznXbFSUb7Xt 4Og79ndGa7HvjJz+13bc7v09myvdFOnVH8BneEzWrtOkksgxPHblosR8Oeog+xKRxxRL IQnuVYNhHa69L9B9ELfEbfD36PGI8smqmnusFJagHVNGj0Dd85+Ypel5df1axD5NWtQF wTFQ==
X-Gm-Message-State: APjAAAVxCI9UIut2ghqNYJvdzB2MkJylXCerbZJYNzhzBmcTSYynnCMU ukYC2xa2qr4MvLGVPM1gu9Lc9vbHwfr7RbDzdnU=
X-Google-Smtp-Source: APXvYqxyy1PAmjzTGqsS8KAHIIdqTNhV/zix5bAxL9uGnmD+uqViXC+m2c4EMGrNQgLMJIdpuBaghpLGITXjF8l9hzE=
X-Received: by 2002:a5d:9bd0:: with SMTP id d16mr27996ion.78.1576010838088; Tue, 10 Dec 2019 12:47:18 -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> <99e4bdd0-711d-7406-d3bf-786b0238c1e7@gont.com.ar> <44e6225f-97bc-37ba-c13e-b7bafa446fcc@gmail.com>
In-Reply-To: <44e6225f-97bc-37ba-c13e-b7bafa446fcc@gmail.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Tue, 10 Dec 2019 15:47:07 -0500
Message-ID: <CABNhwV3YDZXaQrOTw_+xz_nfg=oCDhoLi7jGcFx9sBVFd=-V4Q@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>, Fernando Gont <fernando@gont.com.ar>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, adrian@olddog.co.uk
Content-Type: multipart/alternative; boundary="0000000000002a9e0d05995f9e55"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/J_f2ep-1nNn1YMKobF1lFwudFUE>
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 20:47:21 -0000

Hi Brian & Fernando & Ron

On Tue, Dec 10, 2019 at 2:27 PM Brian E Carpenter <
brian.e.carpenter@gmail.com> wrote:

> Hi Fernando,
>
> On 10-Dec-19 21:39, Fernando Gont wrote:
> > Hi, Brian,
> >
> > On 9/12/19 20:21, Brian E Carpenter wrote:
> >> So, let's assume that two consecutive SRH headers are allowed in the
> same packet.
> >
> > Part of the problem with all these discussions is that folks seem to
> > assume that there is no rationale for the existing rules, and they
> > insist on changing them without providing any analysis/rationale.
> >
> > RFC8200 contains what should be considered a recommendation (at the very
> > least) against multiple routing headers.
> >
> >
> > A RH is meant to convey some sort of information about the path that a
> > packet can traverse. So two SRHs would mean that the same packet should
> > follow two different paths, at the same time. That doesn't seem to be
> > much sense to me.
>
> I agree. That's why I am seriously asking whether we should recall
> draft-ietf-6man-segment-routing-header-26 from the RFC Editor in order
> to resolve this. Either (a) there MUST be at most one SRH in a packet,
> or (b) the semantics and conflict resolution for multiple SRHs need to
> be specified.
>
> At the moment we (6MAN) are on track to publish a Proposed Standard RFC
> that leaves this ambiguous, and SPRING has a draft in WGLC that assumes
> (b).
>

  I am in line with your thinking and that how would the cost process two
SRH from a technical standpoint and how does the code know which SRH to use
for normal processing and which to use for TI-LFA fast reroute processing.

Since TI-LFA is deployment it is somehow working.

My guess is it’s coded such that the last SRH inserted is the one used.  So
In a normal state you are always using the 1st SRH segment list for you
traffic engineered hop by hop path. At the PLR node you have a “backup”
path pre programmed which is your standby TI-LFA path to the egress PQ
node.  So only at the PLR node does it have a NNH next next hop backup
calculation so only on that node and additional hops to the PQ node
junction point is the 2nd SRH programmed as backup and in use.  Once you
hit the PQ node the fast reroute detour is completed and PSP pop occurs if
that backup 2nd SRH eh header.

At that point you proceed as normal BAU using the 1st EH insertion done on
the SR source PE node.


I had to tear down my SR-MPLS & SRv6 lab test bed quite unfortunately, but
hope to have it back online soon so I can do some further debugging and
analysis as when you hit the PLR node doing the post convergence
calculation preprogrammed backup path how does it know which header to use.


>
>    Brian
>
> >
> >
> >
> >> 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?
> >
> > It is clearly recommended against.
> >
> > However, the very draft-voyer-6man-extension-header-insertion doesn't
> > even provide a rationale for EH insertion in the first place, let alone
> > for this specific case that you (reasonably) raise.
> >
> > Unfortunately, when operating in a mode where analysis is discoraged,
> > and "why?" questions are dismissed, I'm not sure there is any other
> > possible alternative outcome than this -- documents with lots of
> > unspecified stuff, violating specs at will, and designs try to cover up
> > what seem to be sub-optimal design choices (like using 128-bit labels
> > for what are expected/supposed to be limited domains) by screwing up the
> > architecture to save bytes that were wasted elsewhere.
> >
> > Thanks,
> >
>
> --------------------------------------------------------------------
> 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