– Bond Aggregation or Bonding is a method used to combine multiple interfaces together, to obtain greater bandwidth. If bandwidth is limited on an interface, while the access demand is more than the capacity of that interface, then we need to configure Bond Aggregation.
– Mikrotik CSS 326-24G-2S+RM switches now support Link Aggregation mode LACP (802.3ad), but for the Router side, you must also use the same mode, specifically LACP (802.3ad). If the Router side does not use LACP mode, the link will not work, because the CSS 326-24G-2S+RM switch only supports link aggregation with LACP mode (802.3ad). The following is an example of a topology.
– From the above topology, interface ether1 and ether2 on the Mikrotik RB router connected to the CSS 326-24G-2S+RM switch. By using link aggregation for the latter we will get the maximum bandwidth speed. So, in theory, we should get a total bandwidth of 2Gbps. The configuration steps are as follows:
For Router Mikrotik RB5009:
– First, we add and create a link aggregation interface on the Router. Select Menu Interfaces > enter Bonding > select mark (+) to Add New.
– Based on the link structure above, I will add an interface ether1 and ether2 into RB Router. Then determine the LACP mode (802.3ad) link mode.
- For attributes (Slaves), select the ports for which you want to participate in link aggregation. In this case we use port Ether1, Ether2.
- Link mode (Mode): select LACP (802.3ad).
- (Transmit Hast Policy):select both Layer2 and Layer3.
– Next, is the step to initialize VLANs on the link Bonding created, and set IP address, DHCP Server.
For Mikrotik CSS326-24G-2S+RM Switch:
– For link aggregation configuration, it goes to menu LAG. There are 3 modes provided, namely Passive (Passive), Proactive (Active) and Static (Static). By default, CSS uses Passive mode.
– Specify the port to be used to participate in link aggregation, namely Port1 and Port2. And usage mode (Mode) To be Passive at default. If so, information about the road Trunk and Partner will appear immediately from the link interface on router R1.
– After the above steps are completed, proceed to install VLAN on this CSS switch device.
– Please determine the member ports of the VLAN, specifically the settings for each VLAN-ID will be forwarded on any desired ethernet port. Each cell in the Member parameter (Member) represents a physical ethernet port, starting from the leftmost representing the ether1 port in order to the rightmost port, the 26 (SFP).
– According to the topology, we will assign 3 VLAN-IDs, namely VLAN-ID = 10, 20 and 30. Because of the gate ether1, ether2 is the gate Trunk (to receive the VLAN-ID from the router so the port ether1, ether2 become a Member for all VLAN-Ic), while for Port7, Port8, Port9 To be Access-Port (Connect to Client). For the remaining ports, just set them according to your needs.
– Try reconnecting the port Ether 9 on the Mikrotik CSS326-24G-2S+ switch, and of course traffic was active on both linked interfaces.
Xem tiếp...