BGP Link Bandwidth Extended Community
draft-ietf-idr-link-bandwidth-08
The information below is for an old version of the document.
Document | Type |
This is an older version of an Internet-Draft whose latest revision state is "Active".
|
|
---|---|---|---|
Authors | Prodosh Mohapatra , Rex Fernando , Reshma Das , SATYA R MOHANTY | ||
Last updated | 2024-08-28 (Latest revision 2018-03-05) | ||
Replaces | draft-rfernando-idr-link-bandwidth | ||
RFC stream | Internet Engineering Task Force (IETF) | ||
Formats | |||
Additional resources | Mailing list discussion | ||
Stream | WG state | WG Document | |
Document shepherd | (None) | ||
IESG | IESG state | I-D Exists | |
Consensus boilerplate | Unknown | ||
Telechat date | (None) | ||
Responsible AD | (None) | ||
Send notices to | (None) |
draft-ietf-idr-link-bandwidth-08
Network Working Group P. Mohapatra Internet-Draft Sproute Networks Intended status: Standards Track R. Fernando Expires: 1 March 2025 Cisco Systems R. Das, Ed. Juniper Networks, Inc. S. Mohanty, Ed. Zscaler 28 August 2024 BGP Link Bandwidth Extended Community draft-ietf-idr-link-bandwidth-08 Abstract This document describes an application of BGP extended communities that allows a router to perform unequal cost load balancing. 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 [RFC2119]. Status of This Memo 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 1 March 2025. Copyright Notice Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved. Mohapatra, et al. Expires 1 March 2025 [Page 1] Internet-Draft BGP Link Bandwidth Extended Community August 2024 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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Link Bandwidth Extended Community . . . . . . . . . . . . . . 2 3. Deployment Considerations . . . . . . . . . . . . . . . . . . 3 4. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 4 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4 6. Security Considerations . . . . . . . . . . . . . . . . . . . 4 7. Normative References . . . . . . . . . . . . . . . . . . . . 4 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 4 1. Introduction When a BGP speaker receives multiple paths from its internal peers, it could select more than one path to send traffic to. In doing so, it might be useful to provide the speaker with information that would help it distribute the traffic based on the bandwidth of the external (DMZ) link. This document suggests that the external link bandwidth be carried in the network using a new extended community [RFC4360] - the link bandwidth extended community. 2. Link Bandwidth Extended Community When a BGP speaker receives a route from an external neighbor and advertises this route (via IBGP) to internal neighbors, as part of this advertisement the router may carry the cost to reach the external neighbor. The cost can be either configured per neighbor or derived from the bandwidth of the link that connects the router to a directly connected external neighbor. This value is carried in the Link Bandwidth Extended Community. No more than one link bandwidth extended community SHALL be attached to a route. Additionally, if a route is received with link bandwidth extended community and the BGP speaker sets itself as next-hop while announcing that route to other peers, the link bandwidth extended community should be removed. The extended community is optional non-transitive. The value of the high-order octet of the extended Type Field is 0x40. The value of the low-order octet of the extended type field for this community is 0x04. The value of the Global Administrator subfield in the Value Mohapatra, et al. Expires 1 March 2025 [Page 2] Internet-Draft BGP Link Bandwidth Extended Community August 2024 Field SHOULD represent the Autonomous System of the router that attaches the Link Bandwidth Community. If four octet AS numbering scheme is used [RFC6793], AS_TRANS should be used in the Global Administrator subfield. The bandwidth of the link is expressed as 4 octets in IEEE floating point format, units being bytes (not bits!) per second. It is carried in the Local Administrator subfield of the Value Field. 3. Deployment Considerations The usage of this community is restricted to the cases where BGP multipath can be safely deployed. If the path between the load sharing router and the exit point is not tunneled, then the IGP distance between the load balancing router and the exit points should be the same. If the path between the load sharing router and the exit point is tunneled, then the choice to use this community is a purely local matter to the load sharing router. In the context of BGP/MPLS VPNs [RFC4364], link bandwidth community could be used to support inbound load balancing for multihomed sites, as follows. Consider a site that is connected to PE1 and PE2. Both PE1 and PE2 would advertise VPN-IP routes associated with the destinations within the site. One way to enable other PEs to receive all these routes is to require the RD of the routes advertised by PE1 to be different from the RD of the routes advertised by PE2. The VPN-IP routes advertised by PE1 should carry the link bandwidth community; likewise for the VPN-IP routes advertised by PE2. The bandwidth value carried in the community could be locally determined by PE1 and PE2. Alternatively CEs of the site, when advertising IP routes to PE1 and PE2, could add the link bandwith community to these advertisements, in which case PE1 and PE2, when originating VPN-IP routes, would use the bandwidth value from the IP routes they received from the CEs to construct the link bandwidth community carried by these VPN-IP routes. An ingress PE, when sending traffic to destinations within the site, can use the bandwidth value carried in the community of the routes advertised by PE1 and PE2 to perform load sharing, where some of the traffic would go via PE1, while other traffic would go via PE2. If there are multiple paths to reach a destination and if only some of them have link bandwidth community, the load sharing router should not perform unequal cost load balancing based on link bandwidths. Mohapatra, et al. Expires 1 March 2025 [Page 3] Internet-Draft BGP Link Bandwidth Extended Community August 2024 4. Acknowledgments The authors would like to thank Yakov Rekhter, Srihari Sangli and Dan Tappan for proposing unequal cost load balancing as one possible application of the extended community attribute. The authors would like to thank Bruno Decraene, Robert Raszuk, Joel Halpern, Aleksi Suhonen, Randy Bush, and John Scudder for their comments and contributions. 5. IANA Considerations This document defines a specific application of the two-octet AS specific extended community. IANA is requested to assign a sub- type value of 0x04 for the link bandwidth extended community. Name Value ---- ----- non-transitive Link Bandwidth Ext. Community 0x4004 6. Security Considerations There are no additional security risks introduced by this design. 7. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, <https://www.rfc-editor.org/info/rfc2119>. [RFC4360] Sangli, S., Tappan, D., and Y. Rekhter, "BGP Extended Communities Attribute", RFC 4360, DOI 10.17487/RFC4360, February 2006, <https://www.rfc-editor.org/info/rfc4360>. [RFC4364] Rosen, E. and Y. Rekhter, "BGP/MPLS IP Virtual Private Networks (VPNs)", RFC 4364, DOI 10.17487/RFC4364, February 2006, <https://www.rfc-editor.org/info/rfc4364>. [RFC6793] Vohra, Q. and E. Chen, "BGP Support for Four-Octet Autonomous System (AS) Number Space", RFC 6793, DOI 10.17487/RFC6793, December 2012, <https://www.rfc-editor.org/info/rfc6793>. Authors' Addresses Pradosh Mohapatra Sproute Networks Mohapatra, et al. Expires 1 March 2025 [Page 4] Internet-Draft BGP Link Bandwidth Extended Community August 2024 Email: pradosh@sproute.com Rex Fernando Cisco Systems 170 W. Tasman Drive San Jose, CA 95134 United States of America Email: rex@cisco.com Reshma Das (editor) Juniper Networks, Inc. 1133 Innovation Way, Sunnyvale, CA 94089 United States of America Email: dreshma@juniper.net Satya Mohanty (editor) Zscaler 120 Holger Way, San Jose, CA 95134 United States of America Email: smohanty@zscaler.com Mohapatra, et al. Expires 1 March 2025 [Page 5]