Re: [spring] 6MAN WGLC: draft-ietf-6man-sids

Suresh Krishnan <suresh.krishnan@gmail.com> Wed, 12 October 2022 04:17 UTC

Return-Path: <suresh.krishnan@gmail.com>
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 A6036C14F749; Tue, 11 Oct 2022 21:17:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-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, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BB5TH1VRUnTw; Tue, 11 Oct 2022 21:17:10 -0700 (PDT)
Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D4C21C14CEFC; Tue, 11 Oct 2022 21:17:10 -0700 (PDT)
Received: by mail-qv1-xf2a.google.com with SMTP id g9so10222340qvo.12; Tue, 11 Oct 2022 21:17:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=KaFftJ+PpGAkT09pYvWbsVsjA5eSON51rfeYUI0gZX8=; b=Oizr12DeH6bkQKTnXV5I2T+I1/aa6Ywtwk2Nj/7waMiwTu8LHdgVCvX/84iEmgcDVY Z0ni0OpGLti9rH9Ixr3mlOPEG6qwtf0jIwejSgjeRV6VtbkzoHAruMce1YK8PXXEkmnS A5zADtwiUCLaQKgu78UUS6E5M+xZQSJbPBGHuq8JMj5r3lcj6XH1U8542AoOrDzwCwEP BUHdND8blyH7rlrlQLcclgtHz37eS14EN4MH6bOI1ylYkZs9vDIoL4Mt5LsMr7Gnm7Oy dbLu0K+GCUjSC1lTxQPqAVlKeifUWqRt2DHX3tREtWmUPtVTyuCjweM2yDL4dW+pbW3m 9Org==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KaFftJ+PpGAkT09pYvWbsVsjA5eSON51rfeYUI0gZX8=; b=MAdFMFUSbhGsDN7Q4U/ubFYjp9aAdD4MPuQf0fKzjhHLDasKgDExiGN32EmO87B1EZ 5oflr6sOdzBTqVCYUEVxqbQJs5WFFve0PkP7eAMTF9TI7cWRhHodVDZ1EkJtjC0WwDjb p3422sRnVelvyLZpVqZt5w0L4K5zIkEwb2NiqbtzIZiOnC6BgUNOUkTPfWuxuvB/Tv3u ihTC0NZmXS3pvvuSVg1kZDVnANouvcHyxWRLh6gd8nnGMBXCmHMg57sngewgKGeZmUKm AiV+JMbNJcCY5bY9hD1XzFXIcM9Vq31g6buYI74ErnoYzHNog/ex9VYkwWm2D1xR0Wyg bU1g==
X-Gm-Message-State: ACrzQf1Cxl2U4XmlHVoFwXsNomIZaFE5kecaOs5GFTpoJ7oVV++LW731 13p3QSz9rgpc96tQmPfTOns=
X-Google-Smtp-Source: AMsMyM47rEcmsDuALuN9vDe/x6CJQtjBzxSLJpMHvAg8JAsJSP+IQl+ChtrFHjN9YUYpTzseG1EbRA==
X-Received: by 2002:a05:6214:27e6:b0:4b4:456b:13c6 with SMTP id jt6-20020a05621427e600b004b4456b13c6mr6051779qvb.108.1665548229515; Tue, 11 Oct 2022 21:17:09 -0700 (PDT)
Received: from smtpclient.apple (45-19-110-76.lightspeed.tukrga.sbcglobal.net. [45.19.110.76]) by smtp.gmail.com with ESMTPSA id e124-20020a37b582000000b006ceb933a9fesm14697300qkf.81.2022.10.11.21.17.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Oct 2022 21:17:08 -0700 (PDT)
From: Suresh Krishnan <suresh.krishnan@gmail.com>
Message-Id: <F720FC22-A44C-43C2-9635-259262B3F6E0@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_9FBE9477-4679-40B5-A669-CE16F6C865C4"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\))
Date: Wed, 12 Oct 2022 00:17:07 -0400
In-Reply-To: <CAG=3OHcpc=+ymhq1S=3gi-Aidx2iqefY9zq2U2qnwen1qtU2CQ@mail.gmail.com>
Cc: Jen Linkova <furry13@gmail.com>, 6man <ipv6@ietf.org>, SPRING WG List <spring@ietf.org>, 6man Chairs <6man-chairs@ietf.org>, draft-ietf-6man-sids.authors@ietf.org, spring-chairs@ietf.org
To: Eduard Metz <etmetz@gmail.com>
References: <CAFU7BARixwPZTrNQOuEw3WP-FqUsVwTj7btMTahcMbXm_NqWGw@mail.gmail.com> <CAG=3OHcpc=+ymhq1S=3gi-Aidx2iqefY9zq2U2qnwen1qtU2CQ@mail.gmail.com>
X-Mailer: Apple Mail (2.3654.80.0.2.43)
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/ShpuK6iCQCyuX-ge1PPajyi-Qz4>
Subject: Re: [spring] 6MAN WGLC: draft-ietf-6man-sids
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.39
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: Wed, 12 Oct 2022 04:17:14 -0000

