Network Working Group C. Filsfils
Request for Comments: 5640 P. Mohapatra
Category: Standards Track C. Pignataro
Cisco Systems
August 2009
Load-Balancing for Mesh Softwires
Filsfils, et al. Standards Track [Page 1]
RFC 5640 Load-Balancing for Mesh Softwires August 2009
Table of Contents
1. Introduction
Consider the case of a router R1 that encapsulates a packet P into a Softwire bound to router R3. R2 is a router on the shortest path from R1 to R3. R2's shortest path to R3 involves equal cost multiple paths (ECMPs). The goal is for R2 to be able to choose which path to use on the basis of the full entropy of packet P.
1.1. Requirements Language
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 [RFC2119].
Filsfils, et al. Standards Track [Page 2]
RFC 5640 Load-Balancing for Mesh Softwires August 2009 2. Load-Balancing Block sub-TLVThis document defines a new sub-TLV for use with the Tunnel Encapsulation Attribute defined in [RFC5512]. The new sub-TLV is referred to as the "Load-Balancing Block sub-TLV" and MAY be included in any Encapsulation SAFI UPDATE message where load-balancing is desired.
Filsfils, et al. Standards Track [Page 3]
RFC 5640 Load-Balancing for Mesh Softwires August 2009
Needless to say, if an egress router does not support the Load- Balancing Block sub-TLV, the Softwire continues to operate with a single load-balancing field with which all ingress routers encapsulate.
2.1. Applicability to Tunnel Types
The Load-Balancing Block sub-TLV is applicable to tunnel types that define a load-balancing field. This document defines load-balancing fields for tunnel types 1 (L2TPv3 over IP) and 2 (GRE) as follows:
2.2. Encapsulation Considerations
Fields included in the encapsulation header besides the load- balancing field are not affected by the Load-Balancing Block sub-TLV. All other encapsulation fields are shared between variations of the load-balancing field. For example, for the L2TPv3-over-IP tunnel type, if the optional cookie is included in the encapsulation sub-TLV by the egress router during Softwire signaling, it applies to all the "Session ID" values derived at the ingress router after applying the load-balancing block as described in this document.
3. IANA Considerations
IANA has assigned the value 5 for the Load-Balancing Block sub-TLV, in the BGP Tunnel Encapsulation Attribute Sub-TLVs registry (number space created as part of the publication of [RFC5512]):
Sub-TLV name Value
------------- -----
Load-Balancing Block 5
Filsfils, et al. Standards Track [Page 4]
RFC 5640 Load-Balancing for Mesh Softwires August 2009 4. Security ConsiderationsThis document defines a new sub-TLV for the BGP Tunnel Encapsulation Attribute. Security considerations for the BGP Encapsulation SAFI and the BGP Tunnel Encapsulation Attribute are covered in [RFC5512]. There are no additional security risks introduced by this design.
5. Acknowledgements
The authors would like to thank Stewart Bryant, Mark Townsley, Rajiv Asati, Kireeti Kompella, and Robert Raszuk for their review and comments.
6. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Filsfils, et al. Standards Track [Page 5]
RFC 5640 Load-Balancing for Mesh Softwires August 2009
Authors' Addresses