I have 2 brand new, unconfigured CRS326-24S+2Q+RM switches running v7.9.1 stable and I have been trying to get MLAG to work. I followed the guide here:
https://help.mikrotik.com/docs/display/ ... tion+Group
but the resulting configuration was very unstable. Running a constant ping between 2 hosts, I tried disconnecting and reconnecting random ports and it would work sometimes and sometimes not.
Eventually, I was able to figure out a configuration that appears to be working 100%. The key was to create a UNIQUE MLAG ID for each client bond, instead of using the same one for all bonds. Using this configuration, I am able to plug and unplug any hosts to/from any ports and have full redundancy -- but I have 2 questions:
1. Is this configuration correct?
2. In the current configuration, I am using port qsfpplus1-1 as the uplink/peer port (40Gbps). What I would really like to do is create a LACP bond using qsfpplus1-1 and qsfpplus2-1 and use that bond as the peer uplink. However, if I do this, the MLAG does not work any more.
My working config is below. Can someone confirm that this is correct, and can anyone explain why it won't work if I LACP my peer ports?
For reference, the hosts are Proxmox (Linux) with 2x ports in LACP.
Thanks
On Switch 1 and 2 we execute:
# /interface bonding
# add mode=802.3ad name=uplink_80g slaves=qsfpplus1-1,qsfpplus2-1
/interface bonding
add mlag-id=1 mode=802.3ad name=client-bond1 slaves=sfp-sfpplus1
add mlag-id=2 mode=802.3ad name=client-bond2 slaves=sfp-sfpplus2
add mlag-id=3 mode=802.3ad name=client-bond3 slaves=sfp-sfpplus3
add mlag-id=4 mode=802.3ad name=client-bond4 slaves=sfp-sfpplus4
add mlag-id=5 mode=802.3ad name=client-bond5 slaves=sfp-sfpplus5
add mlag-id=6 mode=802.3ad name=client-bond6 slaves=sfp-sfpplus6
add mlag-id=7 mode=802.3ad name=client-bond7 slaves=sfp-sfpplus7
add mlag-id=8 mode=802.3ad name=client-bond8 slaves=sfp-sfpplus8
add mlag-id=9 mode=802.3ad name=client-bond9 slaves=sfp-sfpplus9
add mlag-id=10 mode=802.3ad name=client-bond10 slaves=sfp-sfpplus10
add mlag-id=11 mode=802.3ad name=client-bond11 slaves=sfp-sfpplus11
add mlag-id=12 mode=802.3ad name=client-bond12 slaves=sfp-sfpplus12
add mlag-id=13 mode=802.3ad name=client-bond13 slaves=sfp-sfpplus13
add mlag-id=14 mode=802.3ad name=client-bond14 slaves=sfp-sfpplus14
add mlag-id=15 mode=802.3ad name=client-bond15 slaves=sfp-sfpplus15
add mlag-id=16 mode=802.3ad name=client-bond16 slaves=sfp-sfpplus16
add mlag-id=17 mode=802.3ad name=client-bond17 slaves=sfp-sfpplus17
add mlag-id=18 mode=802.3ad name=client-bond18 slaves=sfp-sfpplus18
add mlag-id=19 mode=802.3ad name=client-bond19 slaves=sfp-sfpplus19
add mlag-id=20 mode=802.3ad name=client-bond20 slaves=sfp-sfpplus20
add mlag-id=21 mode=802.3ad name=client-bond21 slaves=sfp-sfpplus21
add mlag-id=22 mode=802.3ad name=client-bond22 slaves=sfp-sfpplus22
add mlag-id=23 mode=802.3ad name=client-bond23 slaves=sfp-sfpplus23
add mlag-id=24 mode=802.3ad name=client-bond24 slaves=sfp-sfpplus24
/interface bridge
add name=bridge1 vlan-filtering=yes
/interface bridge port
add bridge=bridge1 interface=qsfpplus1-1 pvid=99 # works
# add bridge=bridge1 interface=uplink_80g pvid=99 ## does not work
add bridge=bridge1 interface=client-bond1
add bridge=bridge1 interface=client-bond2
add bridge=bridge1 interface=client-bond3
add bridge=bridge1 interface=client-bond4
add bridge=bridge1 interface=client-bond5
add bridge=bridge1 interface=client-bond6
add bridge=bridge1 interface=client-bond7
add bridge=bridge1 interface=client-bond8
add bridge=bridge1 interface=client-bond9
add bridge=bridge1 interface=client-bond10
add bridge=bridge1 interface=client-bond11
add bridge=bridge1 interface=client-bond12
add bridge=bridge1 interface=client-bond13
add bridge=bridge1 interface=client-bond14
add bridge=bridge1 interface=client-bond15
add bridge=bridge1 interface=client-bond16
add bridge=bridge1 interface=client-bond17
add bridge=bridge1 interface=client-bond18
add bridge=bridge1 interface=client-bond19
add bridge=bridge1 interface=client-bond20
add bridge=bridge1 interface=client-bond21
add bridge=bridge1 interface=client-bond22
add bridge=bridge1 interface=client-bond23
add bridge=bridge1 interface=client-bond24
/interface bridge vlan
add bridge=bridge1 tagged=qsfpplus1-1 vlan-ids=1 # works
# add bridge=bridge1 tagged=uplink_80g vlan-ids=1 ## does not work
/interface bridge mlag
set bridge=bridge1 peer-port=qsfpplus1-1 # works
# set bridge=bridge1 peer-port=uplink_80g ## does not work