Network Working Group | K. Kompella |
Internet-Draft | R. Bonica |
Intended status: Standards Track | Juniper Networks |
Expires: January 8, 2020 | July 7, 2019 |
Using DHCP to Manage Node and Ring SID Assignment
draft-kompella-spring-dhcp-00
Node and ring segment identifiers (SIDs) assignements in a particular domain (such as an IGP area) must follow certain rules: they must be allocated from a configured set of SID blocks; they must be unique; and the values should be sticky, i.e., the same value(s) should be assigned to a node should its assignment expire (as might happen if the node resets). This memo suggests the use of the Dynamic Host Configuration Protocol to handle such assignments.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].
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 January 8, 2020.
Copyright (c) 2019 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 Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
Fundamental to SPRING forwarding is the notion of Segment Identifiers (SIDs) [RFC8402]. At a high level, there are two types of SIDs: those that are locally assigned by the advertising node, such as adjacency and binding SIDs; and those that are globally unique within a given SPRING domain, such as node and ring SIDs. Node SIDs are often manually configured on routers today; this is not only tedious, but error-prone as well; the addition of ring SIDs which must be managed per ring makes manual assignment even more fraught ([I-D.kompella-spring-rmr]).
This document describes the use of the Dynamic Host Configuration Protocol (DHCP [RFC2132]) for managing global SID allocation. The description is limited to the use of node and ring SIDs for MPLS ([I-D.ietf-spring-segment-routing-mpls]); other types of SID allocation, such as for SRv6+ ([I-D.bonica-spring-srv6-plus]) will be described in a future version.
Node SID assignments must satisfy the following properties:
and should have the following properties:
A DHCP server to be used for global SID assignment SHOULD be told the following:
The DHCP server need know nothing about SID semantics; the only thing it needs to know is that ring SIDs are allocated in pairs, and all other SIDs are allocated singly.
A node taking part in a SPRING network MAY be configured to use DHCP to get node SIDs. This configuration should say whether to use DHCP for its loopback address, for anycast SIDs and/or for ring SIDs.
A node configured to use DHCP to obtain a SID for its loopback and/or any other prefix sends a request to the DHCP server including the following information: [I-D.ietf-mpls-rmr]), a DHCP request including:
A node that participates in an RMR ring and is configured to use DHCP to obtain a pair of ring SIDs sends, once ring identification is complete (
The DHCP server replies to such requests by:
DHCP is a very widely used protocol, and thus ensuring its continuing secure and robust operation is vital. When the requirements of DHCP in this context are better understood, this section will be filled out.
Should this document be deemed useful, relevant IANA code points would be requested.
[I-D.ietf-mpls-rmr] | Kompella, K. and L. Contreras, "Resilient MPLS Rings", Internet-Draft draft-ietf-mpls-rmr-11, June 2019. |
[I-D.ietf-spring-segment-routing-mpls] | Bashandy, A., Filsfils, C., Previdi, S., Decraene, B., Litkowski, S. and R. Shakir, "Segment Routing with MPLS data plane", Internet-Draft draft-ietf-spring-segment-routing-mpls-22, May 2019. |
[I-D.kompella-spring-rmr] | Kompella, K., Deshmukh, A. and R. Torvi, "Resilient MPLS Rings", Internet-Draft draft-kompella-spring-rmr-00, October 2018. |
[RFC2119] | Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997. |
[RFC2132] | Alexander, S. and R. Droms, "DHCP Options and BOOTP Vendor Extensions", RFC 2132, DOI 10.17487/RFC2132, March 1997. |
[RFC8402] | Filsfils, C., Previdi, S., Ginsberg, L., Decraene, B., Litkowski, S. and R. Shakir, "Segment Routing Architecture", RFC 8402, DOI 10.17487/RFC8402, July 2018. |
[I-D.bonica-spring-srv6-plus] | Bonica, R., Hegde, S., Kamite, Y., Alston, A., Henriques, D., Halpern, J. and J. Linkova, "IPv6 Support for Segment Routing: SRv6+", Internet-Draft draft-bonica-spring-srv6-plus-03, July 2019. |