An on-demand routing mesh that routes packets through the SD-WAN edge forwarding nodes in the SD-WAN
By configuring edge forwarding nodes as hub forwarding nodes in SD-WAN to provide alternative routes, the problem of application deterioration caused by path damage in SD-WAN is solved, and reliable transmission of data packets and application stability are achieved.
Patent Information
- Application Number
- CN202180097262.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-06-18
- Filing Date
- 2021-12-24
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-12-24
AI Technical Summary
In a Software-Defined Wide Area Network (SD-WAN), path damage between source edge nodes and transit nodes may cause application degradation. In particular, critical applications are affected by path instability, which may lead to power outages or power outages, resulting in unexpected desired result.
By introducing edge forwarding nodes into SD-WAN and configuring them as hub forwarding nodes to provide alternative routes when the deteriorated operational status of transit nodes is detected, policy-based routing rules and routing maps are used to select more stable paths to ensure Reliable transmission of data packets.
It effectively solves the problem of application deterioration caused by path damage, ensures reliable transmission of data packets, improves the stability of SD-WAN and application reliability, and avoids unexpected power outages or power outages.
Smart Images

Figure CN117178535B_ABST
Abstract
Description
Background Art
[0001] Today, software-defined wide area networks (SD-WANs) provide secure access to applications hosted on the cloud and enterprise data centers. Typical SD-WAN deployments require transit nodes through which applications flow to reach their destinations (e.g., cloud applications involve branch-to-branch flows via gateways). However, certain challenges arise when handling critical application traffic, such as path impairments between the source edge node and the transit node, which can lead to application degradation. Additionally, critical applications with SOS properties also suffer from path instability and may eventually experience power outages or brownouts (which lead to undesirable results). Summary of the invention
[0002] Some embodiments of the present invention provide a method for routing packets through a software defined wide area network (SD-WAN) defined for an entity. A first edge forwarding node located at a first multi-machine site of an entity that is at a first physical location and includes a first group of machines acts as an edge forwarding node for the first group of machines by forwarding packets between the first group of machines and other machines associated with the entity via other forwarding nodes in the SD-WAN. The first edge forwarding node receives configuration data that specifies that the first edge forwarding node acts as a hub forwarding node for forwarding a group of packets from a second group of machines associated with the entity and operating at a second multi-machine site at a second physical location to a third group of machines associated with the entity and operating at a third multi-machine site at a third physical location. The first edge forwarding node then acts as a hub forwarding node to forward the group of packets to a third group of machines at the third multi-machine site.
[0003] In some embodiments, the first edge forwarding node receives the group of data packets from the second edge forwarding node via a first tunnel between the first edge forwarding node and the second edge forwarding node, and forwards the data packets to the next hop via a second tunnel between the first edge forwarding node and the next hop on the way to the destination of the data packets. Before forwarding the group of data packets via the second tunnel, in some embodiments, the first edge forwarding node removes a first tunnel header identifier associated with the first tunnel and inserts a second tunnel header identifier associated with the second tunnel. In some embodiments, the first tunnel and the second tunnel are secure tunnels (e.g., virtual private network (VPN) tunnels).
[0004] In some embodiments, the configuration data is received by the first edge forwarding node from a controller of the SD-WAN. In some embodiments, the controller is a centralized controller, while in other embodiments, the controller is a distributed controller (with a controller agent executed on each device in the SD-WAN (e.g., on a forwarding node), and in still other embodiments, the controller is a cloud gateway that performs controller functions. In addition, in some embodiments, the controller and the cloud gateway share controller functions.
[0005] The configuration data in some embodiments includes route records specifying multiple sets of routes, wherein the first edge forwarding node acts only as an edge forwarding unit for a first multi-machine site, and wherein the first edge forwarding node acts as a hub forwarding unit for other multi-machine sites, such as a second multi-machine site. In some embodiments, the controller provides different route records specifying different subsets of routes to different edge forwarding nodes in the SD-WAN.
[0006] In some embodiments, the routing records are generated by the controller based on the routes identified in the routing map (e.g., routing mesh topology model) generated by the controller, which shows the connections between the forwarding nodes in the SD-WAN. In some embodiments, the controller uses the generated routing map to identify edge forwarding nodes that can act as hub forwarding nodes of the SD-WAN so as to provide alternative routes between the source forwarding node and the destination forwarding node when forwarding packets to other sites when the source forwarding node experiences certain conditions. For example, according to some embodiments, a particular forwarding node may be unable to connect to the hub forwarding node due to link degradation, congestion at the hub forwarding node caused by another tenant, and the like. In another example, in some embodiments, the controller (or cloud gateway) can detect these conditions by pinging (e.g., sending ICMP messages) to the hub forwarding node or a group of hub forwarding nodes and detecting slow responses. In some embodiments, the controller actively provides routing records to the edge forwarding nodes so as to allow the edge forwarding nodes to react quickly when experiencing these certain conditions. Alternatively or in combination, in some embodiments, the controller passively provides routing records after detecting that a particular forwarding node (e.g., by receiving a notification from the forwarding node) is experiencing these certain conditions.
[0007] In some embodiments, these conditions relate to a deteriorated operational state of a hub forwarding node (i.e., a transit node) and are associated with specified thresholds. In some embodiments, the deteriorated operational state of the hub forwarding node is caused by a deterioration in performance attributes such as latency, bandwidth, and throughput. According to some embodiments, these conditions and their associated thresholds are defined as policy-based routing (PBR) rules that are distributed to the forwarding nodes by the controller. In some embodiments, the forwarding nodes include a metric generator for generating metrics to parse these PBR rules and select alternative routes.
[0008] In some embodiments, each edge forwarding node in the SD-WAN is associated with a set of SD-WAN profiles, each profile identifying a shared set of parameters. For example, in some embodiments, the SD-WAN profiles may identify a shared set of security parameters, service parameters, and / or policy parameters. In some embodiments, the controller uses these SD-WAN profiles when performing a path search on the routing map to identify edge forwarding nodes in the routing map that can serve as auxiliary roles for the SD-WAN as hub forwarding nodes.
[0009] In some embodiments, the controller uses the routing map to calculate costs associated with multiple different paths through the routing map. In some embodiments, the calculated costs are link weight scores (i.e., cost scores) calculated for different links between forwarding nodes in the routing map. In some embodiments, the weight scores are calculated as a weighted combination of several calculated values and provider-specific values (such as the following values of the link: (1) calculated delay value, (2) calculated loss value, (3) provider network connection cost, and (4) provider computational cost). In some embodiments, different links can have more than one associated cost. For example, in some embodiments, the link cost associated with using an edge forwarding node in its primary role as an edge forwarding node is less than the link cost associated with using an edge forwarding node in its secondary role as a hub forwarding node. According to some embodiments, the PBR rules used by the forwarding node are defined based on the calculated weight scores (e.g., when the delay is greater than N ms, a higher cost link is used).
[0010] In some embodiments, the routing map is a set of routing maps that includes at least a first routing map that does not include direct links between a particular edge forwarding node and any edge forwarding node in a set of edge forwarding nodes associated with the entity, and a second routing map that does include direct links between the edge forwarding nodes. In some embodiments, to identify edge forwarding nodes that can serve as hub forwarding nodes for the SD-WAN, the controller determines which routing map results in a better routing metric than each of the other routing maps in the set.
[0011] In some embodiments, to act as a hub forwarding node to send a set of data packets from a second set of machines to a third set of machines, a first edge forwarding node receives the data packet from a second edge forwarding node at the second site through a first tunnel established between the first site and the second site, and forwards the data packet to a third edge forwarding node at the third site through a second tunnel between the first site and the third site. In some embodiments, before forwarding the data packet through the second tunnel, the first edge forwarding node removes a first tunnel header identifier associated with the first tunnel from the data packet, inserts a second tunnel header identifier associated with the second tunnel, and forwards the data packet to the third edge forwarding node.
[0012] In some embodiments, the first edge forwarding node acts as a hub forwarding node only for a temporary period of time to forward the group of packets. In some embodiments, the first edge forwarding node does not continue to act as a hub forwarding node for other communication sessions between the second and third groups of machines at the second and third sites, while in other embodiments, the first edge forwarding node acts as a hub forwarding node for all or some communication sessions between the second and third sites (and potentially other sites of the entity).
[0013] In some embodiments, the first, second, and third edge forwarding nodes act as spoke nodes in a hub-spoke architecture that uses assigned hub forwarding nodes located at a data center site associated with an entity. Thus, after the first edge forwarding node begins operating as a hub forwarding node for the second site, in some embodiments, the SD-WAN has two hubs, including a first hub at a first multi-machine site (e.g., also referred to herein as a multi-user computing site) for the second multi-machine site and a second hub at a data center site for multiple edge forwarding nodes at multiple multi-machine sites of the entity. In some embodiments, the first edge forwarding node acts as a hub forwarding node for a specific multi-machine site of the entity that establishes multiple tunnels with the first edge forwarding node, each tunnel being used for a communication session between a machine at the specific multi-machine site and a machine at another multi-machine site of the entity.
[0014] In some embodiments, the first multi-machine site of the entity is a first branch site among a plurality of branch sites of the entity, and in some embodiments, the first physical location is one of a plurality of geographically dispersed physical locations. In some embodiments, a branch site (e.g., a multi-user computing site) is a location where multiple users compute and / or other user-operated devices and act as source computers and devices for communicating with other computers and devices at other sites (e.g., other branch sites, data center sites, etc.). In some embodiments, the branch site may also include servers that are not operated by users. In some embodiments, the second multi-machine site is a multi-tenant data center, such as a data center of a software as a service (SaaS) provider. When the multi-tenant data center is a data center of a SaaS provider, in some embodiments, the second edge forwarding node is a multi-tenant gateway forwarding node.
[0015] In some embodiments, edge forwarding nodes associated with the SD-WAN may include edge forwarding nodes associated with branch sites of the SD-WAN, gateway forwarding nodes for private data centers, multi-tenant gateway forwarding nodes associated with a public cloud, multi-tenant gateway forwarding nodes associated with a SaaS provider cloud, and hub forwarding nodes that provide connectivity between spoke edge forwarding nodes in a hub-and-spoke configuration of the SD-WAN.
[0016] The foregoing overview is intended to serve as a brief introduction to some embodiments of the present invention. This is not meant to be an introduction or overview of all inventive subject matter disclosed in this document. The following detailed description and the drawings referenced in the detailed description will further describe the embodiments described in the summary of the invention as well as other embodiments. Therefore, in order to understand all the embodiments described in this document, a comprehensive review of the summary of the invention, the detailed description, the drawings, and the claims is required. In addition, the claimed subject matter is not limited by the illustrative details in the summary of the invention, the detailed description, and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The novel features of the invention are set forth in the appended claims. However, for purposes of illustration, several embodiments of the invention are set forth in the following drawings.
[0018] Figure 1 Illustrated is an example of a virtual network created for a particular entity using a hub deployed in a public cloud data center of a public cloud provider in accordance with some embodiments.
[0019] Figure 2 Illustrated is an example of a virtual network in which a particular edge forwarding node has been designated as a hub forwarding node to facilitate a communication session between two edge forwarding nodes in accordance with some embodiments.
[0020] Figure 3 Illustrated is a process performed by a forwarding node in a virtual network when attempting to establish a communication session with a particular destination in accordance with some embodiments.
[0021] Figure 4 Illustrated is a process performed by an edge forwarding node at a branch site when attempting to establish communications with a destination in some embodiments.
[0022] Figure 5 Illustrated is an example of a virtual network in which a particular edge forwarding node has been designated as a hub forwarding node to facilitate communication sessions between the particular edge forwarding node and a SaaS data center in accordance with some embodiments.
[0023] Figure 6 Illustrated is a process performed by a forwarding node in a virtual network that acts as a hub forwarding node to facilitate a communication session between a particular source and a particular destination in accordance with some embodiments.
[0024] Figure 7 Illustrated is an example of a virtual network in which a particular edge forwarding node has been designated as a hub forwarding node for other edge forwarding nodes in the virtual network in accordance with some embodiments.
[0025] Figure 8Illustrated is a process performed by a controller or cluster of controllers in a virtual network to identify potential edge forwarding nodes that can act as hub forwarding nodes to provide optimal routing for other forwarding nodes in the virtual network in accordance with some embodiments.
[0026] Fig. 9 Illustrated is an example in which a particular edge forwarding node in a first SD-WAN has been designated as a hub forwarding node to facilitate a communication session between another edge forwarding node in the first SD-WAN and an edge forwarding node in a second SD-WAN in accordance with some embodiments.
[0027] Fig.10 Illustrated is a process performed by a controller or cluster of controllers in a virtual network to identify potential edge forwarding nodes that can act as hub forwarding nodes to provide optimal routing for other forwarding nodes in the virtual network in response to a failed communication attempt detected by another forwarding node in the virtual network, in accordance with some embodiments.
[0028] Figures 11A-11G An example of a routing map generated by a controller to identify all possible routes between a source and a destination is illustrated in accordance with some embodiments.
[0029] Fig.12 Illustrated are examples of two routing graphs generated for an SD-WAN that treat an edge node differently.
[0030] Fig.13 A computer system is conceptually illustrated with which some embodiments of the invention may be implemented. DETAILED DESCRIPTION
[0031] In the following detailed description of the present invention, many details, examples and embodiments of the present invention are set forth and described. However, it will be clear and obvious to those skilled in the art that the present invention is not limited to the embodiments set forth and that the present invention can be practiced without some of the specific details and examples discussed.
[0032] Some embodiments of the present invention provide a method for routing data packets through a software defined wide area network (SD-WAN) defined for an entity by enhancing the roles of a SD-WAN device. Examples of roles for SD-WAN devices include SD-WAN edge forwarding nodes, SD-WAN hub forwarding nodes, and SD-WAN gateway forwarding nodes. In some embodiments, the roles of SD-WAN devices may include primary functions and secondary functions, where the secondary functions are either always there or requested on demand. In some embodiments, these roles are context-based. For example, in some embodiments, a controller or a cluster of controllers may associate an SD-WAN forwarding node with a heuristic metric such as geographic location, number of paths to the hub, path metrics.
[0033] In the case where the primary function of its role is to serve as an edge forwarding node, for example, a first SD-WAN edge forwarding node of an entity located at a first multi-machine site (e.g., also referred to herein as a multi-user computing site) at a first physical location and including a first set of machines can forward packets from the first set of machines operating at the first multi-machine site to other forwarding nodes in the SD-WAN for forwarding to other machines associated with the entity. Based on configuration data (i.e., routing records) from a controller, the first SD-WAN edge forwarding node can then operate in its secondary function as a hub for a second multi-machine site and relay a set of packets from a second set of machines operating at the second multi-machine site to a third set of machines associated with the entity.
[0034] Figure 1 An example of a virtual network 100 created for a particular entity using SD-WAN forwarding elements deployed at branch sites, data centers, and public clouds is illustrated. Examples of public clouds are those provided by Amazon Web Services (AWS), Google Cloud Platform (GCP), Microsoft Azure, etc., while examples of entities include companies (e.g., corporations, partnerships, etc.), organizations (e.g., schools, non-profit organizations, government entities, etc.), etc.
[0035] exist Figure 1 In the embodiment, the SD-WAN forwarding elements include a cloud gateway 105 and SD-WAN forwarding elements 130, 132, 134, 136. In some embodiments, the cloud gateway (CGW) is a forwarding element in a private or public data center 110. In some embodiments, the CGW 105 has a secure connection link (e.g., a tunnel) with edge forwarding elements (e.g., SD-WAN edge forwarding elements (FE) 130, 132, 134, and 136) at multi-machine sites (e.g., SD-WAN edge sites 120, 122, and 124) of a specific entity (such as a multi-user computing site (e.g., a branch office or other physical location with multi-user computers and other user-operated devices and acting as a source computer and device for requests to other machines at other sites), a data center (e.g., a location that houses servers), etc.). These multi-machine sites are typically in different physical locations (e.g., different buildings, different cities, different states, etc.).
[0036] Figure 1Four multi-machine sites 120-126 are illustrated, three of which are branch sites 120-124 and one is a data center 126. Each branch site is shown to include an edge forwarding node 130-134, while the data center site 126 is shown to include a hub forwarding node 136. The data center SD-WAN forwarding node 136 is referred to as a hub node because, in some embodiments, this forwarding node can be used to connect to other edge forwarding nodes of the branch sites 120-124. In some embodiments, the hub node uses or has one or more service engines to perform services (e.g., middlebox services) on packets forwarded by the node from one branch site to another branch site. In some embodiments, when the edge forwarding node assumes the role of a hub forwarding node (e.g., based on routing records provided by a controller cluster), the controller cluster provides service rules to the edge forwarding node to enable this node (or the service engine used by this node) to perform the service operations to be performed by the hub forwarding node. The hub node also provides access to data center resources 156, as further described below.
[0037] Each edge forwarding element (e.g., SD-WAN edge FE 130-134) exchanges data packets with one or more cloud gateways 105 via one or more connection links 115 (e.g., multiple connection links available at the edge forwarding element). In some embodiments, these connection links include secure and unsecure connection links, while in other embodiments, they only include secure connection links. As shown by edge node 134 and gateway 105, multiple secure connection links (e.g., multiple secure tunnels established on multiple physical links) can be established between an edge node and the gateway.
[0038] When multiple such links are defined between an edge node and a gateway, in some embodiments, each secure connection link is associated with a different physical network link between the edge node and the external network. For example, in order to access an external network, in some embodiments the edge node has one or more commercial broadband Internet links (e.g., cable modems, fiber optic links) for accessing the Internet, MPLS links for accessing external networks through an MPLS (Multi-Protocol Label Switching) provider's network, wireless cellular links (e.g., 5G LTE networks), etc. In some embodiments, different physical links between edge node 134 and cloud gateway 105 are links of the same type (e.g., different MPLS links).
[0039] In some embodiments, an edge forwarding node 130-134 may also have multiple direct links 115 (e.g., secure connection links established through multiple physical links) to another edge forwarding node 130-134 and / or a data center hub node 136. Similarly, in some embodiments different links may use different types of physical links or the same type of physical links. In addition, in some embodiments, a first edge forwarding node at a first branch site may be connected to a second edge forwarding node at a second branch site by: (1) directly through one or more links 115, (2) through a cloud gateway or data center hub to which the first edge forwarding node is connected through two or more links 115, or (3) through another edge forwarding node at another branch site, which may enhance its role to that of a hub forwarding node, as described in more detail below. Therefore, in some embodiments, a first edge forwarding node (e.g., 134) at a first branch site (e.g., 124) may use multiple SD-WAN links 115 to reach a second edge forwarding node (e.g., 130) at a second branch site (e.g., 120) or a hub forwarding node 136 at a data center site 126.
[0040] In some embodiments, the cloud gateway 105 is used to connect two SD-WAN forwarding nodes 130-136 via at least two secure connection links 115 between the gateway 105 and two forwarding elements at two SD-WAN sites (e.g., branch sites 120-124 or data center site 126). In some embodiments, the cloud gateway 105 also provides network data from one multi-machine site to another multi-machine site (e.g., providing an accessible subnet of one site to another site). Similar to the cloud gateway 105, in some embodiments the hub forwarding element 136 of the data center 126 can be used to connect two SD-WAN forwarding nodes 130-134 of two branch sites via at least two secure connection links 115 between the hub 136 and two forwarding elements at two branch sites 120-124.
[0041] In some embodiments, each secure connection link between two SD-WAN forwarding nodes (i.e., CGW 105 and edge forwarding nodes 130-136) is formed as a VPN tunnel between the two forwarding nodes. In this example, the collection of SD-WAN forwarding nodes (e.g., forwarding elements 130-136 and gateway 105) and secure connections 115 between the forwarding nodes forms a virtual network 100 for a particular entity that spans at least a public or private cloud data center 110 to connect branch sites and data center sites 120-126.
[0042] In some embodiments, secure connection links are defined between gateways in different public cloud data centers to allow paths through virtual networks to pass from one public cloud data center to another, while in other embodiments no such links are defined. In addition, in some embodiments, gateway 105 is a multi-tenant gateway that is used to define other virtual networks for other entities (e.g., other companies, organizations, etc.). Some such embodiments use a tenant identifier to create a tunnel between the gateway and an edge forwarding element of a particular entity, and then use the tunnel identifier of the created tunnel to allow the gateway to distinguish between packet flows it receives from an edge forwarding element of one entity and packet flows it receives along other tunnels of other entities. In other embodiments, the gateway is single-tenant and is deployed specifically for use by only one entity.
[0043] Figure 1 A controller cluster 140 is illustrated that acts as a central point for managing (e.g., defining and modifying) configuration data, which is provided to edge nodes and / or gateways to configure some or all operations. In some embodiments, this controller cluster 140 is in one or more public cloud data centers, while in other embodiments, it is in one or more private data centers. In some embodiments, the controller cluster 140 has a set of manager servers that define and modify configuration data, and a set of controller servers that distribute configuration data to edge forwarding elements (FEs), hubs, and / or gateways. In some embodiments, the controller cluster 140 instructs edge forwarding elements and hubs to use certain gateways (i.e., assigns gateways to edge forwarding elements and hubs). In some embodiments, some or all of the functions of the controller cluster are performed by a cloud gateway (e.g., cloud gateway 105).
[0044] In some embodiments, the controller cluster 140 also provides next-hop forwarding rules and load balancing criteria. As described above, in some embodiments, the controller cluster 140 also provides service rules to edge forwarding nodes that can act as hub forwarding nodes so that these nodes or service engines used by these nodes can perform service operations on data packets to be performed by the hub forwarding nodes. In some embodiments, the controller cluster actively provides configuration data (e.g., routing records, forwarding rules, etc.) to the edge forwarding nodes to allow the edge forwarding nodes to react quickly when experiencing certain situations that require the use of alternative routes. Alternatively or in combination, in some embodiments, the controller passively provides configuration data after detecting that a particular forwarding node is experiencing certain conditions (e.g., by receiving a notification from the forwarding node).
[0045] In some embodiments, the conditions relate to a deteriorated operational state of the hub forwarding node and are associated with thresholds defined in a forwarding rule (e.g., a policy-based routing (PBR) rule). In some embodiments, the deteriorated operational state of the hub forwarding node may be due to issues with latency, bandwidth, and / or throughput. For example, when the throughput of the assigned hub forwarding node used by the first edge forwarding node at the first site does not fall within a threshold range defined in the forwarding rule, the forwarding rule may specify that the first edge forwarding node should use a second edge forwarding node at the second site to forward a set of packets to a third site.
[0046] In some embodiments, the controller detects a deteriorated operational state of the hub forwarding node and signals the first edge forwarding node to use an alternate route through the second edge forwarding node, while in other embodiments, the first edge forwarding node automatically uses the second edge forwarding node as a hub based on the routing record. Figure 3 , 4 , 6, 8, and 10 illustrate the process of facilitating routing by designating an edge forwarding node as a hub forwarding node in some embodiments, and will be referenced below. Figure 2 , 5 , 7 and 9 are described.
[0047] Figure 2 Another example of a virtual network 200 created for a particular entity using SD-WAN forwarding elements deployed at branch sites, data centers, and public clouds in some embodiments is illustrated. Similar to virtual network 100, the SD-WAN forwarding elements of virtual network 200 include SD-WAN edge forwarding nodes 230-234, cloud gateway 205, and SD-WAN hub forwarding nodes 236. In some embodiments, cloud gateway 205 is a forwarding element in a private or public data center 210. In some embodiments, cloud gateway 205 has secure connection links (e.g., tunnels) with edge forwarding elements at different branch sites and data centers of the entity. In this example, edge forwarding nodes 230-234 are located at corresponding branch sites 220-224, and hub forwarding node 236 is located at data center 226.
[0048] Although cloud gateway 105 and hub forwarding node 236 can provide forwarding services for branch sites 220-224, in some embodiments, these connections sometimes experience problems caused by heavy traffic loads from other sites in the SD-WAN. Therefore, in some embodiments, edge forwarding nodes 230-234 are requested or instructed to act as hub forwarding nodes to facilitate communication sessions between other sites in the SD-WAN.
[0049] Figure 3The process performed by an edge forwarding node at a branch site when attempting to establish communication with a destination (e.g., any destination device based on routing) in some embodiments is illustrated. Process 300 begins at 305 by attempting to establish a communication session with a specific forwarding node at a specific site via one or more hubs or gateways. For example, in virtual network 200, edge forwarding node 230 at branch site 220 may attempt to communicate with edge forwarding node 232 at branch site 222 via connection link 260 through cloud gateway 205 and hub forwarding node 236.
[0050] Next, at 310, the edge forwarding node determines whether the attempt to establish the communication session failed. In some embodiments, for example, when different branch sites of the same or different entities / tenants are sending large amounts of data via the hub or gateway forwarding node, the connection (e.g., link) with other branch sites becomes less reliable (i.e., deteriorates). In addition, in some embodiments, the connection attempt failed because the hub or gateway forwarding node may be experiencing planned or unplanned downtime (e.g., for maintenance).
[0051] When the edge forwarding node determines at 310 that the attempt did not fail, the process transitions to 315 to send the communication (i.e., data packet) via the successful route. The process then ends. Otherwise, when the edge forwarding node determines at 310 that the attempt did fail, the process transitions to 320 to determine whether a threshold number of attempts has been exceeded. In some embodiments, the threshold number of attempts is predefined by a user (e.g., a network administrator) and is implemented as a fault tolerance policy, or as a PBR rule, as will be described below for Figure 4 As described.
[0052] When the edge forwarding node determines that the threshold of failed attempts has not been exceeded, the process returns to 305 to continue attempting to establish a communication session via the hub and gateway forwarding nodes. Alternatively, when the edge forwarding node determines at 320 that the threshold number of failed attempts has been exceeded, the process transitions to 325 to establish a communication session with an intervening edge forwarding node at another branch site. For example, edge forwarding node 230 may establish a communication session with edge forwarding node 234 (which acts as a hub for a communication session between edge forwarding node 230 and edge forwarding node 232).
[0053] Next, at 330, the edge forwarding node begins forwarding packets to the intermediary edge forwarding node, now acting as a hub forwarding node, for delivery to a specific forwarding node at a specific site. For example, in virtual network 200, edge forwarding node 230 is shown as sending packet 275 along route 270, which passes through edge forwarding node 234 for delivery to edge forwarding node 232. The process then ends.
[0054] Figure 4 Another process is illustrated that is performed by an edge forwarding node at a branch site when attempting to establish communications with a destination (e.g., any destination device based on routing) in some embodiments. Process 400 begins at 410 when an edge forwarding node at a branch site receives a data packet for forwarding across the SD-WAN to a second site (e.g., from a source machine at the branch site).
[0055] Next, at 420, the process identifies a set of one or more PBR rules that are applicable to the data packet and identify two next hops for two routes to the destination, one of which uses the assigned hub forwarding node at the data center site and the other of which uses another edge forwarding node at another site. In some embodiments, the edge forwarding node identifies the applicable PBR rules based on a five-tuple identifier associated with the data packet (e.g., source and destination addresses, source and destination port numbers, and protocol) and based on performance attributes of the assigned hub forwarding node (e.g., latency, bandwidth, and throughput).
[0056] After identifying the set of PBR rules, the process evaluates the conditions specified by the set of PBR rules at 430 to select one of the next hops identified by the set of PBR rules. For example, in some embodiments, the PBR rules specify thresholds for performance attributes. For example, the PBR rules may specify that when the assigned hub forwarding node has a delay greater than N ms, another edge forwarding node acting as a hub forwarding node should be the next hop for forwarding the data packet. In another example, the PBR rules may specify that when the edge forwarding node experiences more than N failed attempts to connect to the assigned hub forwarding node, another edge forwarding node acting as a hub forwarding node should be the next hop for forwarding the data packet. The process then forwards the received data packet to the selected next hop at 440. After 440, process 400 ends.
[0057] Figure 5A virtual network 500 is illustrated, which includes a controller cluster 540, a plurality of branch sites (e.g., 520, 522, and 524), each branch site having a corresponding SD-WAN edge forwarding node (e.g., 530, 532, and 534) and a set of resources (e.g., 550, 552, and 554). The virtual network 500 also includes a data center 528 (public or private) with resources 558 and an SD-WAN hub forwarding node 538, a cloud gateway 505 in a public cloud 510, and a SaaS data center 526 with resources 556 and an SD-WAN gateway forwarding node 536. Figure 5 Will be referenced below Figure 6 describe.
[0058] Figure 6 A process 600 is illustrated, which is performed by an edge forwarding node of a branch site that acts as a hub forwarding node to relay communications between other sites inside and outside a virtual network in some embodiments. Process 600 begins at 610 when an edge forwarding node (i.e., a first edge forwarding node) of a branch site receives instructions from a controller to act as a hub forwarding node to relay a group of data packets from a specific forwarding node at a specific site to a destination. For example, in some embodiments, in virtual network 500, edge forwarding node 530 at branch site 520 may establish a communication session with edge forwarding node 534 at branch site 524 so that edge forwarding node 534 acts as a hub for relaying a group of data packets from edge forwarding node 530 to gateway forwarding node 536 after a certain number of failed attempts to communicate through cloud gateway 505. In some embodiments, the instructions include route records generated by the controller based on routes identified in one or more route maps for the SD-WAN.
[0059] After receiving the instruction at 610, the edge forwarding node establishes a first tunnel with the specific forwarding node of the specific site and a second tunnel with the next hop on the path to the destination to relay the group of data packets from the specific forwarding node to the destination at 620. For example, edge forwarding node 532 may establish a tunnel with edge forwarding node 530 via link 570 and establish a tunnel with gateway forwarding node 536 (i.e., the destination) on link 572.
[0060] At 630, the edge forwarding node next receives a data packet from the particular forwarding node along the first tunnel, removes the identifier of the first tunnel from the data packet, and inserts the identifier of the second tunnel. The edge forwarding node then forwards the data packet with the identifier of the second tunnel to the destination through the second tunnel at 640. For example, edge forwarding node 534 may receive a data packet from edge forwarding node 530 along the path shown by dashed line 574 and forward the data packet to destination gateway forwarding node 536.
[0061] Next, at 650, the edge forwarding node determines whether there are additional packets in the set of packets to be forwarded. When the edge forwarding node determines that there are additional packets to be forwarded in the communication session (i.e., the session has not yet terminated), the process returns to 630 to receive packets from the particular forwarding node.
[0062] Otherwise, when the edge forwarding node determines that there are no additional packets to forward (i.e., the communication session has terminated), the process transitions to 660 to terminate the first tunnel and the second tunnel and cease to act as a hub in accordance with the received instructions. For example, in some embodiments, the edge forwarding node operating in the hub role is configured to retain the role of hub only for the length of time it takes to relay a set of packets for which the tunnel was initially established, while in other embodiments, the edge forwarding node continues to operate in the hub role for a particular set of communication sessions, or in still other embodiments, the edge forwarding node operates in the hub role until it receives additional instructions (e.g., from a controller) to stop. After 660, the process ends.
[0063] Figure 7 Another example of a virtual network in some embodiments is illustrated. The virtual network 700 includes a controller cluster 740, a set of branch sites (e.g., 720, 722, and 724) each including a set of resources (e.g., 750, 752, and 754) and SD-WAN edge forwarding nodes (e.g., 730, 732, and 734), and a data center 728 including resources 758 and a hub forwarding node 738. The hub forwarding node 738 at the data center 728 is used to connect each of the branch sites 720-724 to a gateway forwarding node 736 of an external SaaS data center 726 to allow the branch site to access the resources 756 of the SaaS data center. Figure 7 Will be referenced below Figure 8 is described in more detail.
[0064] Figure 8The diagram illustrates a process performed by a controller or controller cluster in some embodiments. In some embodiments, process 800 is performed as a passive process (i.e., performed in response to the detection of an adverse condition in the SD-WAN), while in other embodiments, the process is an active process (i.e., performed before any adverse condition is detected). Process 800 begins at 810, when the controller generates a routing map (e.g., a routing mesh topology model) based on the profile settings of the SD-WAN forwarding nodes to identify available routes between devices within and outside the SD-WAN. For example, the controller cluster 740 can identify all connections 760 between branch sites 720-724 and the data center 728, as well as connections 765 between branch sites. Example routing maps will be referenced below. Figures 11A-11G is described.
[0065] Next, at 820, the controller analyzes the routing map to identify spoke SD-WAN edge forwarding nodes. In the virtual network 700, the controller cluster 740 may identify each of the edge forwarding nodes 730-734 as a spoke around the hub forwarding node 738. Based on this analysis, the controller determines at 830 that a particular spoke SD-WAN edge forwarding node should serve as an SD-WAN hub forwarding node for a group of SD-WAN edge forwarding nodes. For example, although each of the edge forwarding nodes 730-734 has been identified as a spoke, in some embodiments, the controller 740 may determine that the best route for edge forwarding nodes 730 and 734 (e.g., where these nodes cannot directly reach the hub forwarding node 738) will pass through edge forwarding node 732, as shown by bold routes 770 and 775.
[0066] After determining that a particular spoke edge forwarding node should serve as a hub forwarding node for a group of edge forwarding nodes, the controller instructs the particular spoke edge forwarding node to serve as a hub forwarding node for the group of SD-WAN edge forwarding nodes at 840 and instructs the group to use the particular spoke edge forwarding node as a hub forwarding node. For example, the controller cluster 740 may send a corresponding instruction to each of the edge forwarding nodes 730-734 using connection 780. In some embodiments, the controller instructs the group of edge forwarding nodes to use the assigned hub forwarding node only for a specified amount of time (e.g., for a particular set of communication sessions).
[0067] In some embodiments, the instructions include a routing record generated by the controller that identifies different paths using the specific spoke edge forwarding node as a hub forwarding node. In some embodiments, the routing record includes two different sets of routing records generated based on the first and second routing maps, wherein the first set includes routes in which the specific spoke edge forwarding node acts only as an edge forwarding node, and the second set includes routes in which the specific spoke edge forwarding node acts as an edge forwarding node as well as a hub forwarding node. Alternatively or in combination, in some embodiments, the routing record includes two different sets of routing records based on a routing map generated by the controller, wherein the first set of routing records is also based on a first set of routes associated with a first cost when using a specific spoke edge forwarding node as an edge forwarding node, and the second set of routing records is also based on a second set of routes associated with a second cost when using a specific spoke edge forwarding node as a hub forwarding node. In some embodiments, the controller also sends a list of nodes along with the routing record that are identified in the routing map as nodes that can act as a hub to a forwarding node in the SD-WAN. After providing the instructions to the specific spoke edge forwarding node, process 800 ends.
[0068] Fig. 9 An example of a communication session between sites in different SD-WANs relayed by edge forwarding nodes is illustrated. The first SD-WAN 901 includes a set of branch sites (e.g., 920, 921, and 922), each having a set of resources (e.g., 950, 951, and 952) and edge forwarding nodes (e.g., 930, 931, and 932), and a cloud gateway 905 in a public cloud 910. The second SD-WAN 902 includes a pair of branch sites (e.g., 924 and 925), each having a set of resources (e.g., 954 and 955) and edge forwarding nodes (e.g., 934 and 935). The first SD-WAN 901 and the second SD-WAN 902 are connected by a public data center 926 including a set of resources 956 and a hub forwarding node 936. Fig. 9 Reference will be made below Figure 8 is further described.
[0069] Fig.10The process performed by a controller or controller cluster in some embodiments to facilitate routing between forwarding nodes inside and outside the SD-WAN is illustrated. Process 1000 begins at 1010 when a controller detects a performance degradation at an assigned hub forwarding node between a source site and a destination site. For example, a controller cluster (not shown) of SD-WAN 901 may detect a performance degradation of a cloud gateway 905 and / or a link 960 between an edge forwarding node 931 and the cloud gateway 905. In some embodiments, the controller cluster detects such a network event by receiving notifications about the network event from different forwarding elements (e.g., edge forwarding nodes 931, cloud gateways 905, etc.).
[0070] Next, at 1020, the controller generates a routing map (i.e., the routing map generated in process 800) to perform a path search to identify an alternative route between the source site and the destination site across the SD-WAN that uses a specific edge forwarding node at a specific site (i.e., instead of the assigned hub forwarding node) as the next hop for the group of packets. For example, a controller cluster (not shown) of the SD-WAN 901 may identify the edge forwarding node 930 as a spoke edge forwarding node that is capable of acting as a hub for a communication session between the edge forwarding node 931 in the SD-WAN 901 and a destination (such as the edge forwarding node 934 at the branch site 924 in the SD-WAN 902).
[0071] The controller cluster then selects the best route from the identified alternative routes for forwarding a set of data packets from the source site to the destination site at 1030. In some embodiments, each route has an associated cost, and the best route selected is the route with the lowest cost, while in other embodiments, the best route is not the route with the lowest cost.
[0072] At 1040, the controller cluster instructs a specific edge forwarding node acting as the next hop in the selected route to act as a hub forwarding node to forward a group of data packets from the source site to the destination site. For example, the controller cluster (not shown) may instruct the edge forwarding node 930 to act as a hub for the edge forwarding node 931 so that the edge forwarding node 931 forwards a group of data packets to the edge forwarding node 934 of the second SD-WAN 902, so that the data packets are forwarded from the edge forwarding node 930 acting as a hub to the hub forwarding node 936 of the data center 926, and finally to the edge forwarding node 934.
[0073] Additionally, at 1050, the controller cluster instructs the edge forwarding node at the source site to use the specific edge forwarding node at the specific site as a next hop for forwarding a group of data packets. In some embodiments, the controller cluster instructs the edge forwarding node to use the specific edge forwarding node as the next hop for only the group of data packets, while in other embodiments, the controller cluster instructs the edge forwarding node to use the specific edge forwarding node as the next hop for additional groups of data packets. The process then ends.
[0074] In some embodiments, the cloud gateway 905 performs some or all of the functions of the controller cluster described above. For example, in some embodiments, the cloud gateway is responsible for collecting network event related data from other forwarding elements connected by the SD-WAN and providing this data to the controller cluster, while in other embodiments, the cloud gateway collects this data, analyzes the data to detect any problems, and provides solutions (e.g., by providing alternative routes for forwarding data packets).
[0075] Although Figure 3-Figure 10 Process reference in Figure 2-Figure 9 Elements are described in , but the specific destination for each of these processes can be any of the following: an SD-WAN edge forwarding node at a branch site, an SD-WAN gateway forwarding node at a private data center, a multi-tenant SD-WAN gateway forwarding node associated with a public cloud, a multi-tenant SD-WAN gateway forwarding node associated with a SaaS provider cloud, or an SD-WAN hub forwarding node that provides connectivity between spoke SD-WAN edge forwarding nodes in a hub-and-spoke configuration of the SD-WAN.
[0076] As described above, in some embodiments, a controller or a controller cluster actively or passively creates and checks a routing map in order to determine routes for packets between SD-WAN edge forwarding nodes. In some embodiments, the controller generates one or more routing maps to perform path searches to identify routes through SD-WAN forwarding nodes (e.g., edge nodes, hub nodes, cloud gateway nodes, etc.) between SD-WAN sites that are sources and destinations for packet flows. In some embodiments, the controller also provides each forwarding node in the SD-WAN with a list of forwarding nodes that can act as hub forwarding nodes. Additional details on generating routing maps and performing path searches on these routing maps to identify paths through the SD-WAN can be found in U.S. Patent No. 11,005,684.
[0077] Figures 11A-11GAn example of a routing map generated by a controller is illustrated, along with a subset of potential desired paths permuted on the routing map, from which the controller may select one or more edge forwarding nodes to operate as hub forwarding nodes in a secondary function. Although routing map generation and analysis are described below as being performed by the controller, in some embodiments, some or all of these functions are performed by the cloud gateway.
[0078] Fig.11A A routing map 1100 generated by a controller is illustrated to identify nodes in a virtual network and connections between them. The routing map 1100 includes five edge forwarding nodes (e.g., 1110, 1112, 1114, 1116, and 1118), a gateway forwarding node 1120, and a hub forwarding node 1122. Additionally, the routing map includes a node 1138 representing an external corporate computing node (e.g., a branch office or data center) or a SaaS provider that can be accessed through the edge forwarding node 1118, and a set of nodes 1130, 1132, 1134, and 1136 representing machines or machine groups at branch sites served by the edge forwarding nodes 1110-1118. For example, nodes 1130 and 1132 represent machines that can be accessed through the edge forwarding node 1110, node 1134 represents a machine that can be accessed through the edge forwarding node 1114, and node 1136 represents a machine that can be accessed through the edge forwarding node 1116.
[0079] Routing map 1100 also illustrates connections between these forwarding nodes, including link 1140 between edge forwarding nodes, link 1142 between edge forwarding nodes and gateway forwarding node 1120, link 1144 between edge forwarding nodes and hub forwarding node 1122, and link 1146 between gateway forwarding node 1120 and hub forwarding node 1122. In some embodiments, the controller removes any identified bad links before generating routing map 1100.
[0080] As described with respect to process 800, the controller may analyze the routing graph to identify spoke SD-WAN edge forwarding nodes (such as spoke edge forwarding nodes 1110-1118) and determine whether any identified spoke edge forwarding node should act as a hub forwarding node for other edge forwarding nodes. For example, edge forwarding node 1112 has a connection to hub forwarding node 1122 via link 1144, so if the connection link 1142 between edge forwarding node 1110 and gateway forwarding node 1120 becomes unreliable, edge forwarding node 1112 may act as a hub forwarding node for edge forwarding node 1110. Each node that exists as a hub or spoke in routing graph 1100 is also marked with a cost label that indicates the cost of using each respective node in its primary role (e.g., edge forwarding node 1110 has an associated cost of 1 ("E1-C1"), and edge forwarding node 1116 has an associated cost of 1 ("E4-C1")).
[0081] In some embodiments, for one or more links in the routing graph, the controller calculates a link weight score (cost score) as a weighted combination of several calculated values and provider-specific values. In some embodiments, the weight score is a weighted combination of the following items for the link: (1) a calculated delay value, (2) a calculated loss value, (3) a provider network connection cost, and (4) a provider computing cost. In some embodiments, the provider computing cost is accounted for because the managed forwarding nodes to which the links are connected are machines (e.g., virtual machines or containers) executed on hosts in (one or more) public cloud data centers. In some embodiments, these weight scores can be used to determine which edge forwarding nodes will be best suited to act as hub forwarding nodes in their secondary functions.
[0082] For example, Fig. 11B A routing graph 1100 is illustrated in which weight scores are added to links for use by a controller to determine the most desirable route between a source node (e.g., emphasized edge forwarding node 1110) and a destination node (e.g., emphasized gateway forwarding node 1136). For example, the link between edge forwarding node 1110 and gateway forwarding node 1120 has a weight value of L-C1 (i.e., link cost 1), while the link between edge forwarding node 1110 and edge forwarding node 1112 has a weight value of L-C2 (i.e., link cost 2). It can be assumed that, in some embodiments, the link cost between an edge forwarding node and an assigned gateway (e.g., L-C1) is normally less than the link cost between a first edge forwarding node and a second edge forwarding node operating in the role of a hub forwarding node (e.g., L-C2).
[0083] In addition to the weight values associated with each link and the initial cost score for each node, edge forwarding nodes 1112, 1114, and 1118 also include secondary cost scores (e.g., edge forwarding node 1112 includes secondary costs E2-H-C1) that represent the cost of using each of these particular edge forwarding nodes as a hub forwarding node in its secondary function. In some embodiments, it can be assumed that the cost score of the edge forwarding node when the node is operating as an edge forwarding node in its primary function is less than the cost score when the edge forwarding node is operating as a hub forwarding node in its secondary function. In some such embodiments, it can also be assumed that under normal operating conditions, the cost score of the edge forwarding node when it is operating as a hub forwarding node in its secondary function is greater than the cost score associated with the assigned hub forwarding node.
[0084] Fig. 11C A routing graph 1100 is illustrated on which a first desired path between edge forwarding node 1110 and edge forwarding node 1116 is transposed, the first desired path being represented by emphasized and labeled links. In this example, each of the forwarding nodes that traffic will pass through has a cost associated with the primary function of the forwarding node (i.e., none of the edge forwarding nodes in this example operate as hub forwarding nodes). Therefore, in some embodiments, the cost of using this particular path is less than the cost of other potential paths.
[0085] Fig.11D The routing graph 1100 is illustrated on which the second desired path between edge forwarding node 1110 and edge forwarding node 1116 is switched. In this example, one edge forwarding node (ie, edge forwarding node 1118) operates as a hub forwarding node to pass traffic from gateway 1120 to edge forwarding node 1116.
[0086] In some embodiments, the decision to enhance the role of the edge forwarding node is based on conditions faced by another forwarding node that cause the other forwarding node to be unable to forward traffic to the intended next hop. For example, according to some embodiments, a particular forwarding node may be unable to connect to a hub forwarding node due to link degradation, congestion at the hub forwarding node due to another tenant, etc. In another example, in some embodiments, the controller (or cloud gateway) can detect these conditions by pinging (e.g., sending ICMP messages) a hub forwarding node or set of hub forwarding nodes and detecting slow responses.
[0087] In some embodiments, the conditions faced by the forwarding node are associated with specified thresholds, such as a bandwidth threshold, a connection attempt threshold (i.e., the number of failed attempts by the forwarding node to connect to another forwarding node), a response time threshold (i.e., how quickly the forwarding node responds to ICMP messages), etc. For example, in some embodiments, the role of the edge forwarding node 1118 is enhanced so that the decision to operate the node as a hub forwarding node is based on exceeding a threshold number of failed connection attempts when the gateway forwarding node 1120 attempts to connect to the hub forwarding node 1122. As described above, in some embodiments, the failed attempts may be due to congestion caused by heavy traffic from other tenants using the hub forwarding node 1122.
[0088] As a result of congestion (or another condition), in some embodiments, the controller determines that the cost of using hub forwarding node 1120 becomes significantly greater than the cost of using edge forwarding node 1118 as a hub forwarding node to deliver traffic to the destination. Alternatively or in combination, according to some embodiments, forwarding nodes experiencing these conditions make their own alternative routing choices using routing records provided by the controller (or cloud gateway).
[0089] In some embodiments, the forwarding nodes make their selections based on policy-based routing (PBR) rules. In some such embodiments, the forwarding nodes include a metric generator that generates metrics that are used to parse the PBR rules. For example, a PBR rule may specify for a source (e.g., a branch office in Los Angeles) that if the traffic destination is X (e.g., a branch office in San Francisco), then if the delay of Y is within 80% of a specified ideal range, then the next hop is Y (e.g., a branch office in Fresno), otherwise, the next hop is Z (e.g., a branch office in Las Vegas). Therefore, if an edge forwarding node located at a source site determines that the delay of Y is not within the range, the edge forwarding node will use Z as its next hop.
[0090] Fig.11E The routing graph 1100 is illustrated in which the third desired path between the edge forwarding node 1110 and the edge forwarding node 1116 is switched. Fig.11D Like the example of , this example includes an edge forwarding node, this time edge forwarding node 1112, operating as a hub forwarding node to pass traffic from edge forwarding node 1110 to hub forwarding node 1122 for ultimate delivery to destination 1116. Since gateway 1120 is a multi-tenant forwarding node, heavy traffic from another tenant, like hub forwarding node 1122, may overwhelm gateway forwarding node 1120, thereby creating a need for an alternative route and offsetting the typically higher cost of using edge forwarding node 1112 instead of gateway 1120.
[0091] Fig.11F The routing graph 1100 is illustrated on which a fourth desired path between edge forwarding node 1110 and edge forwarding node 1116 is switched. This fourth path uses the auxiliary hub function of both edge forwarding node 1112 and edge forwarding node 1118. Figure 11C-11E Unlike the example in Fig.11F The example path in includes an additional node for traffic to traverse. It can be inferred that, in accordance with some embodiments, in addition to the additional cost of two edge forwarding nodes operating in a secondary function as hub forwarding nodes, the additional cost of traversing the additional node is now less than the cost of using a direct link between edge forwarding node 1110 and gateway 1120 plus the cost of traversing hub forwarding node 1122.
[0092] at last, Fig.11G Routing graph 1100 is illustrated on which the fifth desired path (and the least desired of the five shown) is swapped between edge forwarding node 1110 and edge forwarding node 1116. In this example, both edge forwarding nodes (eg, 1114 and 1118) also operate as hub forwarding nodes.
[0093] In some embodiments, using Fig.11F The cost of the path shown in may be equal to Fig.11G , and other means of determining the best path may be used in place of cost. For example, in some embodiments, the controller may associate forwarding nodes with heuristic metrics such as geographic location, number of paths to the hub, and other path metrics. In some embodiments, based on the likelihood of additional traffic to edge forwarding node 1114 (which provides access to gateway forwarding node 1134 at an external site), Fig.11F The path in may be Fig.11G The path in is more desirable and cheaper. Although the example paths provided above are finite, in some embodiments, the controller identifies every potential path between the source and the destination and selects the best path.
[0094] As described above, different embodiments generate and utilize routing graphs differently. For example, some embodiments define only one routing graph, but allow edge nodes to act as either edge forwarding nodes or hub forwarding nodes by providing each such edge node with two different costs for the two different capabilities under which it can operate (i.e., a first cost when it operates as an edge forwarding node and a second cost when it operates as a hub forwarding node). These embodiments then perform a path search on this common routing graph to jointly identify the following routes for pairs of sites connected by the SD-WAN: (1) routes that use only specific edge nodes as edge forwarding elements, and (2) routes that also use specific edge nodes as hub forwarding elements.
[0095] On the other hand, other embodiments define two routing maps, one of which does not consider any edge forwarding node as a hub node, and the other of which allows edge nodes to be both edge forwarding nodes and hub forwarding nodes for some or all other edge nodes. These embodiments perform a path search on each routing map to identify the best route between each pair of sites connected by the SD-WAN. Fig.12 Illustrated are examples of two route graphs 1200a and 1200b generated for an SD-WAN that treat one edge node 1212 ("E2") differently. In Figure 1200a, edge node 1212 is designated by only the acronym EFE to identify that it operates only as an edge forwarding element. Therefore, in this route graph, node 1212 cannot be used to define a route from node 1210 to node 1214 (i.e., via link 1240), but rather all possible routes must pass through hub node 1220 and / or cloud gateway node 1222, as highlighted by overlapping example routes 1250a and 1250b.
[0096] In the second diagram 1200b, edge node 1212 is assigned the acronyms EFE and HFE to identify that it can operate as an edge forwarding element and a hub forwarding element. Thus, in this routing diagram, node 1212 can be used to define a route from node 1210 to node 1214 (i.e., via link 1240), as highlighted by the overlapping routes 1252a and 1252b shown from node 1210 through node 1212 to node 1214. In some embodiments, different costs are associated with node 1212 acting as an EFE or HFE, as described above with reference to Figures 11A-11G described.
[0097] Many of the above features and applications are implemented as software processes designated as a set of instructions recorded on a computer-readable storage medium (also referred to as a computer-readable medium). When these instructions are executed by one or more processing units (e.g., one or more processors, cores of a processor, or other processing units), they cause the processing unit(s) to perform the actions indicated in the instructions. Examples of computer-readable media include, but are not limited to, CD-ROMs, flash drives, RAM chips, hard drives, EPROMs, etc. Computer-readable media do not include carrier waves and electronic signals transmitted wirelessly or through wired connections.
[0098] In this specification, the term "software" is meant to include firmware residing in a read-only memory or an application stored in magnetic storage, which can be read into memory for processing by a processor. In addition, in some embodiments, multiple software inventions can be implemented as sub-parts of a larger program while retaining different software inventions. In some embodiments, multiple software inventions can also be implemented as separate programs. Finally, any combination of separate programs that jointly implement the software inventions described herein are within the scope of the present invention. In some embodiments, when the software program is installed to run on one or more electronic systems, one or more specific machine implementations that define the operations of executing and running the software program are defined.
[0099] Fig.13 Conceptually illustrates a computer system 1300 that is used to implement some embodiments of the present invention. Computer system 1300 can be used to implement any of the above-mentioned hosts, controllers, gateways, and edge forwarding elements. Therefore, it can be used to perform any of the above-mentioned processes. Such a computer system includes various types of non-transient machine-readable media and interfaces for various other types of computer-readable media. Computer system 1300 includes bus 1305, (one or more) processing units 1310, system memory 1325, read-only memory 1330, permanent storage device 1335, input device 1340, and output device 1345.
[0100] Bus 1305 generally represents all system, peripheral, and chipset buses that communicatively connect the numerous internal devices of computer system 1300. For example, bus 1305 communicatively connects processing unit(s) 1310 with read-only memory 1330, system memory 1325, and permanent storage device 1335.
[0101] From these various memory units, the processing unit(s) 1310 retrieves instructions to be executed and data to be processed in order to perform the processes of the present invention. In different embodiments, the processing unit(s) may be a single processor or a multi-core processor. Read-only memory (ROM) 1330 stores static data and instructions required by the processing unit(s) 1310 and other modules of the electronic system. On the other hand, permanent storage device 1335 is a read-write memory device. This device 1335 is a non-volatile memory unit that can store instructions and data even when the computer system 1300 is turned off. Some embodiments of the present invention use a mass storage device (such as a magnetic disk or optical disk and its corresponding disk drive) as a permanent storage device 1335.
[0102] Other embodiments use a removable storage device (such as a floppy disk, flash drive, etc.) as the permanent storage device 1335. Like the permanent storage device 1335, the system memory 1325 is a read-write memory device. However, unlike the storage device 1335, the system memory is a volatile read-write memory, such as a random access memory. The system memory stores some of the instructions and data that the processor needs at run time. In some embodiments, the processes of the present invention are stored in the system memory 1325, the permanent storage device 1335, and / or the read-only memory 1330. From these various memory units, the processing unit(s) 1310 retrieves instructions to be executed and data to be processed in order to perform the processes of some embodiments.
[0103] Bus 1305 is also connected to input and output devices 1340 and 1345. Input devices enable a user to communicate information and select commands to the electronic system. Input devices 1340 include an alphanumeric keyboard and a pointing device (also known as a "cursor control device"). Output devices 1345 display images generated by the electronic system. Output devices include printers and display devices, such as cathode ray tubes (CRTs) or liquid crystal displays (LCDs). Some embodiments include devices that function as both input and output devices, such as touch screens.
[0104] Finally, if Fig.13 As shown in , bus 1305 also couples computer system 1300 to a network 1365 via a network adapter (not shown). In this manner, the computer may be part of a computer network, such as a local area network ("LAN"), a wide area network ("WAN"), or an intranet, or a network of networks, such as the Internet. Any or all components of computer system 1300 may be used in conjunction with the present invention.
[0105] Some embodiments include electronic components such as microprocessors, storage devices, and memories that store computer program instructions in machine-readable or computer-readable media (alternatively referred to as computer-readable storage media, machine-readable media, or machine-readable storage media). Some examples of such computer-readable media include RAM, ROM, compact disk-read only (CD-ROM), compact disk-recordable (CD-R), compact disk-rewritable (CD-RW), read-only digital versatile disks (e.g., DVD-ROM, dual-layer DVD-ROM), various recordable / rewritable DVDs (e.g., DVD-RAM, DVD-RW, DVD+RW, etc.), flash memory (e.g., SD card), mini-SD card, micro-SD card, etc.), magnetic and / or solid-state hard drives, read-only and recordable A computer readable medium may store a computer program that is executable by at least one processing unit and includes a set of instructions for performing various operations. Examples of computer programs or computer code include machine code, such as that produced by a compiler, and files including high-level code that is executed by a computer, electronic component, or microprocessor using an interpreter.
[0106] Although the above discussion mainly involves microprocessors or multi-core processors that execute software, some embodiments are performed by one or more integrated circuits, such as application specific integrated circuits (ASICs) or field programmable gate arrays (FPGAs). In some embodiments, such integrated circuits execute instructions stored on the circuits themselves.
[0107] As used in this specification, the terms "computer," "server," "processor," and "memory" all refer to electronic or other technical devices. These terms do not include people or groups of people. For the purposes of this specification, the term "display" refers to displaying on an electronic device. As used in this specification, the terms "computer-readable medium" and "machine-readable medium" are entirely limited to tangible physical objects that store information in a computer-readable form. These terms do not include any wireless signals, wired download signals, and any other short-lived or transient signals.
[0108] Although the present invention has been described with reference to many specific details, a person of ordinary skill in the art will recognize that the present invention can be implemented in other specific forms without departing from the spirit of the present invention. For example, several of the above embodiments deploy the gateway in a public cloud data center. However, in other embodiments, the gateway is deployed in a third party's virtual private cloud data center (e.g., a data center used by a third party to deploy cloud gateways for different entities in order to deploy virtual networks for these entities). Therefore, a person of ordinary skill in the art will understand that the present invention is not limited by the foregoing illustrative details, but is to be defined by the appended claims.
Claims
1. A method of routing packets across a software defined wide area network (SD-WAN) defined for an entity, the method comprising: Performing the following operations at a first edge forwarding node located at a first multi-machine site of the entity, the first multi-machine site being at a first physical location and including a first set of machines: acting as an edge forwarding node for the first set of machines by forwarding packets between the first set of machines and other machines associated with the entity via other forwarding nodes in the SD-WAN; receiving configuration data specifying that a first edge forwarding node acts as a hub forwarding node for forwarding a set of packets from a second set of machines associated with the entity and operating at a second multi-machine site at a second physical location to a third set of machines associated with the entity and operating at a third multi-machine site at a third physical location; as well as Acting as a hub forwarding node to forward the set of packets from the second set of machines to the third set of machines, the acting as the hub forwarding node comprising (i) receiving the set of packets from a second edge forwarding node at a second multi-machine site; as well as (ii) forwarding the set of data packets to a third edge forwarding node of the third multi-machine site for delivery to the third set of machines, wherein the configuration data is received from the controller after the controller of the SD-WAN detects that the second edge forwarding node has exceeded a threshold number of failed attempts to connect to an assigned hub forwarding node located at a data center site associated with the entity for forwarding the set of data packets to the third edge forwarding node.
2. The method of claim 1, wherein: The group of data packets is received from the second edge forwarding node through a first tunnel between the first edge forwarding node and the second edge forwarding node, and is forwarded to the third edge forwarding node through a second tunnel between the first edge forwarding node and the third edge forwarding node.
3. The method of claim 2, wherein: Forwarding the set of packets to the third forwarding node through the second tunnel further includes, for each packet in the set, (i) removing a first tunnel header identifier associated with the first tunnel, and (ii) inserting a second tunnel header identifier associated with the second tunnel.
4. The method of claim 1, wherein: Prior to receiving the configuration data, the first edge forwarding node, the second edge forwarding node, and the third edge forwarding node function as spoke nodes in a hub-and-spoke architecture using the designated hub forwarding node located at the data center.
5. The method of claim 4, wherein: The controller generates a routing mesh topology of connections between forwarding nodes and uses the generated routing mesh topology to identify edge forwarding nodes that can act as hub forwarding nodes to provide alternative routes between source forwarding nodes and destination forwarding nodes when the source forwarding node exceeds a threshold number of failed attempts to connect to the designated hub forwarding node.
6. The method of claim 4, wherein: The entity is a first tenant, the SD-WAN is a first SD-WAN, and the assigned hub forwarding node belongs to a set of assigned hub forwarding nodes, wherein the set of assigned hub forwarding nodes includes a set of multi-tenant hub forwarding nodes that act as hub forwarding nodes for multiple SD-WANs defined for multiple tenants.
7. The method of claim 6, wherein: Communications between the second forwarding node and the third forwarding node through the designated set of hub forwarding nodes fail due to network activity of at least a second tenant of the plurality of tenants.
8. The method of claim 4, wherein: After the first edge forwarding node starts operating as a hub forwarding node between the second multi-machine site and the third multi-machine site, the SD-WAN has two hub forwarding nodes, including: (i) the first edge forwarding node at the first multi-machine site acting as a hub forwarding node between the second multi-machine site and the third multi-machine site, and (ii) the designated hub forwarding node at the data center site acting as a plurality of edge forwarding nodes at a plurality of multi-machine stations of the entity.
9. The method of claim 8, wherein: The configuration data also specifies that the first edge forwarding node acts as a hub forwarding node between a specific spoke edge forwarding node executing at a specific multi-machine site of the entity and a set of other multi-machine sites of the entity, wherein the specific spoke edge forwarding node establishes multiple tunnels to the first edge forwarding node acting as the hub forwarding node, each tunnel being used for a communication session between a machine at the specific multi-machine site and a machine at another multi-machine site in the set of multi-machine sites of the entity.
10. The method of claim 1, wherein: The received configuration data specifies that the first edge forwarding node ceases to function as the hub forwarding node between the second site and the third site after the first edge forwarding node has completed forwarding the set of data packets.
11. The method of claim 1, wherein: The first multi-machine site of the entity is a first branch site of a plurality of branch sites of the entity, and the first physical location is a first physical location of a plurality of geographically dispersed physical locations.
12. The method of claim 11, wherein: The second multi-machine site comprises a multi-tenant data center.
13. The method of claim 12, wherein: The multi-tenant data center is a data center of a Software as a Service (SaaS) provider, and the second forwarding node includes a multi-tenant SD-WAN gateway forwarding element (FE).
14. The method of claim 1, wherein: The set of data packets traverses a designated hub forwarding node that is accessible from the first multi-machine site and the second multi-machine site but not accessible from the third multi-machine site.
15. The method of claim 14, wherein: The designated hub forwarding node is a SD-WAN gateway forwarding element (FE) that provides access to a network external to the SD-WAN, wherein the second multi-machine site is external to the SD-WAN.
16. A non-transitory machine-readable medium storing a program executed by a set of processing units, the program for routing packets across a software defined wide area network (SD-WAN) defined for an entity, the program comprising a set of instructions for: performing, at a first edge forwarding node located at a first multi-machine site of the entity, the first multi-machine site being at a first physical location and comprising a first set of machines: acting as an edge forwarding node for the first set of machines by forwarding packets between the first set of machines and other machines associated with the entity via other forwarding nodes in the SD-WAN; receiving configuration data specifying that the first edge forwarding node acts as a hub forwarding node for forwarding a set of packets from a second set of machines associated with the entity and operating at a second multi-machine site at a second physical location to a third set of machines associated with the entity and operating at a third multi-machine site at a third physical location; as well as Acting as a hub forwarding node to forward the set of packets from the second set of machines to the third set of machines, the acting as the hub forwarding node comprising (i) receiving the set of packets from a second edge forwarding node of the second multi-machine site; and (ii) forwarding the set of packets to a third edge forwarding node of the third multi-machine site for delivery to the third set of machines, wherein the configuration data is received from the controller after the controller of the SD-WAN detects that the second edge forwarding node has exceeded a threshold number of failed attempts to connect to an assigned hub forwarding node located at a data center site associated with the entity for forwarding the set of data packets to the third edge forwarding node.
17. The non-transitory machine-readable medium of claim 16, wherein: The group of data packets is received from the second edge forwarding node through a first tunnel between the first edge forwarding node and the second edge forwarding node, and is forwarded to the third edge forwarding node through a second tunnel between the first edge forwarding node and the third edge forwarding node.
18. A method for dynamically adjusting the roles of a software-defined wide area network (SD-WAN) edge forwarding node for a set of edge forwarding nodes in an entity-defined SD-WAN, the SD-WAN comprising (i) at least one data center site including a hub forwarding node and a plurality of server machines, and (ii) two or more multi-user computing sites, each multi-user computing site including an edge forwarding node to connect a plurality of user machines at its respective site to the SD-WAN, the method comprising: collecting network event data from the at least one data center and the two or more multi-user computing sites; detecting that a first edge forwarding node at a first multi-user computing site of the two or more multi-user computing sites is experiencing a problem forwarding a particular set of data packets; generating a set of routing records based on the detected problem, the set of routing records identifying a set of alternative routes for use by the first edge forwarding node, the set of alternative routes including at least one alternative route in which a second edge forwarding node at a second multi-user computing site acts as a hub forwarding node for forwarding the particular set of data packets; as well as Distribute different subsets of the generated set of routing records to forwarding nodes in the SD-WAN for forwarding the specific set of data packets.
19. The method of claim 18, wherein: The generated set of routing records is a second generated set of routing records that is an updated version of a first generated set of routing records provided to the first edge forwarding node prior to detecting that the forwarding node is experiencing a problem.
20. The method of claim 18, wherein: The problem detected includes one of: congestion at a specific forwarding node, a slow response of the specific forwarding node, and downtime experienced by the specific forwarding node.
21. The method of claim 20, wherein: The detected problem is associated with a specified threshold.
22. The method of claim 20, wherein The entity is a first tenant among a plurality of tenants; The hub forwarding node at the data center site is a multi-tenant hub forwarding node serving the multiple tenants; The detected problem includes congestion at the multi-tenant hub forwarding node; and The congestion is caused by heavy traffic from a second tenant using the multi-tenant hub forwarding node.
23. The method of claim 18, wherein: The method is performed by a controller of the SD-WAN, wherein collecting network event data from the at least one data center and the two or more multi-user computing sites includes monitoring a set of links connecting the controller to forwarding nodes in the SD-WAN in response to notifications from the forwarding nodes about problems experienced by the forwarding nodes.
24. The method of claim 23, wherein: Detecting that the first edge forwarding node is experiencing problems forwarding the particular set of packets includes analyzing a notification received from the first edge forwarding node.
25. The method of claim 23, wherein: At least a subset of the functionality of the controller is performed by a cloud gateway.
26. The method of claim 23, wherein: The controller is a cloud gateway.
27. The method of claim 18, wherein: Generating the set of routing records includes: generating at least one routing map for identifying a plurality of routes between forwarding nodes for use in forwarding the particular set of data packets; performing a set of path searches using the at least one routing map to identify the set of alternative routes; and The set of routing records is generated to implement the identified set of alternative routes.
28. The method of claim 27, wherein: Each edge forwarding node in the SD-WAN is associated with a set of SD-WAN profiles, each SD-WAN profile identifying at least one of a set of shared security, service, and policy parameters.
29. The method of claim 28, wherein: Performing the set of path searches using the at least one routing map includes identifying one or more edge forwarding nodes using the set of SD-WAN profiles to serve as hub forwarding nodes for the SD-WAN.
30. The method of claim 18, wherein: The second edge forwarding node acts as a hub forwarding node for the first multi-user computing site only to forward the specific group of data packets.
31. The method of claim 18, wherein: The second edge forwarding node acts as a hub forwarding node for the first multi-user computing site and at least one other multi-user computing site in the SD-WAN.
32. The method of claim 18, wherein: The second edge forwarding node establishes at least one tunnel with the first edge forwarding node, the tunnel being used to receive the specific set of data packets for forwarding to a site different from the first multi-user computing site and the second multi-user computing site.
33. The method of claim 32, wherein: The tunnel is a secure tunnel.
34. The method of claim 18, wherein: Each route in the set of alternative routes is associated with a corresponding cost, wherein routes using the second edge forwarding node as the hub forwarding node have a first cost and routes using the second edge forwarding node as the edge forwarding node have a second cost different from the first cost.
35. The method of claim 18, wherein: The set of edge forwarding nodes includes at least one of: an edge forwarding node associated with a branch site of the SD-WAN, an SD-WAN gateway forwarding element (FE) for a private data center, a multi-tenant SD-WAN gateway FE associated with a public cloud, a multi-tenant SD-WAN gateway FE associated with a Software as a Service (SaaS) provider cloud, and a hub forwarding node that provides connectivity between spoke edge forwarding nodes in a hub-and-spoke configuration of the SD-WAN.
36. The method of claim 18, wherein: Each edge forwarding node in the set of edge forwarding nodes functions as a spoke node in a hub-and-spoke architecture using a hub forwarding node at the data center site.
Citation Information
Patent Citations
Method and apparatus for establishing secure, low-latency, optimized path in wide area network
CN112585910A
Three tiers of saas providers for deploying compute and network infrastructure in the public cloud
US20190104035A1
Dynamic discovery of peer network devices across a wide area network
US20210112034A1
