Community discussions

MikroTik App
 
admiralmcstabby
just joined
Topic Author
Posts: 8
Joined: Wed Apr 27, 2022 9:12 pm

Bonding Questions (CRS109)

Mon Nov 21, 2022 5:00 pm

Hello all,

I've been having issues trying to build a bond between two interfaces (ether3,ether4) on my CRS109 and my TrueNAS storage server. I come from a Cisco background so if anyone could point me or explain how SwOS/RouterOS handles and manages bonding interfaces I would greatly appreciate it. For example:
  • Why do the sub-interfaces need to be removed from the bridge?
  • What exactly does one port being a "master" of another port do and why does that affect bonding interfaces?
  • Does/How does SwOS/RouterOS handle bonding interfaces differently than Cisco IOS?
Thank you!
 
tdw
Forum Guru
Forum Guru
Posts: 1543
Joined: Sat May 05, 2018 11:55 am

Re: Bonding Questions (CRS109)  [SOLVED]

Mon Nov 21, 2022 6:23 pm

It varies depending on the Mikrotik device architecture.

On CSS devices the ports are always part of the bridge. You can either assign two or more ports as a static link aggregation group or use LACP, either active or passive. From the help pages CSS610 use L2 hash https://help.mikrotik.com/docs/display/ ... Manual-LAG, CSS326 and CRS3xx running SwOS use L2+L3+L4 hash https://help.mikrotik.com/docs/pages/vi ... Manual-LAG

On CRS1xx/2xx devices to use hardware supported bonding use /interface ethernet switch trunk not /interface bonding. You assign two or more port members of a bridge as a static link aggregation group, note LACP is not supported. From the help page https://help.mikrotik.com/docs/pages/vi ... s-Trunking they use L2+L3 hash.

On other devices use /interface bonding, note the members of a bond interface should not themselves be added to a parent bridge only the bond interface. The switch chip can hardware offload the bonding if supported, see https://help.mikrotik.com/docs/display/ ... Offloading and https://help.mikrotik.com/docs/display/ ... es-Bonding, otherwise is handled by the CPU which may limit performance.

So using a CRS109 you should not configure TrueNAS with its default method of LACP, loadbalance would likely be best as roundrobin can lead to out-of-order packet delivery.
 
admiralmcstabby
just joined
Topic Author
Posts: 8
Joined: Wed Apr 27, 2022 9:12 pm

Re: Bonding Questions (CRS109)

Mon Nov 21, 2022 7:22 pm

It varies depending on the Mikrotik device architecture.

On CSS devices the ports are always part of the bridge. You can either assign two or more ports as a static link aggregation group or use LACP, either active or passive. From the help pages CSS610 use L2 hash https://help.mikrotik.com/docs/display/ ... Manual-LAG, CSS326 and CRS3xx running SwOS use L2+L3+L4 hash https://help.mikrotik.com/docs/pages/vi ... Manual-LAG

On CRS1xx/2xx devices to use hardware supported bonding use /interface ethernet switch trunk not /interface bonding. You assign two or more port members of a bridge as a static link aggregation group, note LACP is not supported. From the help page https://help.mikrotik.com/docs/pages/vi ... s-Trunking they use L2+L3 hash.

On other devices use /interface bonding, note the members of a bond interface should not themselves be added to a parent bridge only the bond interface. The switch chip can hardware offload the bonding if supported, see https://help.mikrotik.com/docs/display/ ... Offloading and https://help.mikrotik.com/docs/display/ ... es-Bonding, otherwise is handled by the CPU which may limit performance.

So using a CRS109 you should not configure TrueNAS with its default method of LACP, loadbalance would likely be best as roundrobin can lead to out-of-order packet delivery.
Amazing, thank you so much! It may have been I was trying to use "/interface/bonding" the whole time, causing my issues. I'll try the approach you shared and hopefully be met with better results. Thank you again!

Who is online

Users browsing this forum: No registered users and 8 guests