Creating an LACP LAG on a Ubiquiti UniFi switch for Synology NAS

Currently, I am moving my in-house lab to my garage. I installed a cabinet in the garage, bought a new Ubiquiti 24 ports switch which functions as a layer 2 switch inside of the cabinet.

My Synology is now connected to a LAG interface on my 16 Ports Layer 3 switch. Since I’m planning to move all of my hardware to my cabinet in the garage I also need to move the Synology, connect it to the UniFi switch and create a LAG again.

Initially, the Synology Bond need to be prepared for LACP (IEE 802.3ad). This can be done via Control Panel – Network – Network Interface – Bonded Interface (if already created, otherwise you need to create one). Select IEEE 802.3ad Dynamic Link Aggregation for the Bond interface and apply the configuration.

lacp_syn

Because the switch is not prepared yet, the Synology will provide an error message which states that the LACP LAG cannot be created. No worries, this will be fixed automagically after the UniFi switch has been properly configured.

The next step is enabling the 2 switch ports where the Synology is connected for LACP. Login to the Unifi SDN controller, go to your device (switch) and open the ‘port configuration’ for the switch.

  • Choose Aggregate as the operation mode
  • Define the ports that need to be aggregated (only need to be set on the first port)
  • Apply the config

lacp_ubi

With these settings, the UniFi switch has been enabled for LACP for the defined ports. And the LACP enabled Synology bond will recognize that and apply it for the Synology as well.

If you have any questions or remarks, please let me know!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s