Internet-Draft | Change the Meaning of Value 255 of SRH S | July 2022 |
Zhou & Xie | Expires 12 January 2023 | [Page] |
This document proposes to define the value 255 in Last Entry field in Segment Routing Header (SRH) [RFC8754], to indicate an SRH without any SID left.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 12 January 2023.¶
Copyright (c) 2022 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
This document proposes to define the value 255 in Last Entry field in Segment Routing Header (SRH) [RFC8754], to indicate an SRH without any SID present.¶
The following abbreviations are used in this document.¶
Segment Routing Header (SRH) [RFC8754] is one type of Routing Header (RH) [RFC8200]. A Segment Left field is defined in [RFC8200] as the basic structure of any type of RH. A Last Entry field is defined in [RFC8754] as the structure of SRH. The two fields are both related to the segments, behaving as pointer to one of the segments in the SRH. When the Segment Left field is set to one and the Last Entry field is set to zero, there is one SID present in the SRH. However, with current specification [RFC8754], there is no way to indicate an SRH without any SID present. For example, there is no need for any segment in the Segment List of SRH (the so-called SRv6-BE case), but there is need for HMAC in SRH as the enhanced security mechanism.¶
This document proposes to use the value 255 of Last Entry field to represent that there is no SID in the Segment List part of the SRH. Accordingly, the Segment Left field MUST be zero in this case.¶
This has an impact that, the number of Segments allowed in an SRH shrinks, from maximum 256 to maximum 255. Practically this is not a big problem, because the number of segments bigger than 255 is very impossible. Thus, changing the meaning of Last Entry value 255 can support incremental development and deployment.¶
There is no relevant IANA codepoint¶
TBD.¶