How to Set Up Link Aggregation on a Synology NAS (LACP)

  • Post author:WunderTech
  • Post published:January 20, 2022
  • Post last modified:November 15, 2024
  • Post category:Synology
  • Reading time:9 mins read
  • Post comments:2 Comments

Today we are going to look at how to set up link aggregation on a Synology NAS.

Before looking at how to set up link aggregation on a Synology NAS, we’re going to look at what link aggregation is. This will also allow you to determine if you’d prefer using SMB Multi-Channel (which, unlike link aggregation, will increase throughput speeds).

What is Link Aggregation (LACP)?

Link Aggregation (LACP) will allow you to increase the bandwidth TO and FROM your Synology NAS. In summary, this will allow more clients to send data to and from your NAS without decreased performance. To be clear, this will not double the network speed for a single client.

Link Aggregation simply opens more “channels” to and from your NAS. For example, if you have two PCs connecting to your NAS, each client will receive a maximum of 1Gbit of local network speeds as opposed to 500Mbit. There is also the added benefit of redundancy, as a single failure will automatically allow the device to fail over to the other network port, keeping your NAS up and running.

Here is a quick image using a DS920+ as an example explaining how link aggregation works:

how ling aggregation works. it's not double the bandwidth, but two separate lanes for bandwidth

A few disclaimers before we get started:

  • Please keep in mind that a switch supporting link aggregation (generally, managed switches) is required for this setup. I unfortunately cannot account for every switch, so you’ll have to determine how to set up link aggregation on the switch that you’re using before proceeding. In this example, I will be using the Unifi Controller with a managed Unifi switch.
  • You must have both network cables plugged into your NAS and the same switch.
  • If you’re interested in having increased throughput speeds, consider implementing SMB Multi-Channel instead of link aggregation.

How to Set Up Link Aggregation on a Synology NAS

Follow the steps below to configure link aggregation on a Synology NAS.

1. On your Synology NAS, open the Control Panel and select Network, then Network Interface. You should see the total number of network cables plugged in, with a local IP address next to each of them.

network interface setup

2. Select Create then select Create Bond.

creating a bond in synology dsm

3. Select Balance-TCP and then select Next.

NOTE: Once again, you must ensure that you have a switch capable of link aggregation if you’d like to use this.

how to set up link aggregation on a synology nas - setting up balance-tcp

If you don’t see the Balance-TCP option, you will see the screen below and it’s because you have Open vSwitch disabled. Select IEEE 802.3ad Dynamic Link Aggregation and proceed.

selecting the correct type of dynamic link aggregation (IEEE 802.3ad)

4. Select all physical network interfaces that you’d like to create a bond for and select Next.

selecting the LAN devices on the physical nas

5. At this point, you can decide to use DHCP or use the manual configuration. In general, I suggest creating a static DHCP lease on your router, but not all users have that option. In that case, a manual configuration is fine. When you’re finished, select Done.

Please keep in mind that if you’re unable to create the aggregation on your switch, you will be locked out of your NAS and forced to reset it.

If you’re hosting the software (like a Unifi controller) on this NAS as well, you will be unable to access that and will lock yourself out.

If you do get to that point or lock yourself out for any reason, please follow these steps to reset your NAS (using mode one).

specifying an IP address, gateway, and DNS server

You will receive a message stating that the services will be disabled on the bonded interface. Select Yes to proceed.

How to Set Up Link Aggregation on a Synology NAS (LACP)

6. At this point, you need to create the aggregation on your switch. As stated earlier, I am using the Unifi controller and I created link aggregation on ports 3 and 4 (which is where my NAS is plugged in).

configuring the switch to use link aggregation

The steps you need to take will be slightly different based on the switch you’re using, but after the aggregation is created, you will be able to access your NAS on the IP address you selected. When you log back in, you’ll see the bond interface created in the Network Interface section of the Control Panel!

creating a bond interface and how it displays

7. That’s it! Your NAS will now have all the benefits of link aggregation and automatically failover if necessary.

Conclusion & Final Thoughts on LACP

This tutorial showed how to set up link aggregation on a Synology NAS. Link aggregation is AMAZING for small businesses or users who have multiple people (or devices) accessing their NAS routinely. In cases like this, you’re going to double or quadruple (NAS devices with four network ports) the bandwidth to and from your NAS.

This will just about ensure for most that they’re always getting the maximum network speeds available to them. If you have any questions on how to set up link aggregation on a Synology NAS, feel free to leave a comment on YouTube!

Thank you for checking out the tutorial on how to set up link aggregation on a Synology NAS! If you have any questions, please leave them in the comments of the YouTube video!

WunderTech

WunderTech is a website that provides tutorials and guides on various NAS, server, networking, and infrastructure-related topics. WunderTech is maintained by Frank Joseph, an IT professional with 14+ years of experience in corporate IT and application management. He focuses on sharing his experience with others on his WunderTech website and YouTube page. Frank holds a Bachelor of Science in Computer Information Systems and a master of Business Administration (MBA).

This Post Has 2 Comments

  1. Graham Lambert

    Like the tutorial. The video is great as usual – it put me wise to the fact that not setting the switch to link aggregation can lock you out of the NAS.

    Although it is not something I want to do right now, this tutorial, like many others you present, has been bookmarked.

    However, there is one issue that might be useful to add to the tutorial. As you point out Synology’s documentation sometimes leaves you wanting. A tip I learned recently about resetting the accounts information (the 4 second reset):
    On the Synology link you have given is the basic information about a reset without the valuable information about restoring the accounts. Their example only assumes that you want to reset the account information, but your tutorial purely suggests that users may just want to reset the NAS for the sake of getting back in. They may well like to reset the account data back to what they were.
    This they can done by saving the configuration information before they start this or any risky process, by going to (DSM7) Control Panel -> Update and Restore -> Configuration Backup.

    It took me a while to find this information. It is not directly obvious from the Synology website but I got it as a tip from one of the helpful technical assistants at Synology, while I was trying to solve another issue, and i thought it important enough to mention.

    Kind regards
    Graham Lambert

    1. WunderTech

      That’s great information and I really appreciate you sharing! I will update the tutorial later in the week when I get some time. Thanks again!

Leave a Reply