[mpls] A comment on the TTL in draft-dong-mpls-mna-encaps-00

Stewart Bryant <stewart.bryant@gmail.com> Thu, 04 August 2022 13:17 UTC

Return-Path: <stewart.bryant@gmail.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B737BC13C20A; Thu, 4 Aug 2022 06:17:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, 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 YOkiFrQ8Xksx; Thu, 4 Aug 2022 06:17:56 -0700 (PDT)
Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (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 90B7FC13C202; Thu, 4 Aug 2022 06:17:53 -0700 (PDT)
Received: by mail-ej1-x62a.google.com with SMTP id tl27so18981256ejc.1; Thu, 04 Aug 2022 06:17:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:mime-version:subject:message-id:date:cc:to; bh=SnS/H6S9CiO2MNJ/8ELRB+OH9dEfoke9DNIReGf47/I=; b=Wp8O+0Sz//snGvYt6nfTJRqb+xtIc8qqjW3Z/j6mtTNcGHqEdTyZGbcxhb+cqQzXyF xEd6mz7HuGzg42Vz9N2+BbUiEr/rL8WjsAeS9dsZd4TaIzJOcf8ZhipwvUS2bUYifCv7 zdUaaVQRwBZp1s0HkE6U2UOcfHMnAA4vGFXIX40amKXdWQaxYFyLelJdKCuwpFrChZU4 V+8ODIMVwWLXGE0eBNvh28rcYldQaUu/BHLxQC8dnTCvE5NgEH4QZsRgVv94Kgtu38cL 2D+r7Cd6iI7Ux8v2W9ggUoJwOF+XG/gXlWCD1wr82uTHDujpgiApWL0lLG9sNeN8DW8d RsDw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:subject:message-id:date:cc:to; bh=SnS/H6S9CiO2MNJ/8ELRB+OH9dEfoke9DNIReGf47/I=; b=jfVDOUwSDDhqvpNj9hsNuyhibke4nwXMRuu6+3ptJHYti5mqNA8RZKMSBzIoZRYvW8 6e0v/hZz7ExWThmW61IK1zp2dTIV7sRJjnM3VDc79l5vIJHux6ClqrQG3JoV37tizF5u P0kX/e8zRj9TY8t0ZZo2s9YdTxB+SsZZL2PeuNqyGy+f1+22pwgliGDUx5Z9lr2Z/Bx8 EQ3ErvlmIkwCPjiRkM8oXbmyYX2MBb0U2vXs1ErpHzl7iobtLNGUuU1lxyJNKXJ4j1SK dqaBz2gZGHlLcwJ0Ah5ccmTJITJYuFotj/e93VakZDXjhbVi3b2tLKFTCpy4IRkpjasm nHlg==
X-Gm-Message-State: ACgBeo3KPp7AyBpzr8nH2IOD3MsQh7W0KlyeSiqpVTLZa22KfM8Klm/y H8kXJMWPSFZ6/dXqVSPsjhfjhjvdw6SkWQ==
X-Google-Smtp-Source: AA6agR663cGQlEXoOPpkkLWjNaQyZnKMOe9knaaZopsIorZxTy7oie9E2XDHH04KxeIp7rOxFFLvXg==
X-Received: by 2002:a17:906:5a5a:b0:730:ba28:292c with SMTP id my26-20020a1709065a5a00b00730ba28292cmr1389126ejc.312.1659619071683; Thu, 04 Aug 2022 06:17:51 -0700 (PDT)
Received: from smtpclient.apple ([85.255.236.121]) by smtp.gmail.com with ESMTPSA id r20-20020a170906a21400b0072ee0976aa2sm308492ejy.222.2022.08.04.06.17.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2022 06:17:51 -0700 (PDT)
From: Stewart Bryant <stewart.bryant@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_D1170495-DA98-4288-B5D6-6477E5A12E00"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Message-Id: <39A83D4E-61DC-4750-AE62-1724B93D0400@gmail.com>
Date: Thu, 04 Aug 2022 14:17:49 +0100
Cc: Stewart Bryant <stewart.bryant@gmail.com>, draft-dong-mpls-mna-encaps@ietf.org
To: mpls <mpls@ietf.org>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/YbIKiqA8BOCb3aY7rUfFgtR21Tg>
Subject: [mpls] A comment on the TTL in draft-dong-mpls-mna-encaps-00
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2022 13:17:58 -0000



3 <https://datatracker.ietf.org/doc/html/draft-dong-mpls-mna-encaps#section-3>.  MNA Indicator

   The MNA Indicator is introduced to indicate the presence of any MNA
   information in the packet.  It can be used to indicate the existence
   of MNA actions and the optional associated data in the ISD, or the
   PSD or both.  Since this indicator is generic for all types of MPLS
   network actions, it is reasonable to allocate a basic Special Purpose
   MPLS label (bSPL) for it.  The TC and TTL fields of the MNA Indicator
   are redefined as flags.

   The format of the MNA Indicator is shown as below:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |       MNA Indicator=SPL (TBA)         |H|I|P|S|ISF|    RSV    |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                  Figure 1. The format of MNA Indicator

   Where:

<snip>


   *  RSV: The rest 6 bits in the original TTL field are reserved for
      future use.  They MUST be set to 0 on transmit and MUST be ignored
      on receipt.

SB> There might be some merit in setting the RSV to 0b111111

SB> Then if some router receiving the SPL predecremented the TTL (not unknown in hardware) the upper bits of the TTL and hence the indicators would be unchanged

- Stewart