LSVR C. Sheng Internet-Draft H. Shi, Ed. Intended status: Best Current Practice Huawei Expires: 11 January 2024 10 July 2023 Usage of BGP-LS-SPF in Multi-segment SD-WAN draft-sheng-lsvr-bgp-spf-for-sdwan-00 Abstract This document introduces the usage of BGP-LS-SPF protocol in multi- segment SD-WAN scenarios. It allows SD-WAN tunnels to be published as logical links, which can cross the internet, MPLS networks, and various operator network. The BGP-LS-SPF protocol can construct an overlay network topology for logical links and physical links across these heterogeneous networks, and calculate the reachability routes of overlay network nodes based on this topology. 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 11 January 2024. Copyright Notice Copyright (c) 2023 IETF Trust and the persons identified as the document authors. All rights reserved. Sheng & Shi Expires 11 January 2024 [Page 1] Internet-Draft BGP-LS-SPF for Multi-segment SD-WAN July 2023 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. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1. Requirements Language . . . . . . . . . . . . . . . . . . 3 3. Usage of BGP-LS-SPF in Multi-segment SD-WAN . . . . . . . . . 3 4. Security Considerations . . . . . . . . . . . . . . . . . . . 5 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 5 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 5 6.1. Normative References . . . . . . . . . . . . . . . . . . 5 6.2. Informative References . . . . . . . . . . . . . . . . . 5 Appendix A. Acknowledgements . . . . . . . . . . . . . . . . . . 6 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 6 1. Introduction As pointed out in [I-D.draft-ietf-rtgwg-net2cloud-problem-statement], enterprises are migrating their workloads to cloud service. The enterprise branch interconnection and enterprise site to cloud DC connection may cross heterogeneous network such as operator networks, enterprise-owned backbone networks or direct connection lines. For large enterprises to access the cloud service and interconnect their branches, a PoP GWs network can be built to provide multi- cloud, multi-tenant, and multi-branch interconnection. Depending on the geographical distribution of the enterprise branches, the PoP GWs network may be a cross-regional or even a global network. The PoP GW can be connected to the operator network or the enterprise-owned backbone network. The PoP GWs devices can also be directly connected through dedicated lines. Sheng & Shi Expires 11 January 2024 [Page 2] Internet-Draft BGP-LS-SPF for Multi-segment SD-WAN July 2023 According to [I-D.draft-ietf-bess-bgp-sdwan-usage], SD-WAN tunnels can be established between two GWs devices connected to the operator network, MPLS VPN network, or internet network through the WAN ports of the two PoP GWs devices. All GWs are under the control of one BGP instance. [I-D.draft-ietf-idr-sdwan-edge-discovery] defines the mechanism for SD-WAN edges to discover each other's properties via BGP update through RR. This allows the interconnection between enterprise branches and multi-cloud to pass through multiple SD-WAN tunnels or direct connection lines, as shown in Figure 1. This draft provides a way to use the BGP-LS-SPF protocol to collect the identification of PoP GW device node and the topology of SD-WAN tunnel and direct connection lines. In this way, each PoP GW device can learn the PoP GWs network topology, and calculate the route to any other PoP GW. 2. Terminology This specification reuses terms defined in Section 5.2 of [I-D.draft-ietf-lsvr-bgp-spf] including BGP-LS-SPF Node NLRI, BGP-LS- SPF Link NLRI, Dijkstra Algorithm. * PoP GW: Point of Presence Gateway * SD-WAN: Software Defined Wide Area Network. In this document, "SD-WAN" refers to policy-driven transporting IP packets over multiple different underlay networks to get better WAN bandwidth management, visibility and control. * RR: Route Reflector * Cloud DC: Off-Premise Data Centers that usually host applications and workload owned by different organizations or tenants. 2.1. Requirements Language 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. 3. Usage of BGP-LS-SPF in Multi-segment SD-WAN Sheng & Shi Expires 11 January 2024 [Page 3] Internet-Draft BGP-LS-SPF for Multi-segment SD-WAN July 2023 + - - - +- - - - - - - - - - - -|RR| - - - - - - - - - -+ - - - - + | | | | | | +--|--+ +--|--+ +--|--+ | | | GW1 |------------------| GW2 | -Physical link-| GW3 | | | +--|--+10.1.1.1 20.1.1.1+-----+ +--|--+ | | | SD-WAN Tunnel / Physical |30.1.1.1 | | | ---------------- Link | | | | / over Internet |40.1.1.1 | | +--|--+ +--|--+ | |+--+| GW5 |---------SD-WAN Tunnel over MPLS---------| GW4 |+-----+ +--|--+ +--|--+ | | + - -+ + - -+ + - -+ +- - - + |User|------|CPE1| |CPE2|-----| APPs | + - -+ + - -+ + - -+ + - - -+ Figure 1: PoP GWs network As shown in Figure 1, GW1, GW2, GW5 are connected to the same internet/ISP network. The GW2 and GW3 are connected through direct dedicated links. GW5 and GW4 are connected by MPLS VPN. BGP-SD-WAN neighbors are established between GWs through RR. BGP-LS-SPF neighbors are established between each GW and RR. SD-WAN tunnel links are established between GWs through BGP-SD-WAN neighbors reflecting SD-WAN routes(see [I-D.draft-ietf-idr-sdwan-edge-discovery]), as shown in the SD-WAN Tunnel between GW1 and GW2 with WAN port IP addresses of 10.1.1.1 and 20.1.1.1, respectively. GW nodes reflect the SD-WAN tunnel topology information to all GWs, including dedicated line-connected GWs, through BGP-LS-SPF neighbors with RR. GW2-GW3-GW4 are connected through dedicated lines. BGP-LS-SPF neighbors are established between GWs through dedicated lines, and also between GWs and RR. The BGP-LS-SPF neighbors between dedicated lines are used to discover the topology information of the dedicated lines, such as the direct link with port IP addresses of 30.1.1.1 and 40.1.1.1 between GW3 and GW4 shown in the figure. The dedicated line topology information is reflected to all GWs, including SD-WAN tunnel-connected GWs, through BGP-LS-SPF neighbors with RR. The BGP-LS-SPF LINK NLRI is used to carry the two endpoint IP address of the SD-WAN tunnel or dedicated lines. The BGP-LS-SPF NODE NLRI is used to carry PoP GW device node identification. They are advertised to other GWs through the RR. In this way, all GW learns the topology of whole PoP GWs network and can calculate the next hop to any other GW using Dijkstra Algorithm. Sheng & Shi Expires 11 January 2024 [Page 4] Internet-Draft BGP-LS-SPF for Multi-segment SD-WAN July 2023 4. Security Considerations This document does not introduce any new security considerations. 5. IANA Considerations This document has no IANA actions. 6. References 6.1. Normative References [I-D.draft-ietf-bess-bgp-sdwan-usage] Dunbar, L., Sajassi, A., Drake, J., and B. Najem, "SD-WAN edge nodes are commonly interconnected by multiple types of underlay networks owned and managed by different network providers.", Work in Progress, Internet-Draft, draft-ietf-bess-bgp-sdwan-usage-13, 7 July 2023, . [I-D.draft-ietf-idr-sdwan-edge-discovery] Dunbar, L., Hares, S., Raszuk, R., Majumdar, K., Mishra, G. S., and V. Kasiviswanathan, "BGP UPDATE for SD-WAN Edge Discovery", Work in Progress, Internet-Draft, draft-ietf- idr-sdwan-edge-discovery-10, 23 June 2023, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . 6.2. Informative References [I-D.draft-ietf-rtgwg-net2cloud-problem-statement] Dunbar, L., Malis, A. G., Jacquenet, C., Toy, M., and K. Majumdar, "Status of this Memo", Work in Progress, Internet-Draft, draft-ietf-rtgwg-net2cloud-problem- statement-26, 24 April 2023, . Sheng & Shi Expires 11 January 2024 [Page 5] Internet-Draft BGP-LS-SPF for Multi-segment SD-WAN July 2023 [I-D.draft-ietf-lsvr-bgp-spf] Patel, K., Lindem, A., Zandi, S., and W. Henderickx, "BGP Link-State Shortest Path First (SPF) Routing", Work in Progress, Internet-Draft, draft-ietf-lsvr-bgp-spf-26, 19 June 2023, . Appendix A. Acknowledgements The authors would like to thank Donglei Pang for his contribution to the document. Authors' Addresses Cheng Sheng Huawei Beiqing Road Beijing Email: shengcheng@huawei.com Hang Shi (editor) Huawei Beiqing Road Beijing China Email: shihang9@huawei.com Sheng & Shi Expires 11 January 2024 [Page 6]