Efficient multicast forwarding through shared gateway switches in multi-fabric networks
By using multi-fabric identifiers (MFID) in multi-fabric shared gateway switches to identify the switch structure, the problem that multi-fabric shared gateway switches cannot effectively filter multicast services is solved, achieving efficient multicast forwarding and network aggregation, and reducing deployment costs. and complexity.
Patent Information
- Application Number
- CN202410163773.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2024-02-05
- Publication Date
- 2024-10-29
AI Technical Summary
In an overlay network, multi-fabric shared gateway switches cannot effectively filter multicast traffic, resulting in inefficient multicast forwarding and possibly disrupting network aggregation.
By generating and using multi-fabric identifiers (MFIDs) to identify which fabric each switch belongs to and maintaining a discovery data structure in the gateway switch, mapping the MFIDs to the switch's set of IP addresses avoids forwarding multicast requests and data packets back to the sender. structure.
It achieves efficient multicast forwarding in multi-structure networks, avoids multicast loops, improves network aggregation performance, and reduces the deployment cost and complexity of gateway switches.
Smart Images

Figure CN118869578A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to communication networks. More particularly, the present disclosure relates to methods and systems for efficiently forwarding multicast traffic from a gateway switch shared by multiple distributed tunnel structures. BRIEF DESCRIPTION OF THE DRAWINGS
[0002] Figure 1A An example of a gateway switch according to one aspect of the present application is illustrated, the gateway switch dynamically identifying each of a plurality of distributed tunnel structures sharing the gateway switch.
[0003] Figure 1B An example of efficiently forwarding multicast traffic from a multi-fabric shared gateway switch according to one aspect of the present application is illustrated.
[0004] Figure 2A An example of dynamically generating a multi-fabric identifier (MFID) for identifying a distributed tunnel fabric with a multi-fabric shared gateway switch according to one aspect of the present application is illustrated.
[0005] Figure 2B An example of a discovery message with an MFID for notifying a multi-fabric shared gateway switch according to one aspect of the present application is illustrated.
[0006] Figure 3 An example of a discovery data structure for storing MFIDs at a multi-fabric shared gateway switch according to an aspect of the present application is illustrated.
[0007] Figure 4A A flow chart illustrating a process by which a switch generates an MFID for a local fabric and provides it to a multi-fabric shared gateway switch according to an aspect of the present application is presented.
[0008] Figure 4B A flow chart illustrating a process by which a multi-fabric shared gateway switch stores MFID and associated information in a discovery data structure according to an aspect of the present application is presented.
[0009] Figure 4C A flow chart illustrating a process by which a switch updates the MFID for a local fabric and provides it to a multi-fabric shared gateway switch according to an aspect of the present application is presented.
[0010] Figure 5 A flow chart illustrating a process of a multi-fabric shared gateway switch forwarding a multicast packet based on MFID according to an aspect of the present application is presented.
[0011] Figure 6An example of a switch supporting efficient forwarding of MFID-based multicast traffic according to one aspect of the present application is illustrated.
[0012] In the drawings, like reference numerals refer to like drawing elements. DETAILED DESCRIPTION
[0013] In various Internet applications, multicast is often used to distribute content such as video from a source to multiple hosts. The efficient distribution of multicast services can improve the performance of the network. Network layer multicast protocols such as protocol independent multicast (PIM) can be used to distribute content in heterogeneous networks. In some scenarios, the host can send a client join request (e.g., an Internet Group Management Protocol (IGMP) join request, or a multicast listener discovery (MLD) join request) to an upstream switch. The switch can support different protocols and services. For example, the switch can support an overlay network formed based on tunnel transmission and a virtual private network (VPN). The switch can then facilitate overlay routing of the VPN on the tunnel. For example, Ethernet VPN (EVPN) can be deployed as an overlay layer on a set of virtual extensible local area networks (VXLANs).
[0014] In order to deploy a VPN on a tunnel, the corresponding tunnel endpoint can map the corresponding client virtual local area network (VLAN) to the corresponding tunnel network identifier (TNI), which can identify the virtual network used for the tunnel. TNI can appear in the tunnel header of the encapsulated packet and is used to forward the encapsulated packet via the tunnel. For example, if a tunnel is formed based on VXLAN, TNI can be the virtual network identifier (VNI) of the VXLAN header, and the tunnel endpoint can be a VXLAN tunnel endpoint (VTEP). If layer 3 routing and forwarding are required, TNI can also be mapped to the virtual routing and forwarding (VRF) associated with the tunnel. Since VPNs can be distributed on a tunnel structure, VPNs on a tunnel structure can also be referred to as distributed tunnel structures. Since the structure is an overlay network, the corresponding switches in the structure can be tunnel endpoints of one or more tunnels. In addition, the gateway switch of the structure can be a virtual gateway switch (VGS) shared between multiple participating switches.
[0015] The various aspects described herein solve the problem of effectively filtering multicast traffic at a multi-fabric shared gateway switch in an overlay network by: (i) generating an MFID identifying a local fabric at a corresponding switch and providing it to a gateway switch; (ii) determining which switch belongs to which fabric based on the corresponding MFID; and (iii) the gateway switch filtering multicast traffic forwarding based on the determination. Here, the same gateway switch can be shared between multiple fabrics. Since switches of the same fabric can generate the same MFID, the gateway switch can determine which switch belongs to which fabric sharing the gateway switch. The gateway switch can then filter the multicast traffic accordingly.
[0016] A distributed tunnel structure in an overlay network can be coupled to other networks via a gateway switch of the structure, which can include a VGS. Typically, at least two switches can operate in conjunction with each other as a single switch to facilitate the VGS. Switches participating in the VGS can be referred to as participating switches. A corresponding participating switch can view another participating switch as a peer participating switch (or peer switch). A corresponding pair of participating switches can be coupled to each other via an inter-switch link (ISL). The VGS can be associated with one or more virtual addresses (e.g., a virtual Internet Protocol (IP) address and / or a virtual Media Access Control (MAC) address). The corresponding tunnel formed at the VGS can use the virtual address to form a tunnel endpoint. As a result, other tunnel endpoints of the structure (i.e., other switches) can view the VGS as other tunnel endpoints of the tunnel, rather than any participating switch. Even though the switches in the distributed tunnel structure may not be
[0017] To forward traffic to the VGS, the corresponding switches in the fabric can perform a load balancing operation (e.g., based on a hash operation on the corresponding packets) and select one of the participating switches as the destination (i.e., as another tunnel endpoint). The switch can then forward the packets via the tunnel between the tunnel endpoints. Thus, the endpoint can forward the multicast control packet to one of the participating switches, and the participating switch can then share the control packet with the peer participating switch via the ISL. If the fabric is a multi-fabric network, the fabric can be one of the multiple fabrics that form the network. The corresponding fabric can then include a gateway switch that can include the VGS that can be coupled to a remote gateway switch of another fabric, an external network, or both.
[0018] For example, a gateway switch can be coupled to a remote gateway switch via an inter-fabric tunnel (i.e., a tunnel coupling two fabrics). A packet received at a gateway switch via an intra-fabric tunnel (i.e., a tunnel within a fabric) can be encapsulated using a tunnel header associated with an intra-fabric tunnel. The gateway switch can decapsulate the tunnel header and recapsulate the packet with another tunnel header associated with the inter-fabric tunnel. The corresponding switches operating as tunnel endpoints in the fabric can use a routing protocol, such as a Border Gateway Protocol (BGP). In a multi-fabric overlay network, routing for intra-fabric tunnels can be determined by using internal BGP (iBGP), while routing for inter-fabric tunnels can be determined by using external BGP (eBGP).
[0019] Since the gateway switch can support external communications for the structure, the gateway switch can often be a high-capacity switch. In addition, if the gateway switch is a VGS, the deployment of the gateway switch includes deploying at least two switches that operate in conjunction with each other. As a result, the gateway switch may be expensive and complex. In order to reduce the cost and complexity of deploying the gateway switch, the gateway switch can be shared between multiple structures (e.g., a set of shared structures). The same gateway switch can support external communications for the shared structure. The multicast source can be coupled to one of the shared structures (e.g., the source structure), and the requesting host can be coupled to another shared structure (e.g., the requesting structure). If the host sends a join request, the switch coupled to the host in the requesting structure (e.g., the requesting switch) can receive the join request and forward it to the gateway switch.
[0020] Using the prior art, the gateway switch can forward the join request back to the request structure, and at the same time forward the request to the switch (e.g., source switch) of the coupling source via the source structure. Therefore, multicast service distribution may not be aggregated in the request structure. On the other hand, the host and the source can be coupled to the same structure in the shared structure. If the gateway switch is configured as an aggregation point (RP) of the multicast group, the join request from the host and the multicast data stream (or multicast stream) from the source can be forwarded to the gateway switch. Therefore, the gateway switch can add the request switch to the outbound interface list (OList) of the multicast group. Therefore, the gateway switch can forward the multicast stream to the request switch. However, the multicast stream can also be directly forwarded from the source switch to the request switch via the corresponding tunnel in the structure. As a result, the request switch can receive multiple multicast streams.
[0021] In addition, the shared fabric can use the Multicast Bootstrap Router (BSR) protocol to elect an RP. The Bootstrap Message (BSM) associated with the BSR protocol can allow switches to select an RP in a distributed manner. Since the gateway switch is shared between shared fabrics, the gateway switch can receive the BSM from each shared fabric. However, if the gateway switch forwards the BSM from one fabric back to the same fabric, the BSM may cause a loop in the fabric. For each of these scenarios, the gateway switch may not be able to distinguish which tunnel endpoint belongs to which shared fabric. Therefore, the gateway switch may not prevent some multicast packets (such as join requests, multicast data packets, and BSMs) from being forwarded back to the fabric that sent the packets. Therefore, multicast forwarding from the gateway switch may be inefficient and may disrupt the aggregation of the network.
[0022] To solve this problem, the corresponding switches in the shared structure can determine the other switches in the structure and determine the corresponding network addresses of these switches. The network address can include one or more of the following: Internet Protocol (IP) address and Media Access Control (MAC) address. For example, the determined network address set can represent the IP addresses of all switches in the structure. The switch can also determine the AS number associated with the shared structure. The switch can then generate a hash value by applying a hash function to the IP address and the AS number. Because each switch of the structure can determine the same IP address set associated with the particular structure, the switches in the structure can generate the same unique hash value, which can then be used as the MFID of the structure. The switch can use a symmetric hash operation to ensure that the order of the IP addresses does not affect the way the MFID is generated.
[0023] When generating MFID, the switch can include MFID and AS number in the discovery message. The discovery message can be a protocol independent multicast (PIM) hello message. Then, MFID and AS number can be included in the optional field of the hello message. Then the switch can send the discovery message to the gateway switch. In this way, the gateway switch can receive the message of the structure of the corresponding switch identifying the corresponding shared structure. Then, the gateway switch can maintain the discovery data structure, which maps the MFID of the shared structure to the IP address set of the switch in the structure. Since the gateway switch can identify which switch belongs to which shared structure, the gateway switch can avoid sending the join request, multicast stream and BSM back to the structure that sent them.
[0024] Specifically, when the gateway switch receives a join request (e.g., a PIM join request) for a multicast group via a request structure, the gateway switch can determine where the source switch is and forward the join request via the source structure. Here, the gateway switch can avoid forwarding the join request back to the request structure based on the MFID of the request structure. In addition, when the gateway switch operates as the RP of the multicast group, the gateway switch can receive multicast data packets via the source structure. Then, the gateway switch can determine whether there is a switch in the OList of the multicast group based on the MFID of the source structure in the source structure, and avoid forwarding the packet to such a switch. Alternatively, the switch can avoid adding such a switch to the OList. In addition, when receiving a BSM via the structure, the gateway switch can avoid forwarding the BSM back to the structure based on the MFID of the structure. In this way, the gateway switch can ensure efficient multicast forwarding in a multi-structure network.
[0025] In the present disclosure, the term "switch" is used in a general sense, and it can refer to any standalone switch or fabric switch operating in any network layer. "Switch" should not be interpreted as limiting the examples of the present invention to Layer 2 networks. Any device that can forward traffic to an external device or another switch can be referred to as a "switch". Any physical or virtual device that can forward traffic to a terminal device (e.g., a virtual machine or switch operating on a computing device) can be referred to as a "switch". Examples of "switch" include, but are not limited to, a Layer 2 switch, a Layer 3 router, a routing switch, a component of a Gen-Z network, or a fabric switch comprising multiple similar or heterogeneous smaller physical and / or virtual switches.
[0026] The term "packet" refers to a group of bits that can be transmitted together over a network. "Packet" should not be interpreted as limiting the examples of the present invention to a specific layer of a network protocol stack. "Packet" can be replaced with other terms referring to a group of bits, such as "message", "frame", "unit", "datagram" or "transaction". In addition, the term "port" can refer to a port that can receive or transmit data. "Port" can also refer to hardware, software and / or firmware logic that can facilitate the operation of the port.
[0027] Figure 1AAn example of a gateway switch according to one aspect of the present application is illustrated, which dynamically identifies each of a plurality of distributed tunnel structures that share the gateway switch. Overlay network 100 can include several switches and devices, and can include heterogeneous network components, such as layer 2 and layer 3 jumps and tunnels. In some examples, network 100 can be Ethernet, InfiniBand, or other networks, and can use corresponding communication protocols, such as Internet Protocol (IP), Fibre Channel over Ethernet (FCoE), or other protocols. Network 100 can include multiple distributed tunnel structures 110, 120, 130, 140, and 150. Therefore, network 100 can be a multi-structure network. Structure 110 can include switches 111, 113, 114, 116, and 118; structure 120 can include switches 124 and 128; structure 130 can include switches 132 and 134; structure 140 can include switches 142 and 144; and structure 150 can include switches 152, 154, and 156. A corresponding switch in a corresponding structure can be associated with a MAC address and an IP address.In a corresponding structure of network 100, switches can be coupled to each other via tunnels.
[0028] In FIG. 1 , the corresponding links between the switch pairs indicated by solid lines can indicate tunnels. The switches of the corresponding structures in the network 100 can form a tunnel mesh. Examples of tunnels can include, but are not limited to, VXLAN, Generic Routing Encapsulation (GRE), Network Virtualization Using GRE (NVGRE), Generic Network Virtualization Encapsulation (Geneve), Internet Protocol Security (IPsec), and Multi-Protocol Label Switching (MPLS). Tunnels in the structure can be formed on an underlying network (or underlying network). The underlying network can be a physical network, and the corresponding links of the underlying network can be physical links. The corresponding switch pairs in the underlying network can be Border Gateway Protocol (BGP) peers. VPN 102, such as Ethernet VPN (EVPN), can be deployed on structure 110. Similarly, corresponding instances of VPN can be deployed on other structures of the network 100.
[0029] VGS112 can operate as a gateway switch of structure 110 and facilitate external communication of structure 110. For example, VGS112 can couple structure 110 to wide area network (WAN) 160, such as enterprise network or Internet. In structure 110, switches 111 and 113 can operate in conjunction with each other as a single switch to facilitate VGS112. VGS112 can be associated with one or more virtual addresses (e.g., virtual IP address and / or virtual MAC address). The corresponding tunnel formed at VGS112 can use virtual addresses to form tunnel endpoints. In order to effectively manage data forwarding, switches 111 and 113 can maintain ISL between them for sharing control and / or data packets. ISL can be a layer 2 or layer 3 connection that allows data forwarding between switches 111 and 113. ISL can also be based on a tunnel (e.g., VXLAN tunnel) between switches 111 and 113.
[0030] Because the virtual address of VGS102 is associated with both switches 111 and 113, other tunnel endpoints of fabric 110 (such as switches 114, 116, and 118) can view VGS112 as the other tunnel endpoint of the tunnel, rather than switches 111 and 113. In order to forward traffic toward VGS112 in fabric 110, a remote switch such as switch 114, 116, or 118 can operate as a tunnel endpoint, while VGS112 can be another tunnel endpoint. From the corresponding remote switches of fabric 110, there can be a set of paths (e.g., equal cost multipath or ECMP) to VGS112. For example, ECMP can include a path to switch 111 and another path to switch 113. Therefore, the corresponding path in the underlying network can lead to one of the participating switches of VGS112.
[0031] Due to the supported features and enhanced physical deployment (e.g., using multiple switches operating as VGS), gateway switches can be expensive and complex. In order to alleviate the cost and complexity of deploying gateway switches, gateway switch 122 can be shared between structures 120, 130, and 140. Therefore, structures 120, 130, and 140 can be referred to as shared structures. If switch 122 is a VGS, switches 121 and 123 can operate as a single switch combined with each other to facilitate VGS122. Here, switches 121 and 123 can be in each of structures 120, 130, and 140. Other switches 120, 130, and 140 in the structure can view VGS122 as another tunnel endpoint of the tunnel instead of switches 121 and 123 as another tunnel endpoint of the tunnel. From the corresponding remote switches of structures 120, 130, and 140, a set of ECMPs to VGS122 can exist.
[0032] Switch 122 can support external communications for fabrics 120, 130, and 140. In network 100, switch 122 can be coupled to switches 112 and 152 via an inter-fabric tunnel (i.e., a tunnel coupling fabrics 110 and 150). Packets between fabrics 120 and 150 can be received at switch 122 via an intra-fabric tunnel within fabric 120 and can be encapsulated with a tunnel header associated with the intra-fabric tunnel. Switch 122 can decapsulate the tunnel header and recapsulate the packet with another tunnel header associated with the inter-fabric tunnel. To facilitate forwarding of packets, switch 122 can use iBGP to determine routes for the intra-fabric tunnel and use eBGP to determine routes for the inter-fabric tunnel.
[0033] One or more switches of corresponding structures in network 100 can be coupled to one or more terminal devices. In this example, terminal devices 102, 104, 106 and 108 can be coupled to switches 142, 144, 134 and 156 respectively. It is assumed that terminal device 102 is the source of the multicast group. On the other hand, terminal devices 104, 106 and 108 can be hosts requesting services belonging to the multicast group. Therefore, terminal devices 102, 104, 106 and 108 can also be referred to as source 102 and hosts 104, 106 and 108 respectively. In order to receive multicast data from source 102, hosts 104, 106 and 108 can send corresponding multicast join requests. Switches 144, 134 and 156 can receive join requests from locally coupled hosts. Therefore, switches 144, 134 and 156 can be referred to as request switches.
[0034] In the network 100, a source 102 can be coupled to a fabric 140, and a host 106 can be coupled to another fabric 130. If the host 106 sends a join request, a switch 134 in the fabric 130 can receive the join request and forward it to the switch 122. Using existing techniques, the switch 122 can forward the join request back to the fabric 130 while forwarding the join request to the switch 142, which couples the source 102 via the fabric 140. Because the join request can be returned to the switch 134, the multicast traffic distribution may not be aggregated in the fabric 130. Another host 104 can be coupled to the same fabric 140 that couples the source 102. If the switch 122 is configured as the RP of the multicast group, the join request from the host 104 can be received by the switch 144, which can forward it to the switch 122. Therefore, the switch 122 can add the switch 144 to the OList of the multicast group. Similarly, a multicast stream from source 102 can be received by switch 142, which can forward the multicast stream to switch 122. Thus, switch 122 can forward the multicast stream to switch 144. However, the multicast stream can also be forwarded directly from switch 142 to switch 144 via corresponding tunnels in fabric 140. As a result, switch 144 can receive multiple multicast streams.
[0035] In addition, fabrics 120, 130, and 140 can use a multicast BSR protocol to elect an RP. The BSM associated with the BSR can allow switches in these fabrics to elect an RP in a distributed manner. Since switch 122 is shared between fabrics 120, 130, and 140, switch 122 can receive BSMs from each of these fabrics. However, if switch 122 forwards the BSM from fabric 120 back to fabric 120, the BSM may cause a loop in fabric 120. In the same manner, the BSM may also cause corresponding loops in fabrics 130 and 140. For each of these scenarios, switch 120 may not be able to distinguish which switch belongs to which of fabrics 120, 130, and 140. Therefore, switch 122 may not prevent forwarding some multicast packets (such as join requests, multicast data packets, and BSMs) back to the fabric from which the packets were received (e.g., forwarded back to the same fabric of fabrics 120, 130, and 140). Therefore, multicast forwarding from switch 122 may be inefficient and may disrupt the convergence of network 100 .
[0036] To address this issue, the respective switches in fabric 120 can determine the other switches in fabric 120 and determine the respective IP addresses of the other switches. For example, switches 124 and 126 can identify each other as the remote endpoints of the tunnel that couples them and determine the IP addresses of the remote switches. Similarly, switches 124 and 126 can also determine the network address of switch 122. The network address can include one or more of: the IP address of switch 122 and the MAC address of switch 122. For example, the determined set of network addresses can represent the IP addresses of all switches in fabric 120. Therefore, switches 124 and 126 can determine the same set of IP addresses, which includes the respective IP addresses of switches 122, 124, and 126 associated with fabric 120. Switches 124 and 126 can also determine the AS number associated with fabric 120.
[0037] Each of switches 124 and 126 can then generate a hash value 128 by applying a hash function to the IP address and the AS number. Because the hash function is applied to the same set of IP addresses, switches 124 and 126 can generate the same unique hash value 128, which can then be used as the MFID of fabric 120. Therefore, hash value 128 can also be referred to as MFID 128. Switches 124 and 126 can use a symmetric hash operation to ensure that the order of the set of IP addresses does not affect how MFID 128 is generated. In the same manner, switches 132 and 134 can generate the same unique MFID 138 for fabric 130, and switches 142 and 144 can generate the same unique MFID 148 for fabric 140. Switches in fabrics that do not share a gateway switch can also generate an MFID. For example, switches 154 and 156 can generate MFID 158 for fabric 150 even if gateway switch 152 of fabric 150 is not shared with another fabric.
[0038] When generating MFID 128, switch 124 can include MFID 128 and the AS number in a discovery message. The discovery message can be a PIM hello message. Then, MFID 128 and the AS number can be included in the optional fields of the hello message. Then, switch 124 can send a discovery message with MFID 128 to switch 122. In the same manner, switch 126 can then send a discovery message with MFID 128 to switch 122. Because switches 124 and 126 both report the same MFID 128, switch 122 can determine that switches 124 and 126 are located in the same fabric 120. In fabric 130, switches 132 and 134 can send corresponding discovery messages with MFID 138 to switch 122. Additionally, in fabric 140, switches 142 and 144 can send corresponding discovery messages with MFID 148 to switch 122. Switch 122 is able to determine that switches 132 and 134 are in the same fabric 130 , and that switches 142 and 144 are in the same fabric 140 .
[0039] In this way, the switch 122 can receive a corresponding message that can identify which switch belongs to which of the fabrics 120, 130, and 140. The switch 122 can then maintain a discovery data structure 180 that maps the MFID 128 of the fabric 120 to a set of IP addresses of switches in the fabric 120. Similarly, the discovery data structure 180 can map the MFID 138 to the IP addresses of switches in the fabric 130, and map the MFID 148 to the IP addresses of switches in the fabric 140. The corresponding entry of the discovery data structure 180 can include a mapping between the MFID of the fabric and the set of IP addresses of switches (i.e., tunnel endpoints) in the fabric. The entry can also include an AS number associated with the fabric. When the switch 122 receives a join request, a multicast data packet, or a BSM via a tunnel, the switch 122 can determine the MFID associated with the IP address of the remote endpoint of the tunnel. Based on the MFID, the switch 122 can avoid sending the join request, the multicast data packet, or the BSM back to the fabric that sent them.
[0040] The switch 122 can also exchange MFIDs with other gateway switches in the network 100. For example, the switch 122 can send a discovery message including the default MFID 170 to the switches 112 and 152 via the network 160. The default MFID 170 can indicate an inter-fabric tunnel and can include a predefined value. The predefined value can be pre-programmed at the corresponding gateway switch of the network 100. In the same manner, the switches 112 and 152 can also send corresponding discovery messages with the same MFID 170 to other gateway switches of the network 100. In this manner, the corresponding gateway switches of the network 100 can determine the corresponding IP addresses of the other gateway switches. Upon receiving the discovery message, the switch 122 can also store the corresponding IP addresses of the switches 112 and 152 in association with the MFID 170 in the discovery data structure 180. The corresponding gateway switch can then apply traffic filtering rules to inter-fabric data forwarding based on the MFID 170.
[0041] For example, switch 152 can receive a discovery message with MFID 158 via an intra-fabric tunnel of fabric 150. On the other hand, switch 152 can receive a discovery message with MFID 170 via an inter-fabric tunnel via network 160. As a result, switch 152 can distinguish between inter-fabric tunnels and intra-fabric tunnels based on MFIDs 170 and 158, respectively. Based on the distinction, switch 152 can apply one or more traffic filtering rules to inter-fabric data forwarding based on MFID 170. Specifically, if switch 152 receives a join request from an inter-fabric tunnel (e.g., associated with MFID 170), switch 152 can forward the join request only via an intra-fabric tunnel (e.g., associated with MFID 158). Similarly, if switch 152 receives a join request from an intra-fabric tunnel, switch 152 can forward the join request only via an inter-fabric tunnel.
[0042] Figure 1BAn example of efficiently forwarding multicast traffic from a multi-fabric shared gateway switch according to one aspect of the present application is illustrated. During operation, the host 106 can send a host join request 162 (e.g., IGMP join) for a multicast group to the switch 134. The switch 134 can then generate a corresponding network join request 164 (e.g., PIM join) and send it to the switch 122. Sending the join request can include encapsulating the request 164 in a tunnel encapsulation header and forwarding the encapsulated request to the switch 122. When the switch 122 receives the join request 164 via the fabric 130, the switch 122 can determine that the source switch 142 (which can couple the source 102 of the multicast group) can be reached via the fabric 140. The switch 122 can then forward the join request 164 via the fabric 140. However, because the switch 122 has received the join request 164 from an IP address associated with the MFID 138, the switch 122 can avoid forwarding the join request 164 back to any IP address associated with the MFID 138 (i.e., back to the fabric 130).
[0043] If switch 122 is configured as the RP for the multicast group, a join request for the multicast group can be forwarded to switch 122. The multicast stream of the multicast group is also sent to switch 122 to facilitate the initial distribution of data. For example, host 104 can send a host join request 166 for the multicast group to switch 144. Switch 144 can then generate a corresponding network join request 168 and send it to switch 122. Upon receiving the join request 168, switch 122 can add a tunnel to switch 144 to OList. Similarly, upon receiving the join request via the inter-structure tunnel coupling structure 150, switch 122 can add an inter-structure tunnel to OList. Source 102 can send a multicast stream 172 of the multicast group to switch 142. Switch 142 can encapsulate the corresponding data packets of the multicast stream 172 and forward the encapsulated data packets to switches 122 and 144.
[0044] To avoid duplicate forwarding of data packets, switch 122 can determine whether any tunnel in OList is in fabric 140 (i.e., associated with MFID 148). Since the IP address of switch 144 is associated with MFID 148, switch 122 can then avoid forwarding the multicast data packet to switch 144. Alternatively, switch 122 can then avoid adding the IP address of switch 144 to OList. In this way, switch 144 can receive multicast stream 172 from switch 142, and switch 122 can avoid forwarding multicast stream 172 back to fabric 140. However, switch 122 can determine that the inter-fabric tunnel in OList is not associated with MFID 148. Switch 122 can then forward the encapsulated multicast stream 172 via the inter-fabric tunnel. Switch 152 can then receive multicast stream 172 and distribute it in fabric 150 (e.g., send it toward requesting host 108).
[0045] If fabrics 120, 130, and 140 use the BSR protocol to elect an RP, the corresponding switches in these fabrics can send BSMs. The BSMs associated with the BSR protocol can allow switches in these fabrics to elect an RP in a distributed manner. Since switch 122 is shared between fabrics 120, 130, and 140, switch 122 can receive BSMs from each of these fabrics. For example, switch 122 can receive BSMs 174 and 176 from switches 124 and 132, respectively. When BSM 174 is received via fabric 120, switch 122 can determine that BSM 174 is received from an IP address associated with MFID 128. Switch 122 can then prevent BSM 174 from being forwarded to any IP address associated with MFID 128 (e.g., back to fabric 120). In the same manner, switch 122 can then prevent BSM 176 from being forwarded to any IP address associated with MFID 138 (e.g., back to fabric 130).
[0046] Figure 2AAn example of dynamically generating an MFID for identifying a distributed tunnel fabric with a multi-fabric shared gateway switch according to one aspect of the present application is illustrated. Switches 122, 124, and 126 can be associated with IP addresses 202, 204, and 206, respectively. Fabric 120 can be located in AS 240 associated with AS number 242. During operation, switch 124 can determine that it has tunnels to IP addresses 202 and 206 (e.g., to switches 222 and 126, respectively). Switch 124 can then merge local IP address 204 with the determined IP address to generate an unordered set of IP addresses 210. Therefore, set 210 can include IP addresses 202, 204, and 206. Similarly, switch 126 can determine that it has tunnels to IP addresses 202 and 204. Switch 126 can then merge local IP address 206 with the determined IP address to generate the same unordered set of IP addresses 210.
[0047] The switches 124 and 126 may also determine an AS number 242 associated with the fabric 120. Each of the switches 124 and 126 may then generate a hash value 230 by applying a hash function 220 to the combination of the set 210 and the AS number 242. Here, the set 210 may be an input parameter of the hash function 220. On the other hand, the AS number 242 may be a hash key of the hash function 220 or an input to the hash function 220. Because the hash function is applied to the same IP address 202, 204, and the AS number 242 may be the same for the fabric 120, the switches 124 and 126 may generate the same unique hash value 230. The hash value 230 may then be used as the MFID 128 of the fabric 120. The hash function 220 may be a symmetric hash function. Therefore, the order of the IP addresses 202, 204, and 206 may not have an effect on how the hash value 230 is generated. For example, hash function 220 is applied to IP addresses 202 , 204 , and 206 , and IP addresses 206 , 204 , and 202 can produce the same hash value 230 .
[0048] Figure 2BAn example of a discovery message with an MFID for notifying a multi-fabric shared gateway switch according to one aspect of the present application is illustrated. Discovery message 250 can be used to share an MFID. A switch receiving message 200 can learn the MFID of a tunnel neighbor switch (i.e., a switch coupled via a tunnel). Discovery message 200 can be a multicast control message, such as a PIM hello message used to discover PIM neighbors. Message 200 can then include a version field 252, a type field 254, a reserved field 256, a checksum field 258, an option type field 262, an option length field 264, and an option value field 266. Fields 252 and 254 can indicate the version and type of the underlying protocol, such as PIM. Option type field 262 can be used to indicate the presence of an MFID in message 250.
[0049] If the message 250 is found to be a PIM Hello message, the version field 252 can indicate the version of the PIM deployment, and the type field 254 can indicate the type of the PIM deployment. The PIM Sparse Mode (SM) protocol can reserve a range of values between 65001 and 65535 for custom use in PIM Hello messages. The option type field 262 can include a predetermined value, such as 65001, which can indicate the presence of an MFID in the message 250. The option value 266 can then include one or more of the following: AS number 272, MFID value 274, and reserved value 276. Option length 264 can indicate the length of the option value 266. If the message 250 is sent from the switch 124 or 126, the AS number 272 can include the AS number 242, the MFID value 274 can include the MFID 128, and the reserved value 276 can include a sequence of zeros.
[0050] Figure 3 An example of a discovery data structure for storing MFIDs at a multi-fabric shared gateway switch according to one aspect of the present application is illustrated. On the switch 122, a discovery data structure 180 can map the MFID of a fabric to a set of IP addresses of tunnel endpoints in the fabric. The corresponding entries of the discovery data structure 180 can include a fabric name 252, an AS number 254, a pairing indicator 256, an MFID 258, and an IP address set 260. Here, the pairing indicator 256 can indicate the protocol used to establish a connection at the switch 122. The fabric name 252 and the AS number 254 can be associated with the fabric indicated by the MFID 258. In addition, the set 260 can be used to generate the MFID 258. Therefore, the corresponding IP addresses in the set 260 can be associated with the MFID 258.
[0051] Assume that fabrics 120, 130, 140, and 150 are associated with AS numbers 242, 342, 344, and 346, respectively. Switches 132 and 134 can be associated with IP addresses 302 and 304, respectively, based on which MFID 138 can be generated. In addition, switches 142 and 144 can be associated with IP addresses 312 and 314, respectively, based on which MFID 148 can be generated. The corresponding fabrics can be associated with preconfigured fabric names. For example, switch 122 can be configured with fabric names "fabric 120," "fabric 130," "fabric 140," and "fabric 150," which are associated with fabrics 120, 130, 140, and 150, respectively.
[0052] Switch 122 can generate an entry in discovery data structure 180 based on discovery messages from switches 124 and 126. The entry can include "Fabric 120" as fabric name 252, AS number 242, "iBGP" as pairing indicator 256, MFID 128, and IP addresses 202 and 204. Similarly, switch 122 can generate an entry associated with fabric 130 based on discovery messages from switches 132 and 134. The entry can include "Fabric 130" as fabric name 252, AS number 342, "iBGP" as pairing indicator 256, MFID 138, and IP addresses 302 and 304. In the same manner, switch 122 can generate an entry associated with fabric 140 based on discovery messages from switches 142 and 144. The entry can include “Fabric 140” as fabric name 252 , AS number 344 , “iBGP” 256 as a pairing indicator, MFID 148 , and IP addresses 312 and 314 .
[0053] Switch 122 can also generate corresponding entries in discovery data structure 180 based on discovery messages from gateway switches of other fabrics, such as fabric 150. For example, switch 152 can send a discovery message with MFID 170 to switch 122, which can be based on a predefined default value. Based on the discovery message, switch 122 can generate an entry associated with fabric 150. The entry can include "Fabric 150" as fabric name 252, AS number 346, "eBGP" as pairing indicator 256, MFID 170, and IP address 310 of switch 152. Based on MFID 170, switch 122 can determine that IP address 310 corresponds to an inter-fabric tunnel.
[0054] Figure 4AA flow chart illustrating a process in which a switch generates an MFID for a local fabric and provides it to a multi-fabric shared gateway switch according to an aspect of the present application is presented. During operation, the switch can determine the IP address of a corresponding remote tunnel endpoint (e.g., a remote switch) in the local fabric (operation 402) and generate a list of determined IP addresses (operation 404). The switch can also determine an AS number associated with the local fabric (operation 406). The switch can then apply a hash function to the list of IP addresses in association with the AS number to generate a hash value (operation 408).
[0055] The hash function can be a symmetric hash function. Here, the AS number can be a hash key of the hash function or an input parameter of the hash function. The switch can then specify the hash value as the MFID of the local structure (operation 410). The switch can also generate a discovery message and include the MFID and AS number in the discovery message (operation 412). The discovery message can be a PIM hello message. The switch can then send the discovery message to the gateway switch (operation 414).
[0056] Figure 4B A flow chart illustrating a process by which a multi-fabric shared gateway switch stores MFID and associated information in a discovery data structure according to an aspect of the present application is presented. During operation, the switch can receive a discovery message from a remote endpoint (e.g., a remote switch) (operation 432). The switch can obtain the MFID and AS number from the discovery message (operation 434). The switch can then determine whether an entry exists in the discovery data structure (operation 436).
[0057] If the entry does not exist, the switch can generate an entry including the MFID and AS number (operation 438). The switch can also include association information in the entry, such as a fabric name and a pairing indicator (operation 440). If the entry already exists (operation 436) or when populating the entry (operation 440), the switch can add the IP address of the remote endpoint to the entry (operation 442).
[0058] Figure 4C A flow chart illustrating a process by which a switch updates the MFID of a local fabric and provides it to a multi-fabric shared gateway switch according to an aspect of the present application is presented. During operation, the switch can determine a new tunnel endpoint in the local fabric (operation 452) and generate an updated list of the determined IP addresses including the IP address of the new endpoint (operation 454).
[0059] The switch can then apply a hash function to the updated list of IP addresses in association with the AS number to generate an updated hash value (operation 456). The switch can specify the updated hash value as the new MFID for the local fabric (operation 458). The switch can also generate a discovery message and include the new MFID and AS number in the discovery message (operation 460). The switch can then send the discovery message to the gateway switch (operation 462).
[0060] Figure 5 A flow chart illustrating a process of forwarding a multicast packet based on an MFID by a multi-fabric shared gateway switch according to an aspect of the present application is presented. During operation, the switch can receive an encapsulated multicast packet from a remote tunnel endpoint (e.g., a remote switch) of a local fabric (operation 502). The encapsulated multicast packet can be encapsulated with a tunnel header. The multicast packet can be a join request, a multicast data packet, or a BSM. The switch can decapsulate the tunnel header to obtain the multicast packet (operation 504).
[0061] The switch can then determine whether filtering of the multicast packet is required (operation 506). For example, if the multicast packet is a BSM, the switch can determine that filtering is required. If filtering is required, the switch can determine the MFID associated with the remote endpoint (operation 508) and determine other IP addresses associated with the MFID (operation 510). The switch can then prevent the multicast packet from being forwarded to the other IP addresses associated with the MFID (operation 512). On the other hand, if filtering is not required, the switch can forward the multicast packet according to the packet type (operation 514).
[0062] Figure 6 An example of a switch that supports efficient forwarding of MFID-based multicast services according to one aspect of the present application is illustrated. In this example, the switch 600 can include several communication ports 602, a packet processor 610, and a storage device 650. The switch 600 can also include switch hardware 660 (e.g., processing hardware of the switch 600, such as its application-specific integrated circuit (ASIC) chip) that includes information based on which switch 600 processes the packet (e.g., determines the output port of the packet). The packet processor 610 can extract and process header information from the received packet. The packet processor 610 can identify a switch identifier (e.g., a MAC address and / or an IP address) associated with the switch 600 in the header of the packet.
[0063] The communication port 602 can include an inter-switch communication channel for communicating with other switches and / or user equipment. The communication channel can be realized via a conventional communication port and based on any open or proprietary format. The communication port 602 can include one or more Ethernet ports that can receive frames encapsulated in an Ethernet header. The communication port 602 can also include one or more IP ports that can receive IP packets. The IP port can receive IP packets and can be configured with an IP address. The packet processor 610 can process Ethernet frames and / or IP packets. The corresponding ports of the communication port 602 can be operated as inlet ports and / or outlet ports.
[0064] The switch 600 can maintain a database 652 (e.g., in a storage device 650). The database 652 can be a relational database and can run on one or more database management system (DBMS) instances. The database 652 can store information associated with the routing, configuration, and interfaces of the switch 600. The database 652 can store discovery data structures. The switch 600 can include a tunnel logic block 670 that can establish a tunnel with a remote switch, thereby allowing the switch 600 to operate as a tunnel endpoint. The switch 600 can include a shared border logic block 630 that can allow the switch 600 to efficiently forward multicast traffic while operating as a shared gateway switch.
[0065] The shared border logic block 630 can include an MFID logic block 632, a discovery logic block 634, and a filtering logic block 636. If the switch 600 operates as a tunnel endpoint in the structure, the MFID logic block 632 can discover the addresses of other tunnel endpoints in the IP structure and generate an MFID based on the IP addresses of the endpoints in the structure. On the other hand, if the switch 600 operates as a shared gateway switch, the MFID logic block 632 can determine the MFID based on the discovery message. The discovery logic block 634 can generate or fill in entries in the discovery data structure based on information from the received discovery message. The filtering logic block 636 can filter the forwarding of multicast packets based on the MFID in the discovery data structure.
[0066] The description herein is presented to enable any person skilled in the art to make and use the invention, and is provided in the context of a specific application and its requirements. Various modifications to the disclosed examples will be apparent to those skilled in the art, and the general principles defined herein may be applied to other examples and applications without departing from the spirit and scope of the invention. Therefore, the invention is not limited to the examples shown, but conforms to the widest scope consistent with the claims.
[0067] One aspect of the present technology can provide a system for efficient multicast forwarding at a gateway switch of a network. During operation, the gateway switch can maintain a first tunnel with a first switch in a first overlay tunnel structure and a second tunnel with a second switch in a second overlay tunnel structure. Encapsulation of packets sent via the corresponding overlay tunnel structure can be initiated and terminated within the overlay tunnel structure. The gateway switch can operate as a gateway for the first overlay tunnel structure and the second overlay tunnel structure. The system can obtain a first structure identifier and a second structure identifier from multicast control packets received via the first tunnel and the second tunnel, respectively. Here, the corresponding structure identifier can uniquely identify the overlay tunnel structure. Then, the system can store the first network address of the first switch and the second network address of the second switch in a data structure in association with the first structure identifier and the second structure identifier, respectively. Subsequently, the system can determine whether to forward multicast control and data services to any one of the first overlay tunnel structure and the second overlay tunnel structure based on the first structure identifier and the second structure identifier in the data structure, respectively.
[0068] In a variation of this aspect, the corresponding structure identifier of the overlay tunnel structure can be a hash value of a list of network addresses of the tunnel endpoints of the overlay tunnel structure.
[0069] In a further variant, the hash value can be generated according to a symmetric hash function. Here, the order of the network address list does not affect the hash value.
[0070] In a further variation, the hash value can also be generated based on an autonomous system (AS) number associated with the overlay tunnel structure.
[0071] In variations on this aspect, the network address can include one or more of: an Internet Protocol (IP) address and a Media Access Control (MAC) address.
[0072] In a variation of this aspect, the multicast control packet including the first structure identifier and the second structure identifier can be a protocol independent multicast (PIM) hello packet.The corresponding structure identifier can then be included in a user-definable field of a corresponding PIM hello packet.
[0073] In a variation of this aspect, to determine whether to forward multicast control and data traffic, the system can receive a bootstrap message (BSM) associated with a bootstrap router (BSR) protocol from the first switch. The system can then determine that the first switch is located in a first overlay tunnel structure based on a mapping between a first structure identifier and a first network address in a data structure. Subsequently, the system can prevent forwarding of the BSM message to corresponding other tunnel endpoints in the first overlay tunnel structure based on the mapping.
[0074] In a variation of this aspect, to determine whether to forward multicast control and data traffic, the system can receive a multicast join request for a multicast group from a first switch. The system can then determine that the first switch is located in a first overlay tunnel structure based on a mapping between a first structure identifier and a first network address in a data structure. Subsequently, the system can prevent forwarding the multicast join request to corresponding other tunnel endpoints in the first overlay tunnel structure based on the mapping.
[0075] In a further variation, the source of the multicast group can be coupled to a third switch of the first overlay tunnel structure.The system can then receive a multicast data packet of the multicast group from the third switch and, based on the mapping, prevent the multicast data packet from being forwarded to the first tunnel.
[0076] In a variation of this aspect, the data structure can map a corresponding structure identifier of an overlay tunnel structure to a list of network addresses of tunnel endpoints in the overlay tunnel structure.
[0077] The data structures and codes described in this detailed description are typically stored on a computer-readable storage medium, which can be any device or medium capable of storing code and / or data for use by a computer system. Computer-readable storage media include, but are not limited to, volatile memory, non-volatile memory, magnetic and optical storage devices such as disks, tapes, CDs (optical disks), DVDs (digital versatile disks or digital video disks), or other media capable of storing computer-readable media now known or later developed.
[0078] The methods and processes described in the detailed description section can be embodied as code and / or data, which can be stored in a computer-readable storage medium as described above. When a computer system reads and executes the code and / or data stored on the computer-readable storage medium, the computer system executes the methods and processes embodied as data structures and code and stored in the computer-readable storage medium.
[0079] The methods and processes described herein can be performed by and / or included in hardware logic blocks or devices. These logic blocks or devices may include, but are not limited to, application specific integrated circuit (ASIC) chips, field programmable gate arrays (FPGAs), dedicated or shared processors that execute specific software logic blocks or code slices at specific times, and / or other programmable logic devices now known or later developed. When the hardware logic blocks or devices are activated, they execute the methods and processes included therein.
[0080] The foregoing descriptions of the examples of the present invention are for illustration and description purposes only. They are not intended to be exhaustive or to limit the present disclosure. Therefore, many modifications and variations will be apparent to those skilled in the art. The scope of the present invention is defined by the appended claims.
Claims
1. A method comprising: maintaining, by a gateway switch, a first tunnel with a first switch in a first overlay tunnel structure and a second tunnel with a second switch in a second overlay tunnel structure, wherein encapsulation of packets sent via the respective overlay tunnel structures is initiated and terminated within the overlay tunnel structures, and wherein the gateway switch operates as a gateway for the first overlay tunnel structure and the second overlay tunnel structure; obtaining a first structure identifier and a second structure identifier from multicast control packets received via the first tunnel and the second tunnel, respectively, wherein the respective structure identifiers uniquely identify an overlay tunnel structure; storing a first network address of the first switch and a second network address of the second switch in a data structure in association with the first structure identifier and the second structure identifier, respectively; as well as A determination is made whether to forward multicast control and data traffic to any one of the first overlay tunnel structure and the second overlay tunnel structure based on the first structure identifier and the second structure identifier in the data structure, respectively. 2 . The method of claim 1 , wherein the corresponding structure identifier of the overlay tunnel structure is a hash value of a list of network addresses of tunnel endpoints of the overlay tunnel structure.
3. The method of claim 2, wherein the hash value is generated according to a symmetric hash function, and wherein the order of the network address list does not affect the hash value. 4 . The method of claim 2 , wherein the hash value is further generated based on an autonomous system (AS) number associated with the overlay tunnel structure. 5 . The method of claim 1 , wherein the network address comprises one or more of: an Internet Protocol (IP) address and a Media Access Control (MAC) address.
6. The method of claim 1, wherein the multicast control packet including the first structure identifier and the second structure identifier is a protocol independent multicast (PIM) hello packet, wherein the respective structure identifier is included in a user-definable field of a corresponding PIM hello packet.
7. The method of claim 1, wherein determining whether to forward the multicast control and data traffic further comprises: receiving a bootstrap message BSM from the first switch, wherein the BSM is associated with a bootstrap router BSR protocol; determining, based on a mapping between the first structure identifier in the data structure and the first network address, that the first switch is located in the first overlay tunnel structure; as well as Based on the mapping, the BSM message is prevented from being forwarded to corresponding other tunnel endpoints in the first overlay tunnel structure.
8. The method of claim 1, wherein determining whether to forward the multicast control and data traffic further comprises: receiving a multicast join request for a multicast group from the first switch; determining, based on a mapping between the first structure identifier in the data structure and the first network address, that the first switch is located in the first overlay tunnel structure; as well as Based on the mapping, forwarding the multicast join request to corresponding other tunnel endpoints in the first overlay tunnel structure is prevented.
9. The method of claim 8, wherein a source of the multicast group is coupled to a third switch of the first overlay tunnel structure; The method further comprises: receiving a multicast data packet of the multicast group from the third switch; as well as Based on the mapping, forwarding the multicast data packet to the first tunnel is prevented.
10. The method of claim 1, wherein the data structure maps corresponding structure identifiers of overlay tunnel structures to a list of network addresses of tunnel endpoints in the overlay tunnel structure.
11. A non-transitory computer-readable storage medium storing instructions, which, when executed by a processor of a gateway switch of a network, cause the processor to perform a method, the method comprising: maintaining a first tunnel with a first switch in a first overlay tunnel structure and a second tunnel with a second switch in a second overlay tunnel structure, wherein encapsulation of packets sent via the respective overlay tunnel structures is initiated and terminated within the overlay tunnel structures, and wherein the gateway switch operates as a gateway for the first overlay tunnel structure and the second overlay tunnel structure; obtaining a first structure identifier and a second structure identifier from multicast control packets received via the first tunnel and the second tunnel, respectively, wherein the respective structure identifiers uniquely identify an overlay tunnel structure; storing a first network address of the first switch and a second network address of the second switch in a data structure in association with the first structure identifier and the second structure identifier, respectively; as well as A determination is made whether to forward multicast control and data traffic to any one of the first overlay tunnel structure and the second overlay tunnel structure based on the first structure identifier and the second structure identifier in the data structure, respectively.
12. The non-transitory computer-readable storage medium of claim 11, wherein the corresponding structure identifier of the overlay tunnel structure is a hash value of a list of network addresses of tunnel endpoints of the overlay tunnel structure.
13. The non-transitory computer-readable storage medium of claim 12, wherein the hash value is generated according to a symmetric hash function, and wherein an order of the list of network addresses does not affect the hash value.
14. The non-transitory computer-readable storage medium of claim 12, wherein the hash value is further generated based on an autonomous system (AS) number associated with the overlay tunnel structure.
15. The non-transitory computer-readable storage medium of claim 11, wherein the multicast control packet including the first structure identifier and the second structure identifier is a protocol independent multicast (PIM) hello packet, wherein the respective structure identifier is included in a user-definable field of a corresponding PIM hello packet.
16. The non-transitory computer-readable storage medium of claim 11, wherein determining whether to forward the multicast control and data traffic further comprises: receiving a bootstrap message BSM from the first switch, wherein the BSM is associated with a bootstrap router BSR protocol; determining, based on a mapping between the first structure identifier in the data structure and the first network address, that the first switch is located in the first overlay tunnel structure; as well as Based on the mapping, the BSM message is prevented from being forwarded to corresponding other tunnel endpoints in the first overlay tunnel structure.
17. The non-transitory computer-readable storage medium of claim 11, wherein determining whether to forward the multicast control and data traffic further comprises: receiving a multicast join request for a multicast group from the first switch; determining, based on a mapping between the first structure identifier in the data structure and the first network address, that the first switch is located in the first overlay tunnel structure; as well as Based on the mapping, forwarding the multicast join request to corresponding other tunnel endpoints in the first overlay tunnel structure is prevented.
18. The non-transitory computer-readable storage medium of claim 17, wherein a source of the multicast group is coupled to a third switch of the first overlay tunnel structure; The method further comprises: receiving a multicast data packet of the multicast group from the third switch; as well as Based on the mapping, forwarding the multicast data packet to the first tunnel is prevented.
19. The non-transitory computer-readable storage medium of claim 11, wherein the data structure maps corresponding structure identifiers of overlay tunnel structures to a list of network addresses of tunnel endpoints in the overlay tunnel structure.
20. A computer system comprising: processor; Memory devices; as well as control circuitry for facilitating the tunneling logic block, the discovery logic block, and the filtering logic block; wherein the tunnel logic block is to: maintain a first tunnel with a first switch in a first overlay tunnel structure and a second tunnel with a second switch in a second overlay tunnel structure, wherein encapsulation of packets sent via the respective overlay tunnel structures is initiated and terminated within the overlay tunnel structures, and wherein the gateway switch operates as a gateway for the first overlay tunnel structure and the second overlay tunnel structure; The discovery logic block is used to: obtaining a first structure identifier and a second structure identifier from multicast control packets received via the first tunnel and the second tunnel, respectively, wherein the respective structure identifiers uniquely identify an overlay tunnel structure; as well as storing a first network address of the first switch and a second network address of the second switch in a data structure in association with the first structure identifier and the second structure identifier, respectively; as well as The filtering logic block is configured to determine whether to forward multicast control and data services to any one of the first overlay tunnel structure and the second overlay tunnel structure based on the first structure identifier and the second structure identifier in the data structure, respectively.
Citation Information
Patent Citations
Method, equipment and system for transmitting multicast protocol message
CN106161258A
Multicast network performance by optimizing bootstrap message (BSM) in bootstrap router (BSR)
US20210289350A1
Multicast packet management for a virtual gateway of a distributed tunnel fabric
US20230022760A1
Method and network device for establishing BGP LSP tunnel
WO2016119461A1
