METHOD AND SYSTEM FOR PROTOCOL INDEPENDENT MULTICASTING IN MULTICHASSIS LINK AGGREGATION DOMAINS
A method for processing IP multicast packets in a MLAG domain. The method includes processing the IP multicast packet using the bridging functionality and the routing functionality implemented by each of the MLAG peers to process the IP multicast packets.
Latest ARISTA NETWORKS, INC. Patents:
- Traffic handling for EVPN E-tree
- Systems and methods for control and management of shared logical ports on a network processor
- Path configuration in a network device using a user visible representative interface
- Systems and methods for constructing application-aware virtual topologies in wide area networks
- Hardware clamping of the transmission control protocol (TCP) maximum segment size (MSS) parameter in a scalable and programmable network device
One function that is implemented by multilayer switches is protocol independent multicast (PIM). When PIM is implemented on a pair of switches, where the pair of switches appear as a single logical layer-2 switch with separate per-physical switch routing instances, it is important to ensure that multiple Internet Protocol (IP) multicast packets are not delivered to the same destination. Traditionally, in such implementations, proprietary tags are attached to the IP multicast packets by the multiplayer switches, where the proprietary tags are used to ensure that multiple copies of the IP multicast packet are not delivered to the same destination. The use of proprietary tags decreases the interoperability of various switches and also makes network trouble shooting difficult.
SUMMARYIn general, in one aspect, the invention relates to a non-transitory computer readable medium comprising instructions, which when executed by at least one processor perform a method for processing Internet Protocol (IP) multicast packets in a multichassis link aggregation (MLAG) domain, the method comprising: receiving, from a first external device, a first IP multicast packet associated with a first Virtual Local Area Network (VLAN) by a first MLAG peer in the MLAG domain, bridging a copy of the IP multicast packet to all external devices in the MLAG domain, other than the first external device, associated with the first VLAN, applying, on the first MLAG peer, a first routing rule to the first IP multicast packet to obtain a new IP multicast packet associated with a second VLAN, bridging a first copy of the new IP multicast packet associated with the second VLAN to all external devices, associated with the second VLAN, that are directly connected to the first MLAG peer, forwarding, via a peer link, a second copy of the new IP multicast packet associated with the second VLAN to the second MLAG peer, wherein the second MLAG peer applies a second routing rule to the second copy of the new IP multicast packet associated with the second VLAN to obtain a second new IP multicast packet associated with a third VLAN, wherein a copy of the second new IP multicast packet associated with the third VLAN is forwarded across the peer link, receiving, via the peer link, a copy of the second new IP multicast packet associated with the third VLAN from the second MLAG peer, and bridging a copy of the second new IP multicast packet associated with the third VLAN to all external devices associated with the third VLAN that are singly connected to the first MLAG peer.
In general, in one aspect, the invention relates to a multichassis link aggregation (MLAG) domain, comprising: a first MLAG peer configured to receive, from a first external device, an IP multicast packet associated with a first Virtual Local Area Network (VLAN), bridge a copy of the IP multicast packet to all external devices in the MLAG domain, other than the first external device, associated with the first VLAN, apply a first routing rule to the first IP multicast packet to obtain a new IP multicast packet associated with a second VLAN, bridge a copy of the new IP multicast packet to each of: all external devices, associated with the second VLAN that are directly connected to the first MLAG peer and a second MLAG peer via a peer link, and the second MLAG peer configured to: receive, via the peer link, one copy of the new IP multicast packet associated with the second VLAN, apply a second routing rule to the one copy of the new IP multicast packet associated with the second VLAN to obtain a second new IP multicast packet associated with a third VLAN, and wherein the first MLAG peer is further configured to: receive, via the peer link, the second new IP multicast packet associated with the third VLAN, and bridge a copy of the second new IP multicast packet associated with the third VLAN to all external devices associated with the third VLAN that are singly connected to the first MLAG peer.
In general, in one aspect, the invention relates to a method for processing Internet Protocol (IP) multicast packets in a multichassis link aggregation (MLAG) domain, the method comprising receiving, from a first external device, a first IP multicast packet associated with a first Virtual Local Area Network (VLAN) by a first MLAG peer in the MLAG domain, bridging a copy of the IP multicast packet to all external devices in the MLAG domain, other than the first external device, associated with the first VLAN, applying, on the first MLAG peer, a first routing rule to the first IP multicast packet to obtain a new IP multicast packet associated with a second VLAN, bridging a first copy of the new IP multicast packet associated with the second VLAN to all external devices, associated with the second VLAN, that are directly connected to the first MLAG peer, forwarding, via a peer link, a second copy of the new IP multicast packet associated with the second VLAN to the second MLAG peer, wherein the second MLAG peer applies a second routing rule to the second copy of the new IP multicast packet associated with the second VLAN to obtain a second new IP multicast packet associated with a third VLAN, wherein a copy of the second new IP multicast packet associated with the third VLAN is forwarded across the peer link, receiving, via the peer link, a copy of the second new IP multicast packet associated with the third VLAN from the second MLAG peer, and bridging a copy of the second new IP multicast packet associated with the third VLAN to all external devices associated with the third VLAN that are singly connected to the first MLAG peer.
Other aspects of the invention will be apparent from the following description and the appended claims.
Specific embodiments of the invention will now be described in detail with reference to the accompanying figures. In the following detailed description of embodiments of the invention, numerous specific details are set forth in order to provide a more thorough understanding of the invention. However, it will be apparent to one of ordinary skill in the art that the invention may be practiced without these specific details. In other instances, well-known features have not been described in detail to avoid unnecessarily complicating the description.
In the following description of
In general, embodiments of the invention relate to implementing tagless protocol independent multicasting (PIM) on switches in a multichassis link aggregation (MLAG) domain. More specifically, embodiments of the invention relate to implementing two separate IP multicast routers in a single MLAG domain, where each of the IP multicast routers maintains a separate routing table.
In one or more embodiments of the invention, MLAG is a switch behavior where two switches cooperate to provide the illusion of a single switch for layer-2 purposes (or the illusion of a single 802.1q bridge) from the point of view of any externally connected device. The two switches are called MLAG peers, their union is called the MLAG domain, and the link or links directly connecting them are called the peer link or links. In one embodiment, the switches cooperate to provide the illusion of a single layer-2 Ethernet switch such that external devices may connect using link aggregation groups (LAGs) made up of a set of links where one subset of the links terminates on the first switch, and the remaining links terminate on the second switch. One skilled in the art will recognize that maintaining this illusion requires several distinct types of coordination, including Spanning Tree Protocol (STP) coordination, Link Aggregation Control Protocol (LACP) coordination, MAC Address Learning coordination, and IGMP Snooping coordination.
In one embodiment of the invention, the MLAG domain (100) includes a pair of MLAG peers (102, 104), where each of the MLAG peers (102, 104) is a switch. In one embodiment of the invention, each MLAG peer is a multilayer switch that includes functionality to bridge packets (also referred to a bridging functionality and/or applying a bridging function) (i.e., forward packets using layer 2 addresses) and functionality to route packets (also referred to a bridging functionality and/or applying a routing function) (i.e., forward packets using layer 3 addresses). In one embodiment of the invention, a switch is a physical device that includes persistent storage, memory (e.g., Random Access Memory), one or more processors, and two or more physical ports (e.g., P1-P9). Each port may be connected to either: (i) an MLAG peer or (ii) an external device (106, 108, 110, 112). Ports connected to a MLAG peer may be referred to as peer ports while ports not connected to the MLAG peer may be referred to as non-peer ports.
With respect to the peer ports, each MLAG peer may include one or more peer ports, where the peer ports on one MLAG peer are connected (e.g., via a wired connection) to the peer ports on the other MLAG peer. The result is one or more physical links between the MLAG peers. These links may be collectively referred to as a peer link (114). The peer link (114) may be established and/or active when at least one physical link that is part of the peer link is active. The physical link is considered to be active when peer ports on each side of the physical link are active.
Continuing with the discussion of a switch, each switch is configured to receive packets via the non-peer ports and determine whether to (i) drop the packet, (ii) process the packet as part of a layer-2 control protocol (e.g., Spanning Tree Protocol (STP), Link Aggregation Control Protocol (LACP), Internet Group Management Protocol (IGMP)); or (iii) send the packet out over another one of the ports on the switch. Each of the switches in the MLAG domain may include functionality to (i) bridge packets (i.e., forward packets using layer 2 addresses within a layer 2 domain (discussed below)) and route packets between layer two domains using layer 3 addresses In one embodiment of the invention, the persistent storage in the switch may include any non-transitory computer readable medium that includes instructions, which when executed by the one or more processors in the switch, enable the switch to perform the functions described in this application (see e.g.,
In one embodiment of the invention, an external device may be (i) a switch, (ii) a router, (iii) a computer system, or (iv) any other device that is able to connect to at least one port in the MLAG domain. The computer system (with a processor, memory, and persistent storage) may correspond to any type of system that is configured to send and receive packets.
In one embodiment of the invention, each external device may be a singly-connected device or a dually-connected device. A singly-connected device is only connected to a single port on one of the MLAG peers (see e.g., 112). A dually-connected device is connected to at least one port on each of the MLAG peers in the MLAG domain (e.g., 106, 108, 110). If an external device is dually-connected, then the ports on the external device that are connected to the MLAG domain in order to make the external device a dually-connected device are collectively referred to as a link aggregation group (e.g., 116, 118).
In one embodiment of the invention, to external devices that are dually-connected devices, the MLAG domain appears as a single switch. For example, from the perspective of external device A (106) and external device B (108), the MLAG domain appears as a single switch with a media access control (MAC) address (which is different than the MAC addresses of the MLAG peer A (102) and MLAG peer B (104)) and ports P1-P9. Further, based on the above, external device A (106) operates as if port P10 and P11 are connected to the same switch. Similarly, external device B (108) operates as if port P12 and P13 are connected to the same switch.
In order to behave (or at least appear to external devices that are dually-connected) as a single switch, the MLAG domain (100) implements the following functionality: (i) one MLAG peer is designated as a primary switch and one MLAG peer is designated as a secondary switch; (ii) the primary switch is responsible for implementing spanning tree protocol (STP) for the MLAG domain, which includes generating all configuration bridging protocol data unit messages (also referred to a STP configuration messages), issuing the STP configuration messages over one or more ports in the MLAG domain and processing the received STP configuration messages in accordance with STP; (iii) the secondary switch implements its own instance of STP using the STP configuration messages received by the MLAG domain but the results of processing the STP configuration messages are not used while the primary switch is active (see
In one embodiment of the invention, both MLAG peers are implemented as symmetric MLAG peers (i.e., there is no designation of primary and secondary switches in the MLAG domain). In such embodiments, the MLAG peers both implement symmetric coordinated instances of STP for all non-peer ports on the MLAG peer. Further, each of the MLAG peers implement their own instances of the various layer-2 protocols (as discussed above), coordinating to reach agreement about which ports are members of which LAGs.
Each MLAG peer has a copy of a layer-2 forwarding table called the “MAC table”, which is a mapping from MAC address to port. The port is the “location” of the MAC address. With reference to
Note that the MAC table may map a MAC address to a link aggregation group (LAG). For example, if the MAC table maps MAC address A to LAG A, then MLAG Peer A would forward a packet with a destination address of MAC address A out port P3, whereas MLAG Peer B would forward such a packet out port P6.
Each MLAG peer updates its copy of the MAC table based on the source MAC addresses of received packets, communicating with the other MLAG peer as needed to keep the MAC tables in sync. In other words, the MAC tables of MLAG peers are the same except during a slight communication delay as a MAC table update propagates from one peer to the other. For example, when MLAG Peer B receives a packet on port P9 with a MAC source address of D, it updates its MAC table to map MAC source address D to P9, and propagates that mapping in a message sent to MLAG Peer A. This process is called “source learning”. No source learning takes place for packets received on the peer link (ports P4 and P5), as the “true” (external) location is determined through MAC table update propagation.
When a packet's destination is not found in the MAC table, the switch must flood the packet. For example, if a packet entered port P1 with a destination MAC address of B, and there is no entry in the MAC table that maps MAC address B to a port, then MLAG Peer A would forward the packet out ports P2, P3, and P4. When the packet enters MLAG Peer B, it sends the packet out port P9 only. Because MLAG Peer B received the packet on the peer link, it sends no copy out ports P6, P7, or P8, because those ports are members of LAGs with members on the other peer, and thus it is the other peer's responsibility to ensure that the LAG received a copy if needed. In one or more embodiments of the invention, the general rule is that packets received on external ports are flooded out all other external ports and the peer link, whereas packets received on the peer link are flooded out only external ports that are not members of LAGs that include members on the peer switch.
Those skilled in the art will appreciate that packet transmission in all cases is subject to VLAN membership tests, STP topology tests, access control lists (ACLs), shapers, policies, queue occupancy and buffering limitations, IGMP snooping group membership test, and various other well-known mechanisms that influence packet forwarding decisions.
Though not shown in
The invention is not limited to the system configuration shown in
Those skilled in the art will appreciate that the multicast routing function may route between any set of layer-3 interfaces, including routed ports and tunnel interfaces. This description focuses on VLAN interfaces only for simplicity.
In one embodiment of the invention, each of the IP multicast routers implements PIM as defined in RFC 4601 (“Protocol Independent Multicast—Sparse Mode (PIM-SM): Protocol Specification (Revised)”, August 2006), RFC 3973 (“Protocol Independent Multicast—Dense Mode (PIM-DM): Protocol Specification (Revised)”, December 2005), RFC 5015 (“Bidirectional Protocol Independent Multicast (BIDIR-PIM)”, October 2007), and/or RFC 3569 (“An Overview of Source-Specific Multicast (SSM)”, July 2003). The IP multicast routers may also implement any other multicast routing protocol without departing from the invention.
The following discussion describes how IP multicast packets associated with a VLAN that are received by an MLAG peer are processed. Specifically,
Turning to
Turning to
In step 302, a copy of the IP multicast packet (with any appropriate rewrites to the layer 2 header) is bridged to all external devices in the MLAG domain that are associated with the initial VLAN. In one embodiment of the invention, the aforementioned bridging includes (i) bridging a copy of the IP multicast packet (with any appropriate rewrites to the layer 2 header) to all external devices that are directly connected (i.e., singly connected and doubly connected external devices) to the first MLAG peer and (ii) bridging a copy of the IP multicast packet (with any appropriate rewrites to the layer 2 header) across the peer link to the second MLAG peer (i.e., the other MLAG peer in the MLAG domain), where the second MLAG peer subsequently bridges a copy of the IP multicast packet (with any appropriate rewrites to the layer 2 header) to all external devices that are singly connected to the second MLAG peer. In one embodiment of the invention, the functionality of the first MLAG peer to bridge a copy of IP multicast packets to all external devices in the MLAG domain in the initial VLAN is performed by a bridging function in the first MLAG peer.
Prior to step 304, a copy of the IP multicast packet is also forwarded to the IP multicast router in the first MLAG peer. This step may not be performed in the scenario in which the same copy of the IP multicast packet received in Step 300 is processed by both the bridging function (i.e., the functionality that bridge a packet to an port of the MLAG peer, see e.g., Step 302) and the routing function (i.e., the functionality to route the packet from a source VLAN to a destination VLAN, see e.g., Step 308). In step 304, an IP multicast rule is selected, where the IP multicast rule corresponds to one of the IP multicast rules stored in (or otherwise associated with) the IP multicast router in the first MLAG peer. In step 306, a determination is made about whether the IP multicast rule applies. In one embodiment of the invention, the IP multicast rule applies when the rule specifies how to route packets that are received on the initial VLAN.
In step 308, if the IP multicast rule applies, the IP multicast packet is routed to the new VLAN. In one embodiment of the invention, routing the IP multicast packet results in the generation of a new IP multicast packet that includes the same payload as the IP multicast packet received in Step 300, but has updated headers and a different VLAN tag. In particular, the new IP multicast packet includes a VLAN tag corresponding to the new VLAN and may also include updated layer 2 headers to reflect that the first MLAG peer is the source for the IP multicast packet. In one embodiment of the invention, step 308 is performed by the IP multicast router on the first MLAG peer. In step 310, a copy of the new IP multicast packet (with any appropriate rewrites to the layer 2 header and layer 3 header) is bridged to all external devices in the new VLAN (i.e., the VLAN to which the IP multicast packet was routed in Step 308) that are directly connected to the first MLAG peer. More specifically, a copy of the new IP multicast packet is forwarded to the bridging function in the first MLAG peer. The bridging function subsequently bridges a copy of the new IP multicast packet to all external devices in the new VLAN that are directly connected to the first MLAG peer.
In step 312, a copy of the new IP multicast packet (with any appropriate rewrites to the layer 2 header and layer header) is sent to the second MLAG peer via the peer link. In one embodiment of the invention, the copy of the new IP multicast packet may be forwarded to the bridging function in the first MLAG peer. The first MLAG peer, via the bridging function, may then bridge a copy of the new IP multicast packet to the second MLAG peer. In another embodiment of the invention, the bridging function may generate a copy of the new IP packet (based on the routed IP multicast packet it received in step 310) and bridge copy of the new IP multicast packet to the second MLAG peer. In another embodiment of the invention, the IP multicast router in the first MLAG peer may directly send a copy of the new IP multicast packet to the second MLAG peer. In one embodiment of the invention, the second MLAG processes the copy of the new IP multicast packet in accordance with
In step 314, a determination is made about whether there are any additional IP multicast rules to apply. If there are additional IP multicast rules to apply, the process proceeds to step 304; otherwise, the process ends.
Turning to
Similar to the first MLAG peer, the second MLAG peer processes the IP multicast packets received via the peer link using: (i) only the bridging function, see e.g., Step 322 and (ii) a routing function and a subsequently a bridging function, see e.g., Steps 324-330.
In step 320, an IP multicast packet is received via the peer link from the first MLAG peer. In step 322, a copy of the IP multicast packet (with any appropriate rewrites to the layer 2 header) is bridged to all external devices that are singly connected to the second MLAG peer and that are in the same VLAN as the IP multicast packet received via the peer link. In one embodiment of the invention, step 322 is performed at least in part by a bridging function.
In step 324, an IP multicast rule is selected, where the IP multicast rule corresponds to the IP multicast rules stored in (or otherwise associated with) the IP multicast router in the second MLAG peer. In step 326, a determination is made about whether the IP multicast rule applies. In one embodiment of the invention, the IP multicast rule applies when the rule specifies how to route packets that are received on the VLAN associated with the routed IP multicast packet received in Step 320. In one embodiment of the invention, the IP multicast rule applies if the rule specifies how to route packets on the packet's ingress VLAN and if the group address of the packet matches the group address of the rule. In one embodiment of the invention, the IP multicast rule applies if the rule specifies how to route packets on the packet's ingress VLAN and, for (S, G) pair multicast rules, if the IP source address of the packet matches the source address for the rule, where “S” is the IP source address of the multicast packet and “G” is the multicast group to which the packet is sent.
In step 328, if the IP multicast rule applies, the IP multicast packet (i.e., the IP multicast packet received in Step 320 or a copy of the IP multicast packet received in Step 320) is routed to the new VLAN. In one embodiment of the invention, routing the IP multicast packet results in the generation of a new IP multicast packet that includes the same payload as the IP multicast packet received in Step 320, but has updated headers and a different VLAN tag. The new IP multicast packet includes a VLAN tag corresponding to the new VLAN and may also include updated layer 2 headers to reflect that the second MLAG peer is the layer-2 source for the routed IP multicast packet. In one embodiment of the invention, step 328 is performed by the IP multicast router on the second MLAG peer.
In step 330, a copy of the new IP multicast packet (with any appropriate rewrites to the layer 2 header) generated in Step 328 is bridged to all external devices in the MLAG domain that are associated with the new VLAN (i.e., the new VLAN to which the routed IP multicast packet was routed in Step 328). In one embodiment of the invention, the functionality of the second MLAG peer to bridge a copy of IP multicast packets to all external devices in the MLAG domain in the new VLAN is performed by a bridging function in the second MLAG peer. In one embodiment of the invention, the aforementioned bridging includes (i) bridging a copy of the new IP multicast packet (with any appropriate rewrites to the layer 2 header) to all external devices that are directly connected (i.e., singly connected and doubly connected external devices) to the second MLAG peer and (ii) bridging a copy of the new IP multicast packet (with any appropriate rewrites to the layer 2 header) across the peer link to the first MLAG peer (i.e., the other MLAG peer in the MLAG domain), where the first MLAG peer subsequently bridges (using its bridging function) a copy of the new IP multicast packet (with any appropriate rewrites to the layer 2 header) to all external devices that are singly connected to the first MLAG peer.
In step 332, a determination is made about whether there are any additional IP multicast rules to apply. If there are additional IP multicast rules to apply, the process proceeds to step 324; otherwise, the process ends.
Referring to
Referring to
Referring to
Referring to
Based on the above configuration shown in
Turning to
Turning to
Turning to
Turning to
However, as discussed above in
One or more embodiments of the invention may be implemented using instructions executed by one or more processors in the system. Further, such instructions may correspond to computer readable instructions that are stored on one or more non-transitory computer readable mediums.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as disclosed herein. Accordingly, the scope of the invention should be limited only by the attached claims.
Claims
1. A non-transitory computer readable medium comprising instructions, which when executed by at least one processor perform a method for processing Internet Protocol (IP) multicast packets in a multichassis link aggregation (MLAG) domain, the method comprising:
- receiving, from a first external device, a first IP multicast packet associated with a first Virtual Local Area Network (VLAN) by a first MLAG peer in the MLAG domain;
- bridging a copy of the IP multicast packet to all external devices in the MLAG domain, other than the first external device, associated with the first VLAN;
- applying, on the first MLAG peer, a first routing rule to the first IP multicast packet to obtain a new IP multicast packet associated with a second VLAN;
- bridging a first copy of the new IP multicast packet associated with the second VLAN to all external devices, associated with the second VLAN, that are directly connected to the first MLAG peer;
- forwarding, via a peer link, a second copy of the new IP multicast packet associated with the second VLAN to the second MLAG peer, wherein the second MLAG peer applies a second routing rule to the second copy of the new IP multicast packet associated with the second VLAN to obtain a second new IP multicast packet associated with a third VLAN, wherein a copy of the second new IP multicast packet associated with the third VLAN is forwarded across the peer link;
- receiving, via the peer link, a copy of the second new IP multicast packet associated with the third VLAN from the second MLAG peer; and
- bridging a copy of the second new IP multicast packet associated with the third VLAN to all external devices associated with the third VLAN that are singly connected to the first MLAG peer.
2. The non-transitory computer readable medium of claim 1, wherein the first MLAG peer and the second MLAG peer are multilayer switches.
3. The non-transitory computer readable medium of claim 1, wherein bridging the copy of the IP multicast packet to all external devices in the MLAG domain comprises forwarding at least one copy of the IP multicast packet to the second MLAG domain via the peer link.
4. The non-transitory computer readable medium of claim 1, wherein the first MLAG peer does not include any routing rules to route IP Multicast packets from the first VLAN to the third VLAN, wherein the first MLAG peer does not include any routing rules to route IP Multicast packets from the second VLAN to the third VLAN, wherein the second MLAG peer does not include any routing rules to route IP multicast packets from the first VLAN to the second VLAN, and wherein the second MLAG peer does not include any routing rules to route IP multicast packets from the first VLAN to the third VLAN.
5. A multichassis link aggregation (MLAG) domain, comprising:
- a first MLAG peer configured to: receive, from a first external device, an IP multicast packet associated with a first Virtual Local Area Network (VLAN), bridge a copy of the IP multicast packet to all external devices in the MLAG domain, other than the first external device, associated with the first VLAN, apply a first routing rule to the first IP multicast packet to obtain a new IP multicast packet associated with a second VLAN, bridge a copy of the new IP multicast packet to each of: all external devices, associated with the second VLAN that are directly connected to the first MLAG peer and a second MLAG peer via a peer link; and
- the second MLAG peer configured to: receive, via the peer link, one copy of the new IP multicast packet associated with the second VLAN; apply a second routing rule to the one copy of the new IP multicast packet associated with the second VLAN to obtain a second new IP multicast packet associated with a third VLAN; and
- wherein the first MLAG peer is further configured to: receive, via the peer link, the second new IP multicast packet associated with the third VLAN; and bridge a copy of the second new IP multicast packet associated with the third VLAN to all external devices associated with the third VLAN that are singly connected to the first MLAG peer.
6. The MLAG domain of claim 5, wherein the first MLAG peer and the second MLAG peer are each multilayer switches.
7. The MLAG domain of claim 5, wherein the second MLAG peer is further configured to:
- bridge a copy of the new IP multicast packet associated with the second VLAN to all external devices associated with the second VLAN that are singly connected to the second MLAG peer.
8. The MLAG domain of claim 5, wherein the first MLAG peer is configured to maintain a first routing table comprising the first routing rule and the second MLAG peer is configured to maintain a second routing table comprising the second routing rule.
9. The MLAG domain of claim 8, wherein the first MLAG peer does not have access to routing rules in the first routing table and wherein the second MLAG peer does not have access to routing rules in the second routing table.
10. The MLAG domain of claim 5, wherein the second MLAG peer is further configured to:
- receive, via the peer link, an IP multicast packet associated with a fourth VLAN;
- determine that no routing rules apply to the IP multicast packet associated with the fourth VLAN;
- bridge a copy of the IP multicast packet associated with a fourth VLAN to at least one external device associated with the fourth VLAN that is singly connected to the second MLAG peer.
11. The MLAG domain of claim 5, wherein the first MLAG peer comprises a first router that implements protocol independent multicasting and the second MLAG peer comprises a second router that implements protocol independent multicasting.
12. A method for processing Internet Protocol (IP) multicast packets in a multichassis link aggregation (MLAG) domain, the method comprising:
- receiving, from a first external device, a first IP multicast packet associated with a first Virtual Local Area Network (VLAN) by a first MLAG peer in the MLAG domain;
- bridging a copy of the IP multicast packet to all external devices in the MLAG domain, other than the first external device, associated with the first VLAN;
- applying, on the first MLAG peer, a first routing rule to the first IP multicast packet to obtain a new IP multicast packet associated with a second VLAN;
- bridging a first copy of the new IP multicast packet associated with the second VLAN to all external devices, associated with the second VLAN, that are directly connected to the first MLAG peer;
- forwarding, via a peer link, a second copy of the new IP multicast packet associated with the second VLAN to the second MLAG peer, wherein the second MLAG peer applies a second routing rule to the second copy of the new IP multicast packet associated with the second VLAN to obtain a second new IP multicast packet associated with a third VLAN, wherein a copy of the second new IP multicast packet associated with the third VLAN is forwarded across the peer link;
- receiving, via the peer link, a copy of the second new IP multicast packet associated with the third VLAN from the second MLAG peer; and
- bridging a copy of the second new IP multicast packet associated with the third VLAN to all external devices associated with the third VLAN that are singly connected to the first MLAG peer.
13. The method of claim 12, wherein the first MLAG peer and the second MLAG peer are multilayer switches.
14. The method of claim 12, wherein bridging the copy of the IP multicast packet to all external devices in the MLAG domain comprises forwarding at least one copy of the IP multicast packet to the second MLAG domain via the peer link.
15. The method of claim 12, wherein the first MLAG peer does not include any routing rules to route IP Multicast packets from the first VLAN to the third VLAN, wherein the first MLAG peer does not include any routing rules to route IP Multicast packets from the second VLAN to the third VLAN, wherein the second MLAG peer does not include any routing rules to route IP multicast packets from the first VLAN to the second VLAN, and wherein the second MLAG peer does not include any routing rules to route IP multicast packets from the first VLAN to the third VLAN.
Type: Application
Filed: Apr 29, 2014
Publication Date: Oct 29, 2015
Patent Grant number: 9281954
Applicant: ARISTA NETWORKS, INC. (Santa Clara, CA)
Inventor: Kenneth James Duda (Santa Clara, CA)
Application Number: 14/264,458