Re: [spring] I-D Action: draft-ietf-spring-srv6-network-programming-06.txt

Robert Raszuk <robert@raszuk.net> Thu, 19 December 2019 23:11 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C05612001A for <spring@ietfa.amsl.com>; Thu, 19 Dec 2019 15:11:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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=raszuk.net
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 awIK-HIxv3ml for <spring@ietfa.amsl.com>; Thu, 19 Dec 2019 15:11:06 -0800 (PST)
Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 B1685120089 for <spring@ietf.org>; Thu, 19 Dec 2019 15:11:06 -0800 (PST)
Received: by mail-qt1-x836.google.com with SMTP id k40so6523973qtk.8 for <spring@ietf.org>; Thu, 19 Dec 2019 15:11:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WeIx4AZ4hxn9jyC/SY4LGZDwe6Iq8DObI6BUUSa2/uI=; b=MPXHtzGat7EIlHv091YOrPz8v0swn+p+dmhJ9L9+yFPvtGGBPPwEqt2P0NQ4Zi6F8e d7mYlQa1I/PSnZRa9ToZlD/CDfOcYk79nnbCLAL2ayC7ejq4PD2Hzk4lOUz6oF13ILw2 FCrX1r53UaVViIMa889SHc72JdGFTScPYx947XiamuRYbxlCgTfRzBE+S/zQ0ZlIhrlq jYBrzZVaV//EbKFp3EduK3S8FCiuA3JAFRykQlBR9ELbsFSEs/PgKGYpZTMNXcC8EQMs orD6v7Com044rmMpZw/nlbU9Jm6C0PUpdk6HmeY1RQCJWQzndm/udkhXhbOhyN5fYPoi ZkUw==
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=WeIx4AZ4hxn9jyC/SY4LGZDwe6Iq8DObI6BUUSa2/uI=; b=I3dadv4DNXiA1khb0JCP2+Rb8V7jClKhjVf0N9dmVGJ+cOFUjXCgEPO1bo3pgdlAnR Q1sfSrhBTvPjDxCegty+GXJpAMt7yuBL1+QsNa99gi7HJ946LTKvAVG6L8CDBz7GzFIi c7u405qrzIonO7FDOhXLo+bweqjk9tmdfGIOpqw/SEeXRGXsq4+TnJFl8RYKxHvjuavD fUte3C+vDqR+AdqIPtwT70IKqlDWlLmI3j/rsOapG7Tou1c8dr7jWrhE/Nc9gG7ugWpd 6N02s+/SmxZS/UgnOm/3ms3pqHCGC9vmFwXXTvnKisMbJEt84pxGJH1f2IPjONk8Jxt5 acbQ==
X-Gm-Message-State: APjAAAV0U0DZZ//9WK0lf0aCxNSPX6rZgVv/1sPgTCc48zWfI1bvnF4D oENkWGrNSoWSl/E1q1DGa641HJK611BcQUBGX/JOgqYdTyg=
X-Google-Smtp-Source: APXvYqwLXFXpVWFEkIbw2jMn6HeHLfazv8/+gGMewb/3nqdxIHj7zki1zHD9eG9tb7fm/U1bqtD1t4KV1GxqSk802uQ=
X-Received: by 2002:aed:2584:: with SMTP id x4mr9746935qtc.343.1576797065847; Thu, 19 Dec 2019 15:11:05 -0800 (PST)
MIME-Version: 1.0
References: <157609408568.11496.11799785813274132900@ietfa.amsl.com> <4c762fc5-8a61-e182-a9cc-d45b0f586ccc@gmail.com> <3A12D735-7899-4679-8FC8-DF8875D40A62@cisco.com> <628e5dfb-7ba4-d841-ebeb-cfc52d7294f1@gmail.com> <ACEF56BF-B851-43B2-9211-B6C39C34DB63@cisco.com> <49b7e45f-a26f-cf4a-f8be-9aa917c34203@gmail.com> <CAOj+MMFBKFBxacT9Z=HR89U10d9=jG-b8ypx4ukQgb0EFfN=Uw@mail.gmail.com> <aef3f572-92a7-5fac-2ec9-8616a74fde13@joelhalpern.com>
In-Reply-To: <aef3f572-92a7-5fac-2ec9-8616a74fde13@joelhalpern.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Fri, 20 Dec 2019 00:10:58 +0100
Message-ID: <CAOj+MMEt=yL=qBYPwBKmwube9FSohZvwBc2JBaKHsrRCdkzFwA@mail.gmail.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
Cc: "spring@ietf.org" <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000fe3ac0059a16ac61"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/8yiHp24cp2wqzk5bCR8Nnah5QhY>
Subject: Re: [spring] I-D Action: draft-ietf-spring-srv6-network-programming-06.txt
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Dec 2019 23:11:08 -0000

Hi Joel,

Yes I do not see why things would not work if original SRC would insert SRH
and PSP would happen leaving original DA to forward.  Case of no encap.

I was more responding to Brian's question "Where are we forwarding if we
are at DA" ... that very DA was the encapsulated one I presume.

But your observation is correct.

Many thx,
R.




On Fri, Dec 20, 2019 at 12:06 AM Joel M. Halpern <jmh@joelhalpern.com>
wrote:

> Robert, you say we are operating on the encapsulating header.
> Do things still work right for the case that the authors felt was
> important in the SRH document where the source and destination hosts are
> inside the SR Domain, and therefore there is only one IPv6 header?  (I
> would not be surprised if they do still work.  But your assertion in the
> email below, and the repeated mention that the encapsulated case was the
> only case during the header insertion discussion in Singapore leaves me
> needing to clarify.)
>
> Yours,
> Joel
>
> On 12/19/2019 6:01 PM, Robert Raszuk wrote:
> >  >   And where is it forwarded to, since we are already at the DA?
> >
> > PSP operates at the n-1 segment end of the SR path so naturally after
> > swapping DA it is forwarded to the segment end. Note that we are all
> > along operating on the encapsulated header ... original packet including
> > its original IPv6 header is sitting as passenger here.
> >
> > So last segment here will received encapsulated IPv6 packet will
> > decapsulate it and fwd based on the original DA.
> >
> > Seems very simple :)
> >
> > Cheers,
> > R.
> >
> > _______________________________________________
> > spring mailing list
> > spring@ietf.org
> > https://www.ietf.org/mailman/listinfo/spring
> >
>