Network Working Group | X. Xu, Ed. |
Internet-Draft | S. Bryant, Ed. |
Intended status: Standards Track | Huawei |
Expires: December 15, 2017 | R. Raszuk |
Bloomberg LP | |
U. Chunduri | |
Huawei | |
L. Contreras | |
Telefonica I+D | |
L. Jalil | |
Verizon | |
H. Assarpour | |
Broadcom | |
V. Gunter | |
Nokia | |
J. Tantsura | |
Individual | |
S. Ma | |
Juniper | |
June 13, 2017 |
Unified Source Routing Instruction using MPLS Label Stack
draft-xu-mpls-unified-source-routing-instruction-01
MPLS-SPRING is an MPLS data plane-based source routing paradigm in which a sender of a packet is allowed to partially or completely specify the route the packet takes through the network by imposing stacked MPLS labels to the packet. MPLS-SPRING could be leveraged to realize a unified source routing mechanism across MPLS, IPv4 and IPv6 data planes by using a unified source routing instruction set while preserving backward compatibility with MPLS-SPRING.
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 http://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 December 15, 2017.
Copyright (c) 2017 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 (http://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.
MPLS-SPRING [I-D.ietf-spring-segment-routing-mpls] is an MPLS data plane-based source routing paradigm in which a sender of a packet is allowed to partially or completely specify the route the packet takes through the network by imposing stacked MPLS labels to the packet. MPLS-SPRING could be leveraged to realize a unified source routing mechanism across MPLS, IPv4 and IPv6 data planes by using a unified source routing instruction set while preserving backward compatibility with MPLS-SPRING. More specifically, the source routing instruction set information contained in a source routed packet could be uniformly encoded as an MPLS label stack no matter the underlay is IPv4, IPv6 or MPLS.
The traditional IPv4 and IPv6 source routing mechanisms by use of IPv4 Source Routing Options and IPv6 Route Header Type 0 Extension respectively have been deprecated due to their obvious security vulnerabilities. IPv6 SPRING (a.k.a., SRv6) [I-D.ietf-6man-segment-routing-header] is a newly proposed IPv6 source routing mechanism in which the source route instruction information is encoded as an ordered list of 128-bit long IPv6 addresses and contained in the Source Routing Header (SRH). Although it has overcome the security vulnerability issues associated with the traditional IPv6 source routing mechanism as claimed in [I-D.ietf-6man-segment-routing-header], it still has the following obvious drawbacks which need to be addressed: 1) the encapsulation overhead is significant especially when the list of the explicit routing hops is very long; 2) for those transit IPv6 routers that don't support the flow label-based load-balancing mechanism yet, the ECMP load-balancing effect may be impacted seriously if they could not recognize the SRH and therefore could not obtain the five tuple of the source routed IPv6 packet; 3) it requires a totally new forwarding logic on basis of the SRH and the forwarding performance associated with the IPv6 SRH may still be a big concern for some hardware platforms.
Section 3 describes various use cases for the unified source routing instruction mechanism and Section 4 describes a typical application scenario and how the packet forwarding happens.
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 RFC 2119.
This memo makes use of the terms defined in [RFC3031] and [I-D.ietf-spring-segment-routing-mpls].
The unified source routing mechanism across IPv4, IPv6 and MPLS is useful at least in the following use cases:
+-----+ +-----+ +-----+ +-----+ +-----+ | A +-------+ B +-------+ C +--------+ D +--------+ H | +-----+ +--+--+ +--+--+ +--+--+ +-----+ | | | | | | +--+--+ +--+--+ +--+--+ | E +-------+ F +--------+ G | +-----+ +-----+ +-----+ +--------+ |IP(A->E)| +--------+ +--------+ | L(G) | |IP(E->G)| +--------+ +--------+ +--------+ | L(H) | | L(H) | |IP(G->H)| +--------+ +--------+ +--------+ | Packet | ---> | Packet | ---> | Packet | +--------+ +--------+ +--------+ Figure 1
[RFC7510] or MPLS-over-GRE [RFC4023]) towards router E and then send it out. In other words, router A would pop the top label and then encapsulate the MPLS packet with an IP-based tunnel towards router E. When the IP-encapsulated MPLS packet arrives at router E, router E would strip the IP-based tunnel header and then process the decapsulated MPLS packet accordingly. Since there is no LSP towards router G which is indicated by the current top label of the decapsulated MPLS packet, router E would replace the current top label with an IP-based tunnel towards router G and send it out. When the packet arrives at router G, router G would strip the IP-based tunnel header and then process the decapsulated MPLS packet. Since there is no LSP towards router H, router G would replace the current top label with an IP-based tunnel towards router H. Now the packet encapsulated with the IP-based tunnel towards router H is exactly the original packet that router A had intended to send towards router H. If the packet is an MPLS packet, router G could use any IP-based tunnel for MPLS (e.g., MPLS-over-UDP [RFC7510] or MPLS-over-GRE [RFC4023]). If the packet is an IP packet, router G could use any IP tunnel for IP (e.g., IP-in-UDP [I-D.xu-intarea-ip-in-udp] or GRE [RFC2784]). That original IP or MPLS packet would be forwarded towards router H via an IP-based tunnel. When the encapsulated packet arrives at router H, router H would decapsulate it into the original packet and then process it accordingly.
Note that in the above description, it's assumed that the label associated with each prefix-SID advertised by the owner of the prefix-SID is a Penultimate Hop Popping (PHP) label (e.g., the NP-flag [I-D.ietf-ospf-segment-routing-extensions] associated with the corresponding prefix SID is not set). Figure 2 demostrates the packet walk in the case where the label associated with each prefix-SID advertised by the owner of the prefix-SID is not a Penultimate Hop Popping (PHP) label (e.g., the NP-flag [I-D.ietf-ospf-segment-routing-extensions] associated with the corresponding prefix SID is set). Although the above description is based on the use of prefix-SIDs, the unified source routing instruction approach is actually applicable to the use of adj-SIDs as well. For instance, when the top label of a received MPLS packet indicates an given adj-SID and the corresponding adjacent node to that adj-SID is not MPLS-capable, the top label would be replaced by an IP-based tunnel towards that adjacent node and then forwarded over the correponding link indicated by that adj-SID.
+-----+ +-----+ +-----+ +-----+ +-----+ | A +-------+ B +-------+ C +--------+ D +--------+ H | +-----+ +--+--+ +--+--+ +--+--+ +-----+ | | | | | | +--+--+ +--+--+ +--+--+ | E +-------+ F +--------+ G | +-----+ +-----+ +-----+ +--------+ |IP(A->E)| +--------+ +--------+ | L(E) | |IP(E->G)| +--------+ +--------+ +--------+ | L(G) | | L(G) | |IP(G->H)| +--------+ +--------+ +--------+ | L(H) | | L(H) | | L(H) | +--------+ +--------+ +--------+ | Packet | ---> | Packet | ---> | Packet | +--------+ +--------+ +--------+ Figure 2
Note that as for which tunnel encapsulation type should be used, it could be manually specified on tunnel ingress routers or be learnt from the tunnel egress routers' advertisements of its tunnel encapsulation capability. How to advertise the tunnel encapsulation capability using IS-IS or OSPF are specified in [I-D.ietf-isis-encapsulation-cap] and [I-D.ietf-ospf-encapsulation-cap] respectively.
Thanks Joel Halpern, Bruno Decraene and Loa Andersson for their insightful comments on this draft.
No IANA action is required.
TBD.
[RFC2119] | Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997. |