Hi Eduard,
  Thanks for your comments.

> On Oct 11, 2022, at 3:29 AM, Eduard Metz <etmetz@gmail.com> wrote:
> 
> Apologies for the late review, some comments from my side (maybe some have been addressed already earlier, I didn't check, the thread was quite lengthy)

Haha. Yes it is :-). Most of the things you brought up have been discussed and potentially resolved in version -02. There were a couple of new points and I have tried to address them inline.
  
> With regard to RFC4291 I assume the main observation is that the SRv6 SID structure does not match with the structure of RFC4291, in particular the interface ID part. A small discussion on the other aspects of RFC4291 could be added to further clarify this (as done for the subnet-router anycast address). In theory, if the SRv6 SID would start with "000" the interface ID would not even be a problem.

The actual block to be allocated will come from IANA but there are a whole bunch of allocations in this space that are used for special purposes already and the goal might be to make this prefix separate from the existing used blocks. If you have a suggestion for a recommendation from the WG, feel free to put one up.

>  
>  
> Some specific points in the draft-01 text:
>  
> [RFC8754] defines the Segment List of the SRH as a contiguous array of 128-bit IPv6 addresses, and that each of the elements in this list are SIDs.  But all of these elements are not necessarily made equal.  Some of these elements may represent a local interface as described in Section 4.3 of [RFC8754] <https://datatracker.ietf.org/doc/html/rfc8754#section-4.3> as "A FIB entry that represents a local interface, not locally instantiated as an SRv6 SID".  From this it follows that all the SIDs that appear in the SRH are not SRv6 SIDs as defined by [RFC8402 <https://datatracker.ietf.org/doc/html/rfc8402>].
> 
> This paragraph starts with stating that each of the elements in an SR list of the SRH are SIDs (first sentence) and ends with that  all the SIDs in the SRH are not SRv6 SIDs. This is contradicting.

Hmm. The whole point of this paragraph is to establish that all SIDs are not SRv6 SIDs as some SIDs represent local interfaces and are RFC4291 compliant. Not sure where the contradiction is.

>  
>  "Some of these elements may represent a local interface as described in Section 4.3 of [RFC8754] <https://datatracker.ietf.org/doc/html/rfc8754#section-4.3> as "A FIB entry that represents a local interface, not locally instantiated as an SRv6 SID""
> Section 4.3 describes the potential outcomes of an LPM lookup on IPv6 DA address on a packet in an SRv6 capable node, it does not describe the SRH.
>  
> "It is also fairly clear that the non-SRv6-SID elements that appear in  the SRH SID list are simply IPv6 addresses assigned to local  interfaces annd MUST conform to [RFC4291 <https://datatracker.ietf.org/doc/html/rfc4291>].  "
> Having non-SRv6-SID elements in the SRH list seems an error condition? See also RFC8745, section 4.3.2. Non SRv6 SID in DA field of packet with SRH is an error condition here.
>  

When the packet reaches the ultimate end host it will have an SRH with SL=0 and this is not considered an error as per Section 4.3.2 when the DA contains an address assigned to a local interface (non SRv6 SID).

>  
> Section 4.1

Section 4.1. is expected to be removed from the draft pending consensus from the spring WG to pick up the issues. The 6man chairs and the spring chairs will provide further guidance on this. If the text needs to remain in the draft I think your comments make sense and I will address them in the next rev. If not, I will pass along the comments to the authors of C-SID.

>  
> Chapter 6
> The size of the block seems possibly small. How is it sized?

The size was picked based on feedback from some operators who would like to deploy SRv6 with C-SIDs in this block and the suggested block size of /16 provides a good balance between efficiency and address conservation. My personal opinion is that allocating a larger block would be excessive, but if you have arguments as to why it should be larger please make them to the WG.
 
> I would suggest to reserve a block that is sufficiently large and include at least some high-level guidelines regarding its use. For example is it intended to be ULA alike, or globally unique? Is use of the block for SRv6 mandatory, or optional? 

The use of this block for SRv6 is optional. Please let me know if there is any text that states or implies otherwise. 

Thanks
Suresh