Neighbor Discovery of Border Gateway Protocol in Multi-Access Networks
By selecting a designated router (DR) in the multi-access network to represent the multi-access network, unnecessary BGP sessions and redundant links are reduced, the problem of too many BGP sessions in the Clos network is solved, and network performance and Resource utilization.
Patent Information
- Application Number
- CN202111101069.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-18
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-09-18
AI Technical Summary
In multi-access networks, unnecessary formation of BGP sessions leads to network topology rules being violated, increasing messaging overhead and redundant links, especially in Clos networks where the number of links between leaf routers and spine routers grows. Linear, leading to resource waste and performance degradation.
Reduce or eliminate unnecessary BGP sessions and reachability advertisements by selecting a designated router (DR) that represents a collection of routers in a multi-access network as a single virtual router for the external network, restrict other routers from forming adjacencies with the DR, And select DR and backup DR through dynamic selection or explicit configuration to avoid unnecessary BGP sessions and redundant links.
It effectively reduces unnecessary BGP sessions and reachability advertisements, optimizes the network topology, reduces resource consumption and message delivery overhead, and maintains the rules and performance of the Clos network.
Smart Images

Figure CN114301824B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to deploying servers in a data center, and more particularly, to neighbor discovery for a border gateway protocol in a multi-access network. Background Art
[0002] Data centers deploy server racks to provide services such as cloud-based applications to various clients. A typical data center includes a collection of interconnected routers that receive information from clients, distribute the information to appropriate servers, collect information from servers, and forward the collected information back to clients. For example, routers can be deployed in a Clos topology that creates a leaf and spine system of interconnected leaf routers and spine routers. Leaf routers are access gateways, such as top-of-rack (TOR) switches for server pools in the same rack. Leaf routers are redundantly connected to spine routers used to route information between leaf routers. For example, a 5-level Clos network includes: a first backbone (also called layer 1), including a first backbone router); one or more second backbones (also called layer 2), including a second backbone router that is redundantly connected to a pair of first backbone routers; and leaf routers (also called layer 3), which are redundantly connected to a pair of second backbone routers. Therefore, servers connected to leaf routers are connected to each other within no more than 5 hops. The topology of the server and router network in a data center often grows (e.g., horizontally scaled out) in response to the addition of servers and other systems to the network. Summary of the invention
[0003] According to some implementations, a communication method is disclosed, including: at a first router, determining a designated router DR from a set of routers interconnected by a network based on a Border Gateway Protocol (BGP), wherein the set includes the first router; and in response to the first router being the DR, forming an adjacency relationship with a non-DR router from the set, and distributing reachability advertisements from the set of routers to the non-DR routers in the set.
[0004] According to some implementations, a first router is disclosed, comprising: a transceiver; and a processor configured to determine a designated router DR from a set of routers interconnected by a network based on a Border Gateway Protocol (BGP), wherein the set includes a first router, and wherein: in response to the first router being a DR, the processor is configured to form an adjacency relationship with a non-DR router from the set, and the transceiver is configured to distribute reachability advertisements from the set of routers to the non-DR routers in the set.
[0005] According to some implementations, an apparatus for communication is disclosed, comprising: at least one processor; and at least one memory including computer program code; the at least one memory and the computer program code are configured to, together with the at least one processor, cause the apparatus to at least perform: at a first router, determine a designated router DR from a set of routers interconnected by a network, wherein the set includes the first router; and in response to the first router being the DR, form an adjacency relationship with a non-DR router from the set, and distribute reachability advertisements from the set of routers to the non-DR routers in the set. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] The present disclosure may be better understood, and its numerous features and advantages made apparent to those skilled in the art by referencing the accompanying drawings.The use of the same reference numbers in different drawings indicates similar or identical items.
[0007] Figure 1 is a block diagram of a network implementing single-hop and multi-hop Border Gateway Protocol (BGP) sessions according to some embodiments.
[0008] Figure 2 is a block diagram of a Level 5 Clos network supporting BGP sessions between routers according to some embodiments.
[0009] Figure 3 is a block diagram of a Level 5 Clos network supporting BGP sessions between routers interconnected by a multi-access network in accordance with some embodiments.
[0010] Figure 4 is a message header of a User Datagram Protocol (UDP) based BGP message according to some embodiments, including a hello message for performing link-level BGP neighbor discovery.
[0011] Figure 5 is a hello message transmitted during unified BGP neighbor discovery according to some embodiments.
[0012] Figure 6 is a flag field included in a hello message according to some embodiments.
[0013] Figure 7 Illustrated is a type-length-value (TLV) format in accordance with some embodiments.
[0014] Figure 8 is the priority TLV format according to some embodiments.
[0015] Fig. 9 is a flow chart of a method of configuring a BGP router for dynamic selection of a designated router (DR) according to some embodiments.
[0016] Fig.10 is a flow chart of a first portion of a method of processing a hello message received at a router according to some embodiments.
[0017] Fig.11 is a flow chart of a second part of a method of processing a hello message received at a router according to some embodiments.
[0018] Fig.12 is a flow chart of a first portion of a method of computing a DR and backup DR (BDR), if any, from a neighbor database according to some embodiments.
[0019] Fig.13 is a flow chart of a second portion of a method of computing a DR and BDR (if any) from a neighbor database according to some embodiments.
[0020] Fig.14 is a flow chart of a method of forming an adjacency relationship from a DR / BDR to a neighbor according to some embodiments.
[0021] Fig.15 is a flow chart of a method of configuring a router as a DR using one-sided provisioning according to some embodiments.
[0022] Fig.16 is a flow chart of a method of processing a received hello message in a router using a one-sided provisioning configuration according to some embodiments.
[0023] Fig.17 is a block diagram of a network function virtualization (NFV) architecture according to some embodiments. DETAILED DESCRIPTION
[0024] Many data centers utilize the Border Gateway Protocol (BGP) as an underlying routing protocol that supports flexible policy-based routing. BGP is superior to other link-state routing protocols, such as Open Shortest Path First (OSPF, OSPFv3) and Intermediate System to Intermediate System (IS-IS), because these link-state protocols force all traffic between the source and the destination to follow the same path. BGP sessions run as an application on top of a transport layer protocol, such as the Transmission Control Protocol (TCP), which provides lossless, reliable, and ordered BGP message delivery. Leaf routers are assigned different autonomous system numbers (ASNs), and a single ASN is assigned to all backbone routers in the backbone. BGP sessions are formed between entities associated with each ASN. In order to form a BGP session, a BGP router performs neighbor discovery to determine neighbor Internet Protocol (IP) addresses and ASs for each BGP neighbor on all links of the BGP router, as well as to generate and distribute information such as the router's AS, the liveness of neighbor routers / backbones, link attributes (such as addresses), and maximum transfer units (MTUs). A BGP router initiates neighbor discovery by transmitting a "hello" message on all its links. The hello message includes the ASN and BGP identifier of the router, the holding time of the hello message, and one or more type-length values (TLVs) in some cases to indicate other parameters. In response to one of the BGP routers receiving the hello message from another BGP router and establishing an adjacency between the BGP routers, the adjacent BGP routers establish a TCP connection. The BGP session is then established over the TCP connection.
[0025] In some cases, a local area network (LAN) interconnects a leaf router and a backbone in a data center, which implements a Clos network to avoid the linear growth of the number of links between backbone routers and leaf routers. For example, if 100 leaf routers are connected to the backbone, each backbone router requires at least 100 links to the leaf router or at least 200 links to provide redundancy. In contrast, each leaf router or backbone router only requires one link or two links to the LAN to provide redundancy. However, when a leaf router and a backbone router are interconnected by a LAN, each router needs to broadcast a hello message on its link to the LAN. The broadcast hello message is received by all other routers connected to the LAN. Therefore, a complete BGP session mesh is formed between the leaf router and the backbone router. This can cause multiple problems. For example, a BGP session is formed between leaf routers, and if N leaf routers are attached to the LAN, each leaf router has (N-1) unnecessary BGP sessions to other leaf routers, which violates the Clos topology rule. In some cases, the number N of leaf routers is hundreds. Unnecessary BGP sessions are also formed between backbone routers in the same backbone. For another example, a LAN that includes N routers needs to communicate N*(N-1) / 2 reachability advertisements to represent the links between the routers, even if the routers are adjacent to each other on the LAN. However, any data packet sent by one router on the LAN will be received by other routers on the LAN, so a reachability advertisement for each router to the LAN is not required. The entire LAN segment can be represented as a single link, so only one reachability advertisement within the LAN and to the external network is required, regardless of how many routers there are in the LAN.
[0026] Figures 1 to 17Disclosed is a technique for reducing (or eliminating) unnecessary conversations and reachability advertisements between routers interconnected by a multi-access network (such as a LAN) by selecting a designated router. Other (non-selected) routers are restricted to form adjacencies with the designated router, and reachability advertisements are communicated from the other routers to the designated router. The designated router distributes reachability advertisements (including its own reachability advertisements) to other routers interconnected by the multi-access network. The designated router also represents a set of routers in the multi-access network as a single virtual router (or pseudo-node) to an external network that is connected to the multi-access network. In some embodiments, the external network includes a backbone or backbone router in a Clos topology. The designated router announces the reachability of the virtual router to the external network on behalf of the routers attached to the multi-access network. In some embodiments, a backup designated router is selected from the routers attached to the multi-access network. In response to a failure or unavailability of the designated router, the backup designated router performs the function of the designated router. In some embodiments, the designated router and the backup designated router (if any) are selected based on priority values assigned to the routers and announced in their respective hello messages. In other embodiments, the designated router and the backup designated router (if any) are explicitly configured. The designated router or backup designated router notifies other routers of its role one by one by sending multicast hello messages on the LAN. Routers other than the designated router or backup designated router do not multicast hello messages. Instead, in response to receiving a multicast hello message from the designated router or backup designated router (neighboring router) to form an adjacency, these types of routers begin to unicast hello messages to the neighboring routers.
[0027] Figure 1 1 is a block diagram of a network 100 implementing single-hop and multi-hop Border Gateway Protocol (BGP) sessions according to some embodiments. The network 100 includes a collection of routers 101, 102, 103, 104, 105, 106, 107, 108, 109, which are collectively referred to herein as "routers 101 to 109". Routers 101 to 109 establish sessions for communication based on BGP, which is a widely used control plane protocol to exchange routing information, especially between autonomous systems (AS). Some embodiments of BGP are extended to support the exchange of network layer reachability information (NLRI), which is used to set up different types of layer 3, layer 2 virtual private networks (VPNs), multi-protocol label switching (MPLS) on label switched paths (LSPs), etc. The extended version of BGP is called multi-protocol BGP (MP-BGP).
[0028] Routers 101 to 109 use information exchanged via BGP to establish BGP peering between a pair of BGP routers. BGP peering is also referred to as a BGP session. Peer BGP routers may be directly connected or may be multiple hops apart. In the illustrated embodiment, the BGP session 110 between routers 101 and 102 is a single-hop session because routers 101, 102 are directly connected via a link. The BGP session 115 between routers 102 and 108 is a multi-hop session because the BGP session 115 traverses multiple routers, such as routers 104, 106.
[0029] BGP sessions 110, 115 run as applications on top of the Transmission Control Protocol (TCP), which provide lossless, reliable and ordered delivery of BGP messages in the session. In order to create a BGP session, the peer BGP router is configured to create a TCP session on a predetermined port number (such as port 179), which indicates that BGP is an application on TCP. Once the TCP connection is operational, the peer BGP router will establish a BGP session through the TCP connection. After the BGP session is established, the peer routers can exchange reachability information (as messages) through the BGP session. In some embodiments, the BGP router periodically sends a 19-byte keep-alive message every 60 seconds to maintain the session. The BGP session between two routers in the same autonomous system (AS) is called internal BGP or internal border gateway protocol (i-BGP). The BGP session between routers in different ASs is called external BGP or external border gateway protocol (eBGP).
[0030] In some embodiments, BGP is used as an external gateway protocol to exchange routing information between ASs. In other embodiments, BGP is used as a control plane protocol in large-scale data centers to support network virtualization overlays, such as virtual extensible LAN (VXLAN), network virtualization using generic routing encapsulation (NVGRE), and overlays based on MPLS (MPLSoUDP) over the user datagram protocol. In some large-scale data centers, BGP can also be used as an underlying routing protocol instead of link state routing protocols such as IS-IS and OSPF. Conventional link state protocols use the shortest path first (SPF) algorithm to calculate paths. Therefore, all services between the source and the destination follow the same SPF path, which does not provide the routing flexibility required in the data center. In a data center, the network topology frequently grows (horizontally expands outward) due to the continuous addition of servers and other systems to the network. BGP supports policy-based routing, so services can be routed along different paths based on policies associated with different types of services. This aspect of BGP is one reason for deploying it as an underlying routing protocol in a data center. Some embodiments of BGP also support link state and SPF capabilities, like IS-IS and OSPF.
[0031] Figure 2 is a block diagram of a 5-level Clos network 200 that supports BGP sessions between routers according to some embodiments. The 5-level Clos network 200 is implemented in a leaf-spine topology that interconnects leaf routers via one or more spines including fine routers. In the illustrated embodiment, the 5-level Clos network 200 includes four leaf routers 201, 202, 203, 204 (collectively referred to herein as "leaf routers 201 to 204") interconnected by spines 205, 210, 215. The spine 205 includes routers 206, 207, the spine 210 includes routers 211, 212, 213, 214, and the spine 215 includes routers 216, 217. The leaf routers 201 to 204 provide connections to one or more servers, such as servers 220, 221, 222 connected to the leaf router 201. Figure 2 The number of routers, backbones, backbone routers, and servers shown is selected for illustrative purposes. Some embodiments of network 200 include more or fewer leaf routers, backbones, backbone routers, and servers. In addition, the number of entities in network 200 can be dynamically changed by additionally removing one or more routers, backbones, backbone routers, or servers.
[0032] Leaf routers 201 to 204 are redundantly connected to two or more backbone routers. In the illustrated embodiment, leaf router 201 is redundantly connected to backbone routers 206, 207, and leaf router 202 is redundantly connected to backbone routers 206, 207. Leaf router 203 is redundantly connected to backbone routers 216, 217, and leaf router 204 is redundantly connected to backbone routers 216, 217. The backbone routers in different backbones are also redundantly connected. In the illustrated embodiment, backbone router 206 is redundantly connected to backbone routers 211, 212, and backbone router 207 is redundantly connected to backbone routers 213, 214. Leaf routers 201 to 204 are not interconnected, and the backbone routers in the backbone are not interconnected in the Clos topology. Therefore, servers 220 to 222 are connected to other servers associated with other leaf routers 202 to 204 by no more than five hops.
[0033] Autonomous system numbers (ASNs) are assigned to leaf routers and backbones. In the illustrated embodiment, autonomous system numbers 231, 232, 233, 234 (collectively referred to herein as "ASNs 231 to 234") are assigned to leaf routers 201 to 204, respectively. ASNs 235, 240, 245 are assigned to backbones 205, 210, 215, respectively. In some embodiments, ASNs 231 to 234, 235, 240, 245 are assigned from private ASN spaces within the range 64512 to 65534. Routers 201 to 204, 206, 207, 211 to 214, 216, 217 in the 5-level Clos network 200 are BGP speakers. In the topology of the 5-level Clos network 200, a pair of directly connected routers always belong to different ASs, so the session between them is established as an e-BGP session.
[0034] Neighbor provisioning in BGP configures neighbor IP addresses and ASs for BGP neighbors on a BGP router's link. Thus, BGP provisioning is carefully updated in response to the growth of the data center fabric, in response to the addition of new leaves, spines, and links between them. In contrast to link-state protocols, conventional BGP does not support automatic discovery of neighbors or exchange of routes between neighbors by simply adding the fabric's links and nodes to routing protocol operations. For example, if a new leaf router is connected to backbone 205 in response to deploying a new server rack, the new leaf router needs to be configured for an e-BGP session associated with routers 206, 207, and each of routers 206, 207 needs to be configured for an e-BGP session with the leaf router. In some embodiments, hundreds of leaf routers are added to backbone 205, and the addition of each leaf router requires explicit configuration for e-BGP peer operations.
[0035] In addition, in BGP deployments in large-scale data centers, BGP should be able to describe its links and their neighbors on its directly connected links and export this information via BGP-LS (BGP Link State) to provide a detailed view of the link-level topology of the data center running BGP. BGP-LS is an extension of BGP to carry link state information similar to link state protocols such as OSPF, IS-IS, OSPFv3, etc. BGP-LS is typically used to carry link state and service engineering information from routers to centralized path computation entities. Communicating link state topology in such BGP networks requires the ability of BGP to discover its neighbors on its links, monitor their liveness, and learn link attributes (such as addresses). This information can be used to support link state routing capabilities in BGP. This information can also be used to communicate link state topology in networks running traditional BGP routing and enable end-to-end service engineering use cases across data centers and core / access networks.
[0036] To implement BGP neighbor discovery, BGP routers multicast UDP-based hello messages on each link. In the message, the UDP destination port is encoded as a predetermined value (such as 179), and the destination address in the IP header of the multicast packet is encoded as the "all routers on this subnet" group multicast address. For example, the group multicast address can be encoded as 224.0.0.2 in the case of IPv4 and as FF02::2 in the case of IPv6. The IP source address is set to the interface address from which the message is sent.
[0037] Some embodiments of the BGP Hello message include one or more of the following:
[0038] ●The ASN and BGP identifier of the sender router.
[0039] - Hold time, which specifies the time that a receiving BGP router maintains its record of a Hello message received from a sending BGP router (eg, a Hello adjacency with the sending BGP router) without receiving another Hello message.
[0040] ●One or more TLVs (Type Length Value format) describing various other parameters, such as TCP connection specific parameters, etc.
[0041] When a BGP router receives a hello message from a directly connected neighbor on a link, and the parameters included in the message are consistent with the receiving BGP router, the receiving BGP router then establishes an adjacency with the neighbor. Once the adjacency is established, the BGP router establishes a TCP connection and then establishes a BGP session on the TCP connection. This method is used to discover peer relationships with directly connected routers. For example, routers 201 to 204, 206, 207, 211 to 214, 216, 217 in a 5-level Clos network 200 are implemented as BGP routers without any explicit configuration of e-BGP peer operations with any adjacent routers. Each router in routers 201 to 204, 206, 207, 211 to 214, 216, 217 multicasts BGP greetings on its links in the 5-level Clos network 200. Adjacent BGP routers automatically discover each other via the exchange of hello messages. For example, routers 201 and 206 multicast BGP greetings on the links connecting them. Thus, routers 201 and 206 discover each other and learn the parameters required to establish an e-BGP session between them. An adjacency relationship is formed between routers 201 and 206, and then a BGP session is established using the parameters associated with the adjacency relationship. This neighbor discovery method has drawbacks when multiple BGP routers are interconnected via a broadcast multi-access network (such as an Ethernet LAN).
[0042] Figure 3 is a block diagram of a 5-level Clos network 300 that supports BGP sessions between routers interconnected by a multi-access network according to some embodiments. The 5-level Clos network 300 is implemented in a leaf-spine topology that interconnects leaf routers via one or more backbones including a backbone router. In the illustrated embodiment, the 5-level Clos network 300 includes four leaf routers 301, 302, 303, 304 (collectively referred to herein as "leaf routers 301 to 304") interconnected by backbones 305, 310, 315. Backbone 305 includes routers 306, 307, backbone 310 includes routers 311, 312, 313, 314, and backbone 315 includes routers 316, 317. Leaf routers 301 to 304 provide connections to one or more servers, such as servers 320, 321, 322 connected to leaf router 301. The routers and backbones are assigned corresponding ASNs 331 to 334, 335, 340, 345. The 5-level Clos network 300 is different from Figure 2 The 5-level Clos network 200 is shown because the leaf routers 301 to 304 are not directly connected to the backbone 305, 315. Instead, the leaf routers 301, 302 are connected to a multi-access network such as a LAN 340.
[0043] Incorporating LAN 340 avoids the linear growth of the number of links required from the backbone routers 306, 307 toward the leaf routers 301, 302 as additional leaf routers are connected to the backbone 305. For example, if there are 100 leaf routers connected to the backbone 305, then each of the backbone routers 306, 307 would require at least 100 links for interconnecting with the leaf routers in the absence of LAN 340. However, if LAN 340 is incorporated into the 5-level Clos network 300, then each of the leaf and backbone routers 306, 307 would require a single link to the LAN 340 or two links to the LAN 340 to provide redundancy.
[0044] LAN 340 also introduces a number of disadvantages associated with forming BGP sessions between routers. In the illustrated embodiment, routers 301, 302, 306, 307 multicast BGP Hello messages to LAN 340, and the multicast BGP Hello messages are received by all other routers 301, 302, 306, 307 connected to LAN 340. Thus, a complete mesh of external BGP sessions is formed between routers 301, 302, 306, 307. Therefore, the foundation of the Clos network topology is broken because:
[0045] 1) An e-BGP session is formed between leaf routers 301, 302. If there are N leaf routers in LAN 340, each leaf router will have (N-1) unneeded and unnecessary e-BGP sessions to other leaf routers. Depending on the deployment scenario, the number N may be in the hundreds.
[0046] 2) An e-BGP session is formed between routers 306 , 307 , which are members of the same backbone 305 .
[0047] Regardless of whether LAN 340 is part of a Level 5 Clos network 300, a full mesh of e-BGP sessions is not required. If N routers are connected in LAN 340, then each router has (N-1) e-BGP sessions to the other routers. The number N may be in the hundreds. Instead, as disclosed herein, one of the routers may act as a host forming e-BGP sessions with the other routers connected to LAN 340. Then only the host router needs (N-1) e-BGP sessions to the remaining routers in the LAN.
[0048] Interconnecting the routers 301, 302, 306, 307 via the LAN 340 also increases the messaging overhead in the 5-level Clos network 300. A simple LAN 340 of N routers would require N(N-1) / 2 reachability advertisements to indicate links between the routers, even if all the routers are adjacent to each other on the LAN 340, and any data packet sent by one router is received by the other routers connected to the LAN 340. For example, four BGP routers 301, 302, 306, 307 in the LAN 340 would require 4*(4-1) / 2=6 reachability advertisements to indicate links between the routers 301, 302, 306, 307, even if all four routers 301, 302, 306, 307 are adjacent to each other on the LAN 340, and any data packet sent by one is received by the other four routers 301, 302, 306, 307. In contrast, as discussed herein, the entire LAN 340 segment may be represented as a single link, so only one reachability advertisement is required regardless of how many routers there are in the LAN 340.
[0049] The disadvantages associated with LAN 340 are avoided by selecting one of routers 301, 302, 306, 307 (or another router connected to LAN 340) as a designated router (DR). In some embodiments, a first router from a set of routers 301, 302, 306, 307 configures or selects one of the routers from the set as a DR. The first router may be selected as a DR, or another router in the set may be selected as a DR. In response to the first router being configured or selected as a DR, the first router forms an adjacency with a non-DR router from the set and distributes reachability advertisements from the set of routers to the non-DR routers in the set. In response to another router being selected as a DR, so that the first router is not a DR, the first router forms an adjacency with the DR. The first router then transmits reachability advertisements to the DR and receives reachability advertisements from the routers in the set via the DR. The router selected as the DR represents the set of routers 301, 302, 306, 307 in the LAN 340 as a single virtual router connected to one or more external networks (such as the backbone 305) of the LAN 340. In some cases, a backup DR (BDR) is also selected and performs the functions of the DR in response to the DR failing or otherwise becoming unavailable. The DR and BDR form adjacencies with all other BGP routers in the LAN 340. If required by the network, the DR and BDR can form adjacencies between them. The formation of new adjacencies is followed by the establishment of BGP sessions with adjacent neighbors.
[0050] The DR and BDR (if any) are determined using dynamic selection or one-sided provisioning. In the dynamic selection technique, BGP routers in a multi-access network (such as routers 301, 302, 306, 307 in LAN 340) are assigned priority values. A BGP router includes its priority in the hello message it multicasts to other routers. The DR and BDR (if any) are selected based on the following selection rules:
[0051] 1) The BGP router with the highest priority is the selected DR. By default, all routers have a priority of 1.
[0052] 2) If there is a tie, the router with the highest BGP identifier is selected as the DR. The router with the second highest priority or BGP identifier is selected as the BDR.
[0053] If both the DR and the BDR fail, the remaining routers reselect new DR and BDR among themselves by using the above selection rules.
[0054] In the illustrated embodiment, one of the backbone routers 306 and 307 should be selected as the DR or BDR to maintain the interconnection rules of the 5-level Clos network 300. Therefore, the leaf routers 301 and 302 connected to the LAN 340 are assigned priority 1, the router 306 is assigned priority 100, and the router 307 is assigned priority 50. Following rules 1 and 2, the router 306 is selected as the DR, and the router 307 is selected as the BDR. However, the adjacency between the routers 306 and 307 should not be established because they are members of the same backbone 305. In addition, when both routers 306 and 307 fail, the leaf routers 301 and 302 will select one of them as the DR and select the other as the BDR, which should not happen because there should be no adjacency between the leaf routers in the Clos network. Therefore, the selection process adds the following auxiliary selection rules:
[0055] 3) If the adjacency between the DR and BDR is not desired, then each router is configured not to form an adjacency with the corresponding DR / BDR if the router is selected as DR / BDR. At least routers 306, 307 are configured in this way. However, the BDR should continue to monitor the hello from the DR for the activity of the DR. If the hello from the DR times out, then the BDR will take the necessary actions to take over the role as the DR.
[0056] 4) Routers between which adjacencies should not be formed are configured with priority 0. Priority value 0 is a special priority indicating that a router configured with this value ignores a hello message from another router indicating priority 0. Leaf routers 301, 302 are configured with priority 0.
[0057] There is no dynamic selection of DR and BDR in one-sided provisioning. Instead, the roles of DR and BDR are explicitly configured based on the following configuration rules:
[0058] 1) The BGP router that will play the DR / BDR role is only configured to multicast Hello messages, that is, to play an active role in sending Hello messages.
[0059] 2) Routers that are not configured as DR / BDR do not multicast Hello messages. When a non-DR (or non-BDR) router receives a Hello message from a neighboring DR / BDR, it starts sending "unicast" Hello messages to the neighboring routers to form an adjacency. If the Hello adjacency drops, the router stops unicasting Hello messages. Therefore, the router plays a passive role in sending Hellos.
[0060] If both the DR and BDR (if present) fail, the remaining routers will not re-elect new DR and BDR among themselves because all remaining routers play a passive role in forming hello adjacencies.
[0061] In the illustrated embodiment, routers 306, 307 should be configured as DR and BDR (if present) to maintain the interconnection rules of the Clos network. Routers 306, 307 are therefore configured to play an active role in LAN 340, so routers 306, 307 only multicast hello messages in LAN 340. Leaf routers 301, 302 are configured as passive roles and wait for hello messages from DR and BDR (if present). In response to receiving a hello message from DR or BDR (if present), routers 301, 302 unicast hello messages to DR or BDR (if present). Therefore, only adjacency relationships from leaf routers 301, 302 to DR / BD are formed. However, in a Clos network, adjacency relationships between routers 306, 307 are not expected because they are members of the same backbone 305. Therefore, the following auxiliary configuration rules are added:
[0062] 3) If the adjacency between the DR and the BDR is not desired, then if the router itself is configured as a DR / BDR, each router is configured not to form an adjacency with the corresponding DR / BDR. In the illustrated embodiment, routers 306, 307 are configured as DR and BDR (if any). Routers 306, 307 ignore multicast greetings used to form adjacencies and only accept unicast greetings to consider adjacencies. However, the BDR should continue to monitor the multicast greetings from the DR for the activity of the DR. If the greeting from the DR times out, the BDR will take the necessary actions to take over the role as the DR.
[0063] Figure 4 is a message header 400 used in a UDP-based BGP message according to some embodiments, including a hello message for performing link-level BGP neighbor discovery. The message header 400 includes the following fields:
[0064] Version: This 1-octet unsigned integer indicates the protocol version number of the message. The current BGP version number is 4.
[0065] • Type: The type of the BGP message. The Hello message is assigned type 1.
[0066] • Message Length: This 2-octet unsigned integer specifies the length in octets of the entire BGP UDP message (including the header).
[0067] ●AS number: AS number of the sender of the UDP message.
[0068] ●BGP Identifier: The BGP identifier of the sender of the UDP message.
[0069] Figure 5 is a Hello message 500 transmitted during unified BGP neighbor discovery according to some embodiments. The first 12 octets of the Hello message 500 include Figure 4 Some embodiments of the message header 400 are shown. The hello message 500 also includes the following fields:
[0070] ● Adjacency Hold Time: Hello adjacency hold timer in seconds. The adjacency hold time specifies the time for which the receiving BGP neighbor router should maintain the adjacency state without receiving another Hello. A value of 0 means that the receiving BGP peer should immediately mark the adjacency with the sender as going down.
[0071] ● Flags: The currently defined bit is as follows Figure 6 All other bits should be cleared by the sender and ignored by the receiver.
[0072] Figure 6is a flag field 600 included in the hello message according to some embodiments. The flag field 600 is included in Figure 5 In some embodiments of the hello message 500 shown, the flag field 600 includes the following bits:
[0073] S bit - indicates that when set this is a state change hello message, and when cleared this is a normal periodic hello message. Based on the setting of the S flag, the hello message has two variants:
[0074] -State Change Hello Messages: These Hello messages consist of Type Length Value (TLV) messages that convey the state and parameters of the local interface and adjacencies with other routers on the link. They are generated only when there is a change in the state of the adjacency or some parameter at the interface level.
[0075] - Periodic Hello messages: These are normal periodic Hello messages, do not include TLVs and are used to maintain adjacency on a link under steady state conditions.
[0076] ● Reserved: Should be set to 0 by the sender and ignored by the receiver.
[0077] ●TLV: This field contains one or more TLVs.
[0078] Figure 7 A type-length-value (TLV) format 700 is illustrated according to some embodiments. Figure 5 In some embodiments of the hello message 500 shown, the TLV format 700 is used. The fields in the TLV format 700 are defined as follows:
[0079] • Type – A 16-octet field indicating the type of TLV.
[0080] ● Length – A 16-octet field that indicates the length of the Value field in octets.
[0081] ●Value: A type-dependent value field of variable size.
[0082] Greeting messages (such as Figure 5 The hello message 500 shown carries one or more of the following six TLVs:
[0083] Accepted ASN List TLV
[0084] TLV used to signal an unordered list of AS numbers from which a BGP router will accept BGP sessions. When not signaled, instructs the router to accept BGP peering from any ASN of its neighbors. Indicating a list of ASNs helps prevent the neighbor discovery process from getting stuck in a one-way state where one side keeps trying to establish an adjacency and the other side cannot accept because the ASN is incorrect.
[0085] Peer Address TLV
[0086] The Peer Address TLV is used to indicate to the neighbor the address used to set up the BGP TCP session. In addition to the peer address, the router can also specify the types of routes it supports, such as the Address Family Identifier (AFI) type and the Sub-Address Family Identifier (SAFI) type. When the AFI / SAFI value is specified as 0 / 0, then it indicates that the neighbor can try to negotiate any AFI / SAFI. Multiple instances of this TLV can be included in the Hello message, one for each peer address (e.g., multiple IPv4 addresses for IPv4 and IPv6 or different AFI / SAFI sessions).
[0087] Local Prefix TLV
[0088] Some embodiments of the BGP neighbor discovery mechanism require a BGP router to program routes in its local routing table for prefixes belonging to its neighbor routers. One such scenario is when a BGP TCP peer operation is established between loopback addresses on adjacent routers. This requires that the routers can reach each other's loopback addresses before the TCP session is established. The Local Prefix TLV is a TLV that enables a BGP router to explicitly signal its local prefix to its neighbors to establish such a local routing entry that points to the underlying link over which it is signaled.
[0089] Link attribute TLV
[0090] The Link Attributes TLV is a mandatory TLV in the State Change Hello message that signals the link attributes of the interface on the local router to the neighbors. One and only one instance of this TLV is included in the State Change Hello message. The State Change Hello message that this TLV is not included in is discarded and an error is recorded for it. This TLV enables the BGP router to learn all neighbor IP addresses and their link identifiers on a specific link.
[0091] Neighbor TLV
[0092] The Neighbor TLV is used by a BGP router to indicate the state of its hello adjacency with its neighboring router(s) on a specific link. A neighbor is identified by its AS number and BGP identifier. A router includes a Neighbor TLV for each of the neighbors it discovers on that link, regardless of their status.
[0093] Password Authentication TLV
[0094] The Cryptographic Authentication TLV is a TLV used as part of the authentication mechanism of the BGP Hello message by preventing spoofing attacks.
[0095] Such as Figure 3 Dynamic selection of a DR and BDR (if any) in a multi-access network such as the illustrated LAN 340 is supported using a Priority TLV, which is used to communicate a selection priority associated with a router. The Priority TLV is included in a Hello message transmitted by a router.
[0096] Figure 8 is a priority TLV format 800 according to some embodiments. Figure 5 In some embodiments of the illustrated hello message 500, a priority TLV format 800 is used to convey priority information. The priority TLV format 800 includes the following fields:
[0097] • Type: 7 indicates that the TLV is a priority TLV.
[0098] ●Length: 4, indicating that the length of the value field is 4 octets.
[0099] =Value / Priority: This 4-octet field carries the priority assigned to the BGP router.
[0100] The Hello message is multicasted on the link with the destination address in the IP header of the "all routers on this subnet" group multicast address (e.g., 224.0.0.2 in the case of IPv4 and FF02::2 in the case of IPv6). One-sided provisioning requires that a router playing a passive role (i.e., a non-DR router that is not configured as a DR or BDR) should only unicast Hello messages to the DR or BDR after forming an adjacency with the corresponding DR or BDR. For example, a non-DR router unicasts a Hello message to the DR (or BDR) upon receiving a multicast Hello message from the DR (or BDR). Therefore, some embodiments of a BGP router playing a passive role use the unicast Hello message with the destination address in the IP header as the source address in the IP header of the Hello message multicasted by the corresponding DR or BDR.
[0101] Fig. 9is a flow chart of a method 900 for configuring a BGP router for dynamic selection of a designated router (DR) according to some embodiments. In some embodiments, the method 900 is also used to perform dynamic selection of a BDR. The method 900 is performed when a BGP router is connected to a Figure 3 The routers 301, 302, 306, 307 of the multi-access LAN 340 are implemented in some embodiments.
[0102] Method 900 begins at block 901. Input 905 includes information indicating a priority of a router and a Boolean variable (No_DR_BDR_Adj) having a value of true to indicate that if the router is selected as a DR (or BDR), an adjacency relationship will not be formed with the corresponding DR (or BDR).
[0103] In block 910, the priority and No_DR_BDR_Adj options are configured in the router. In block 915, the router begins periodically multicasting BGP hello messages on its (multiple) links to the multi-access network. The multicasted BGP hello messages include a priority TLV that encodes the configured priority of the router. Method 900 then flows to block 920, and the method ends.
[0104] The BGP router monitors each Hello message on the multi-access network and uses the information in the Hello messages to build a neighbor database. Each time a new neighbor is added to the database, the router performs the DR and BDR election process to re-evaluate the DR and BDR of the network. If the DR / BDR changes after the re-evaluation, the router performs the following actions:
[0105] ● If the router transitions to the DR / BDR role, it forms an adjacency with each neighbor in its database. If it has an adjacency with the corresponding DR / BDR, and if it is configured with No_DR_BDR_Adj, the router removes the adjacency with the counterpart.
[0106] ●If the router is neither the DR nor the BDR, it will tear down the hello adjacency with the old DR / BDR and form a new adjacency with the new DR / BDR.
[0107] Fig.10 is a flow chart of a first portion 1000 of a method for processing a hello message received at a router according to some embodiments. The method 1000 is performed when a router is connected to a Figure 3 The routers 301, 302, 306, 307 of the multi-access LAN 340 are implemented in some embodiments.
[0108] The method begins at block 1001. Input 1005 comprises a hello message received by a router.
[0109] In block 1010, the router looks up the sender's BGP identifier (which is encoded in the Hello message) in a neighbor database maintained by the router. In decision block 1015, the router determines whether the sender / neighbor is found in the database. If the neighbor is found, the method flows to decision block 1020. If the neighbor is not found, the method flows to block 1025.
[0110] In decision block 1020, the router determines whether there is an existing adjacency with the neighbor. If there is no existing adjacency, indicating that the router and the neighbor are non-DR / BDR routers, the method flows to node 1, which is connected to Fig.11 The method then flows to node 1, which is connected to node 1. Fig.11 Termination block 1105 is shown.
[0111] In block 1025, the router adds the new neighbor to its database of discovered neighbors. In block 1035, the router recalculates the DR and BDR in response to discovering the new neighbor. The method then flows to node 2, which is connected to Fig.11 Box 1110 is shown.
[0112] Fig.11 is a flow chart of a second part 1100 of a method of processing a hello message received at a router according to some embodiments. Node 1 is connected to Fig.10 Decision blocks 1020 and 1030 in FIG. Node 2 is connected to Fig.10 Frame 1035 in .
[0113] In decision block 1110 , the router determines whether the DR or BDR status has changed. If not, the method flows to decision block 1115 , otherwise the method flows to decision block 1120 .
[0114] In decision block 1115, the router determines whether the router is a DR or a BDR. If the router is not a DR or a BDR, then an adjacency relationship is not formed with the new neighbor, and no further action is required. The method therefore flows to termination block 1105 and ends. If the router is a DR or a BDR, then the method flows to block 1125, and the router forms an adjacency relationship with the new neighbor. The method then flows to termination block 1105, and the method ends.
[0115] In decision block 1120, the router determines whether the selected new DR or BDR is the router. If so, the method flows to block 1130. If not, the method flows to block 1135.
[0116] In block 1130, the router forms a hello adjacency with each neighbor in the neighbor database. The method then flows to termination block 1105 and the method ends.
[0117] In block 1135, the router removes the adjacency with the old DR or BDR because the DR or BDR has changed. In block 1140, the router forms an adjacency with the new DR or BDR. The method then flows to termination block 1105, and the method ends.
[0118] Fig.12 is a flow chart of a first portion 1200 of a method for calculating a DR and BDR (if any) from a neighbor database according to some embodiments. The method 1200 is performed when a user is connected to a neighbor database. Figure 3 The method 1200 is implemented in some embodiments of the routers 301, 302, 306, 307 of the multi-access LAN 340 shown. Fig.10 Some embodiments of box 1035 in.
[0119] The method starts at block 1201. In block 1205, the router initializes two local variables DR and BDR to null values. The local variables DR and BDR are used to store results, such as information indicating the calculated or selected DR and BDR, respectively.
[0120] In block 1210, the router retrieves the first neighbor from the neighbor database. In decision block 1220, the router determines whether the priority of the neighbor is 0. If the priority is 0, then the neighbor cannot be a DR or BDR, so the method flows to node 1, which is connected to decision block 1325 and Fig.13 If the priority is not 0, the method flows to decision block 1225 to consider the neighbor for DR or BDR.
[0121] In decision block 1225, the router determines whether the value of the variable DR is null. A null value indicates that this is the first neighbor evaluated so far with a non-zero priority, and the method flows to block 1230 and the router sets the neighbor as a candidate DR and BDR. If not null, the method flows to node 2, which is connected to decision blocks 1305 and Fig.13 .
[0122] Fig.13 is a flow chart of a second portion 1300 of a method for computing DR and BDR (if any) from a neighbor database according to some embodiments. Node 1 is connected to Fig.12 Decision box 1220 in . Node 2 is connected to Fig.12 Node 3 is connected to Fig.12 Frame 1215 in.
[0123] In decision block 1305, the router determines whether the priority of the neighbor is less than the priority of the candidate DR. If not, the method flows to block 1315 and the router sets the neighbor as a candidate DR because a neighbor with a higher priority than the candidate DR has been found. If the priority of the neighbor is less than the priority of the candidate DR, the method flows to decision block 1310.
[0124] In decision block 1310, the router determines whether the priority of the neighbor is less than the priority of the candidate BDR. If not, the method flows to block 1320, and the router sets the neighbor as a candidate BDR, because a neighbor with a priority higher than the priority of the candidate BDR has been found. If the priority of the neighbor is less than the priority of the candidate BDR, the method flows to decision block 1325.
[0125] In decision block 1325, the router determines whether there are more neighbors in the database. If not, the method flows to decision block 1330. If at least one more neighbor is found in the database, the method flows to node 3, which is connected to Fig.12 , and the router obtains the next neighbor from the database.
[0126] In decision block 1330, the router determines whether the DR and BDR are the same. If they are the same, the method proceeds to block 1335 and the router sets the BDR to a null value, which means that the BDR is not found. The method then flows to termination block 1340 and the method ends. If they are not the same, the method flows to termination block 1340 and the method ends.
[0127] Fig.14 is a flow chart of a method 1400 for forming an adjacency relationship from a DR / BDR to a neighbor according to some embodiments. The method 1400 is connected to Figure 3 The method 1400 is implemented in some embodiments of the routers 301, 302, 306, 307 of the multi-access LAN 340 shown. Fig.11 In the following discussion, the term "router" refers to a DR or BDR implementing method 1400.
[0128] Method 1400 begins at block 1401. In block 1405, the router retrieves the first neighbor from the neighbor database. In decision block 1410, the router determines whether the neighbor has been selected as a DR or BDR. If so, method 1400 flows to decision block 1415, otherwise, method 1400 flows to block 1420.
[0129] In decision block 1415, the router determines whether the router is configured not to establish any adjacency with the DR or BDR, for example, based on a variable NO_DR_BDR_ADJ that is set if the router is configured not to establish any adjacency with the DR or BDR. If so, the method 1400 flows to block 1420, otherwise, the method 1400 flows to decision block 1425.
[0130] In block 1420, the router creates an adjacency with the neighbor.
[0131] In decision block 1425, the router determines whether there are more neighbors in the database. If there are more neighbors in the database, the method 1400 flows to block 1430, and the router retrieves the next neighbor from the neighbor database. The method 1400 then flows to decision block 1410 to repeat the subsequent steps for the next neighbor. If there are no more neighbors in the database, the method 1400 flows to termination block 1435, and the method 1400 ends.
[0132] Fig.15 is a flow chart of a method 1500 for configuring a router as a designated router (DR) using one-sided provisioning according to some embodiments. In some embodiments, the method 1500 is also used to configure a BDR. The method 1500 is used to configure a BDR when connected to a router. Figure 3 The routers 301, 302, 306, 307 of the multi-access LAN 340 are implemented in some embodiments.
[0133] Method 1500 begins at block 1501. Input 1505 includes information indicating the role of a router. The role can be DR, BDR, or neither DR nor BDR. Input 1505 also includes a Boolean variable (No_DR_BDR_Adj) that is valid only when the role of the router is DR or BDR. The value of the variable No_DR_BDR_Adj is true to indicate that the router is configured as a DR (or BDR) and an adjacency relationship is not formed with the corresponding DR (or BDR).
[0134] In block 1510, the role and No_DR_BDR_Adj option are configured in the router. In decision block 1515, the router determines whether its role is DR or BDR. If the router is not assigned any role, the method 1500 flows to termination block 1525 and the method 1500 ends. If the router is assigned the role of DR or BDR, the method 1500 flows to block 1520.
[0135] In block 1520, the router begins periodically multicasting BGP hello messages on its link(s) to the multi-access network. The method 1500 then flows to block 1525, and the method 1500 ends.
[0136] Fig.16 is a flow chart of a method 1600 for processing a received hello message in a router using a one-sided provisioning configuration according to some embodiments. The method 1600 is performed when a router is connected to a Figure 3 The routers 301, 302, 306, 307 of the multi-access LAN 340 are implemented in some embodiments.
[0137] Method 1600 begins at block 1601. Input 1605 includes a hello message received by a router on a link.
[0138] In decision block 1610, the router determines whether the router has an adjacency relationship with the router that sent the hello message. The neighbor is identified by the BGP identifier encoded in the hello message. If the router has an adjacency relationship, the method 1600 flows to block 1615. Otherwise, the method 1600 flows to decision block 1620.
[0139] In block 1615, the routers synchronize the Hello messages. In some embodiments, synchronization includes refreshing the adjacency maintenance timer, synchronizing additional parameters in the Hello messages to the adjacency, etc. The method 1600 then flows to the termination block 1650 and the method 1600 ends.
[0140] In decision block 1620, the router determines whether the hello message is multicasted by the neighbor, which indicates whether the neighbor is playing the role of DR / BDR. If the hello message is not multicasted, the method 1600 flows to block 1645. Otherwise, the method 1600 flows to decision block 1625.
[0141] In decision block 1625, the router determines whether the router is playing the role of DR / BDR. If the router is playing the role of DR / BDR, the method 1600 flows to decision block 1635. Otherwise, the method flows to block 1640.
[0142] In decision block 1635, the router determines whether the router is configured with No_BR_BDR_Adj being true. If so, then an adjacency is not formed with the DR / BDR neighbor. Method 1600 thus flows to termination block 1650, and method 1600 ends. If not, the method flows to block 1645.
[0143] In block 1640, the router begins unicasting periodic hello messages to the neighbors because the router plays a passive role in the adjacency relationship with the DR / BDR neighbors. The destination IP address of the periodic unicast hello messages is the source IP address of the received hello messages. Method 1600 then flows to block 1645.
[0144] In block 1645, the router creates a hello adjacency with the neighbor. Method 1600 then flows to termination block 1650, and method 1600 ends.
[0145] Fig.17 is a block diagram of a NFV architecture 1700 according to some embodiments. The NFV architecture 1700 is used to implement Figure 3 Some embodiments of the 5-level Clos network 300 shown. The NFV architecture 1700 includes hardware resources 1701, including computing hardware 1702, storage hardware 1703, and network hardware 1704. The computing hardware 1702 is implemented using one or more processors, the storage hardware 1703 is implemented using one or more memories, and the network hardware 1704 is implemented using one or more transceivers, transmitters, receivers, interfaces, etc.
[0146] The virtualization layer 1705 provides an abstract representation of the hardware resources 1701. The abstract representation supported by the virtualization layer 1705 can be managed using a virtualization infrastructure manager 1710, which is part of the NFV management and orchestration (M&O) module 1715. Some embodiments of the manager 1710 are configured to collect and forward performance measurements and events that may occur in the NFV architecture 1700. For example, performance measurements can be forwarded to an orchestrator (ORCH) 1717 implemented in the NFV M&O 1715. The hardware resources 1701 and the virtualization layer 1705 can be used to implement virtual resources 1720, including virtual computing resources 1721, virtual storage resources 1722, and virtual networking resources 1723.
[0147] The virtual networking functions (VNF1, VNF2, VNF3) run on the NFV infrastructure (e.g., hardware resources 1701) and utilize virtual resources 1720. For example, the virtual networking functions (VNF1, VNF2, VNF3) can be implemented using virtual machines supported by virtual computing resources 1721, virtual storage supported by virtual storage resources 1722, or virtual networks supported by virtual network resources 1723. The element management system (EMS1, EMS2, EMS3) is responsible for managing the virtual networking functions (VNF1, VNF2, VNF3). For example, the element management system (EMS1, EMS2, EMS3) can be responsible for fault and performance management. In some embodiments, each of the virtual networking functions (VNF1, VNF2, VNF3) is controlled by a corresponding VNF manager 1725, which exchanges information and coordinates actions with the manager 1710 or the orchestrator 1717.
[0148] The NFV architecture 1700 may include an operations support system (OSS) / business support system (BSS) 1730. The OSS / BSS 1730 handles network management, including fault management using OSS functionality. The OSS / BSS 1730 also handles customer and product management using BSS functionality. Some embodiments of the NFV architecture 1700 use a descriptor set 1735 to store descriptions of services, virtual network functions, or infrastructure supported by the NFV architecture 1700. The information in the descriptor 1735 can be updated or modified by the NFV M&O 1715.
[0149] The NFV architecture 1700 implements network slicing that provides control plane functions or user plane functions. A network slice is a complete logical network that provides communication services and network capabilities, which can vary between different slices. A user device can access multiple slices concurrently, which supports multiple service flows between the core network and the user device. Some embodiments of the user device provide network slice selection assistance information (NSSAI) parameters to the network to assist the user device in selecting a slice instance. A single NSSAI may result in the selection of multiple slices. The NFV architecture 1700 can also use device capabilities, subscription information, and local operator policies to make selections. NSSAI is a collection of smaller components (single NSSAI (S-NSSAI)), each including a slice service type (SST) and a possible slice distinguisher (SD). The slice service type refers to the expected network behavior in terms of features and services (e.g., specifically for broadband or large-scale IoT), while the slice distinguisher can help select among multiple network slice instances of the same type, such as isolating services related to different services into different slices.
[0150] In some embodiments, certain aspects of the above-mentioned techniques may be implemented by one or more processors of a processing system executing software. The software includes one or more executable instruction sets stored or otherwise tangibly implemented on a non-transient computer-readable storage medium. The software may include instructions and certain data, which, when executed by one or more processors, manipulate the one or more processors to perform one or more aspects of the above-mentioned techniques. Non-transient computer-readable storage media may include, for example, magnetic or optical disk storage devices, solid-state storage devices (such as flash memory, cache, random access memory (RAM)), or one or more other non-volatile storage devices, etc. The executable instructions stored on the non-transient computer-readable storage medium may be source code, assembly language code, object code, or other instruction formats interpreted or otherwise executable by one or more processors.
[0151] Computer-readable storage media may include any storage medium or combination of storage media that is accessible by a computer system during use to provide instructions and / or data to the computer system. Such storage media may include, but are not limited to, optical media (e.g., compact disk (CD), digital versatile disk (DVD), Blu-ray disc), magnetic media (e.g., floppy disk, tape, or hard disk drive), volatile memory (e.g., random access memory (RAM) or cache), non-volatile memory (e.g., read-only memory (ROM) or flash memory), or micro-electromechanical system (MEMS)-based storage media. Computer-readable storage media may be embedded in a computing system (e.g., system RAM or ROM), fixedly attached to a computing system (e.g., a hard disk drive), removably attached to a computing system (e.g., an optical disk or flash memory based on a universal serial bus (USB)), or coupled to a computer system via a wired or wireless network (e.g., a network accessible storage device (NAS)).
[0152] As used herein, the term "circuitry" may refer to one or more or all of the following:
[0153] a) hardware circuit implementation only (such as implementation only in analog and / or digital circuitry), and
[0154] b) a combination of hardware circuitry and software such as (if applicable):
[0155] i. a combination of analog and / or digital hardware circuit(s) and software / firmware, and
[0156] ii. any portion of a hardware processor(s) with software (including digital signal processor(s), software and memory(s) that work together to enable a device such as a mobile phone or server to perform various functions), and
[0157] c) Hardware circuit(s) and / or processor(s) that require software (e.g., firmware) to operate, such as microprocessor(s) or portion(s) of microprocessor(s), but which may not be present when not needed for operation.
[0158] This definition of circuitry applies to all uses of the term in this application, including in any claims. As yet another example, as used in this application, the term circuitry would also cover an implementation of only a hardware circuit or processor (or multiple processors) or a portion of a hardware circuit or processor and its (or their) accompanying software and / or firmware. For example and if applicable to a particular claim element, the term circuitry would also cover a baseband integrated circuit or processor integrated circuit for a mobile phone or similar integrated circuit in a server, a cellular network device, or another computing or network device.
[0159] It should be noted that not all of the above-described activities or elements in the general description are required, that a portion of a specific activity or device may not be required, and that one or more other activities may be performed or one or more other elements may be included in addition to those described. Furthermore, the order in which the activities are listed is not necessarily the order in which they are performed. Moreover, the concepts have been described with reference to specific embodiments. However, it will be appreciated by those of ordinary skill in the art that various modifications and changes may be made without departing from the scope of the present disclosure as set forth in the claims below. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive, and all such modifications are intended to be included within the scope of the present disclosure.
[0160] Benefits, other advantages, and solutions to problems have been described above with respect to specific embodiments. However, benefits, advantages, solutions to problems, and any (multiple) features that may cause any benefit, advantage, or solution to appear or become more obvious should not be interpreted as key, required, or essential features of any or all claims. Moreover, the specific embodiments disclosed above are merely illustrative, as the disclosed subject matter can be modified and practiced in different but equivalent ways that are obvious to those skilled in the art who benefit from the teachings herein. Except as described in the claims below, there is no intention to limit the details of construction or design shown herein. Therefore, it is obvious that the specific embodiments disclosed above can be changed or modified, and all such changes are considered to be within the scope of the disclosed subject matter. Therefore, the protection sought herein is as stated in the claims below.
Claims
1. A communication method, comprising: At a first router, determining a designated router DR from a set of routers interconnected by a network based on a Border Gateway Protocol BGP, wherein the set includes the first router; as well as In response to the first router being the DR, forming an adjacency with a non-DR router from the set, and distributing reachability advertisements from the set of routers to the non-DR routers in the set.
2. The method according to claim 1, further comprising: In response to the first router not being the DR, forming an adjacency relationship with the DR, communicating reachability advertisements to the DR, and receiving reachability advertisements from routers in the set via the DR.
3. The method of claim 1 , wherein determining the DR for the set of routers comprises: Information indicative of an identification of the DR is received at the first router.
4. The method of claim 1 , wherein determining the DR for the set of routers comprises: The DR is selected based on a priority value assigned to the routers in the set and announced in messages transmitted by the routers in the set.
5. The method according to claim 1, further comprising: In response to the first router being the DR, a first message is multicast to the non-DR routers, the first message identifying the first router as the DR.
6. The method according to claim 5, further comprising: In response to receiving the first message from the DR, at least one second message from at least one of the non-DR routers is unicast to the DR.
7. The method according to claim 6, further comprising: The adjacency relationship is formed with the non-DR router based on a second message unicast sent from the non-DR router to the DR.
8. The method according to claim 7, further comprising: Establishing a transport layer protocol connection between the DR and the non-DR router; as well as An underlying BGP is established over the transport layer protocol connection between the DR and the non-DR routers.
9. The method of claim 7, wherein the first message comprises at least one of the following: an autonomous system number (ASN) associated with the first router, a border gateway control protocol (BGP) identifier of the first router, a holding time for the first message, and a type-length-value (TLV) field.
10. The method according to claim 1, further comprising: Responsive to the first router being the DR, presenting the set of routers in the network as a single virtual router to at least one external network connected to the network.
11. The method of claim 10, wherein the at least one external network comprises a backbone or a backbone router in a Clos topology.
12. The method according to any one of claims 1 to 11, further comprising: At the first router, a backup DR (BDR) is determined from the set of routers interconnected by the network.
13. The method according to claim 12, further comprising: In response to detecting a failure or unavailability of the DR, an adjacency is formed between the BDR from the set and the non-DR routers, and reachability advertisements from the set of routers are distributed from the BDR to the non-DR routers in the set.
14. A first router, comprising: Transceiver; as well as A processor is configured to determine a designated router DR from a set of routers interconnected by a network based on a Border Gateway Protocol BGP, wherein the set includes the first router, and wherein: In response to the first router being the DR, the processor is configured to form an adjacency with a non-DR router from the set, and the transceiver is configured to distribute reachability advertisements from the set of routers to the non-DR routers in the set.
15. The first router of claim 14, wherein in response to the first router not being the DR, the processor is configured to form an adjacency relationship with the DR, and the transceiver is configured to communicate reachability advertisements to the DR and receive reachability advertisements from routers in the set via the DR.
16. The first router of claim 14, wherein the transceiver is configured to receive information indicative of an identity of the DR, and wherein the processor is configured to determine the identity of the DR based on the information.
17. The first router of claim 14, wherein the processor is configured to select the DR based on a priority value assigned to the routers in the set and advertised in messages transmitted by the routers.
18. The first router according to claim 14, wherein: In response to the first router being the DR, the transceiver is configured to multicast a first message to the non-DR router, the first message identifying the first router as the DR; The transceiver is configured to receive a second message unicasted from the non-DR router to the DR; and The processor is configured to form the adjacency relationship with the non-DR router based on the second message.
19. The first router of claim 18, wherein the processor is configured to: establishing a transport layer protocol connection between the DR and the non-DR router; and An underlying routing protocol is established over the transport layer protocol connection between the DR and the non-DR routers.
20. The first router of claim 18, wherein the first message comprises at least one of: an autonomous system number (ASN) associated with the first router, a border gateway control protocol (BGP) identifier of the first router, a holding time for the first message, and a type-length-value (TLV) field.
21. The first router according to claim 14, wherein: In response to the first router being the DR, the processor is configured to represent the set of routers in the network as a single virtual router to at least one external network connected to the network.
22. The first router of claim 21, wherein the at least one external network comprises a backbone or a backbone router in a Clos topology.
23. The first router according to any one of claims 14 to 22, wherein the processor is configured to determine a backup DR (BDR) from the set of routers interconnected by the network.
24. The first router according to claim 23, wherein: In response to detecting a failure or unavailability of the DR, the processor is configured to form an adjacency between the BDR from the set and the non-DR routers, and the BDR is configured to distribute reachability advertisements from the set of routers to the non-DR routers in the set.
25. An apparatus for communication, comprising: at least one processor; as well as at least one memory including computer program code; The at least one memory and the computer program code are configured to, with the at least one processor, cause the apparatus to at least perform: At a first router, determining a designated router DR from a set of routers interconnected by a network based on a Border Gateway Protocol BGP, wherein the set includes the first router; as well as In response to the first router being the DR, forming an adjacency with a non-DR router from the set, and distributing reachability advertisements from the set of routers to the non-DR routers in the set.
26. The apparatus of claim 25, wherein the at least one memory and the computer program code are configured to, with the at least one processor, cause the apparatus to at least perform: In response to the first router not being the DR, forming an adjacency relationship with the DR, communicating reachability advertisements to the DR, and receiving reachability advertisements from the routers in the set via the DR.
