Link Aggregation on Synology NAS - My Mistake
HTML-код
- Опубликовано: 11 сен 2024
- A chat and some thoughts on setting up link aggregation on the Synology DS220+ and the mistake I made trying to do this with an unmanaged switch. I also demo it working now that it finally is!
geni.us/t2500g - This is the managed switch I now use.
geni.us/ds220nas - This is the NAS enclosure I use.
geni.us/ironwo... - These are the drives I use.
It's important to note here that I know very little about computer networking. I play around with this type of stuff through interest and necessity. No one else is going to do it in our home even though everyone still expects a solid 24/7 high-speed network with wireless coverage throughout the whole house. Woe is me!
I hope you enjoy this informal video and if you do have any questions, put them in the comments and will answer them if I can.
#synology #linkaggregation #networking
I now use this managed switch - geni.us/t2500g
Hello there....I'm a home user and i'm planning to buy a Synology NAS, So in these few days I have been looking what Link Aggregation is. And I have a doubt regarding that.
I have a modem which has 4 LAN ports supporting 1 Gigabit connection each and 3 ports are filled up and my 4th is free for the Synology NAS. So as one port is free I will be able to Link Aggregate(2ports) the NAS. So what if I purchased a "managed switch" (supporting 1Gigabit for each 4 ports) and link aggregate the NAS to the switch .
And I connect the the switch to the modem. Will I get bandwidth of 2Gigabit on the modem or 1Gigabit itself.
@@noelk6990 You could link aggregate on the managed switch but all your ports will still only be 1Gig. So what's the point, I hear you ask? If it's only you using the NAS, there isn't much point. The benefits are when you have multiple users hitting the NAS at one time. In my very basic household use, imagine I want to grab a file from the NAS. This can be downloaded to my laptop at 1gbps. If my son starts watching a 4K movie, the traffic will move to the other port and he can happily stream the movie without impacting my download speeds. Remember that switches are 1gbps, both ways on all ports (usually) so they can really shift some traffic!
I have a 2.5Gbit port in my PC, 2.5Gbit lite managed switch and a 2x1GBit ports on Synology, both connected to my switch with separate IP addresses. For now I just use SMB3 multichannel. I made sure to connect to my Synology using IP and not a host name to avoid confusing Windows on what IP to use (since it sees both). When transferring files SMB on Windows opens 2 channels, 1 for every IP on Synology and I get 2Gbit of total speed (220MB-230MB) over my 2.5Gbit PC to switch connection. I found this to be the best implementation for fast file transfers when not having fully managed switch.
I have been baffled for around a week and I think you have answered it! Suddenly devices stopped working on my network like yours. Sometimes WI-FI sometimes ethernet. I then noticed that my router was dishing out random IP address 169.124 addresses. Took me ages to figure out what was going wrong. After your video I took a look at my switch lights and NAS lights and they were all flashing together! Now going to get a managed switch! It worked issue free for months then suddenly started going wrong and randomly wrong
RUclips closed captions algorithm turned NASes into ‘Nazis’ and it’s pretty funny (at 00:13”)
good video, too
Great video! And I would say a great point to Synology since they should not let you bind interfaces together if the end switch does not support LACP. But, you should never really "split" a port channel, which is what this is. When you do split a port channel then the BPDU packets have the potential of creating what you stated. But it can also be called a "Spanning-Tree Loop"....And I have seen this in big Data Centers where something similar was configured. All lights flash, which is a bad sign..lol. If you allow the forwarding packets to come back on a different port than what they are sent out on, your switch will go to 100% CPU, along with connected devices if there are dual connections. Again, Synology shouldn't allow you to create it unless you are connected to a managed switch which can combine ports. And if not, you should never really enable link aggregation. Great find though, and thoroughly enjoyed the video. Good info!
Thank you for your sharing!
My 8-port switch is unmanaged. My router does not support LACP. I have both Synology ethernet ports running to the router and bonded using the Adaptive Load Balancing. It honestly seems to be working great. Prior to bonding, I would get infrequent interruptions when streaming to an Xbox or Shield over wireless and me watching TV on a PC using an HDHomeRun tuner on ethernet via Plex. Once I bonded the two ports going to the router I no longer have the streaming interruptions. Also, I can see my two ports are not flashing identically as you have seen in your case. I'll be keeping an eye out for issues, but it seems to be working for me.
So what if I just had 3 pcs one main hard wired, 2 on wifi, and just a ds418... Should I add 2nd ethernet to ds and router and link aggregate or should I add second ethernet to ds and main pc to get faster uploading of files to ds?
@@SirDadbod So if I understood, you were hoping for faster uploading from a single PC to the Synology. If you bond or aggregate a Synology with 2 ethernet ports, it can interface with 2 separate devices at maximum network capability. But it cannot interface at twice the speed to a single device. That's just the way it works.
@@MO-ss7qt thanks
Ummm Interesting, Do you know if there's a correct way to do this with an unmanaged switch or do I need to get a Managed switch ?
Thanks for sharing. Useful.
First time i heard of some one DDosing themselves lol
I know! Stupid.
You need to ensure both the switch (managed or unmanaged) and synolgoy are setup properly with link aggregation (802.3ad), otherwise yes lot of errors. By the way, this does not increase network speed - it only provides good load balancing to handle heavy traffic on your network interfaces such as streaming and uploading files all at the same time. Lot of you thinking it's going to increase bandwidth lol.
No, it won't increase the speed of an individual link but one could argue that the end result is a speed increase.
Good video Torsten. Thanks.
TP-Link TL-SG105, can I use it for link aggregation?
Use the TL SG105E, have 1 LAG, your switch type is unmanaged
my ethernet switch has a Physical switch for standred or link Aggregation mode for the two Dedicated ports.
I could be wrong but if your switch is only capable of 1gbit per lane, how you want to take advantage of link aggregation which is 2x 1gbit? Doesn’t make sense to me
You can’t from one device but it’s a help when multiple devices hit the NAS. So if someone else is streaming a 4K movie using up 80mbps of bandwidth, I can still download a file at a full 1gbps. 👍🏻
SMB3 Multichannel FTW - no LACP, just cabled 2x 1Gbe ports direct to my router and enjoying 200MB/s over wifi.
Watch out for the Netgear cheap managed switches. The GS308T for example supports link aggregation, but the GS308E does not. I have a GS308T as my core switch, with my NAS connected to it using LACP mode and it works. I have never used the mode which is supposed to work without configuration on the switch, so I cannot comment on that.
I tried this with my unmanaged switch and it slowed my 1 gig internet speed down to 90 meg! I then removed the bonding of the two NIC ports on my Synology 418play, rebooted my router and my gigabyte speed was back on my internet. Not sure if this is worth buying another switch - given this Synology NAS is only for my home network.
Can anyone explain if link bonding can be used alongside synology directory server?
Plural of NAS is Nasus
🙏🙏🙏🙏🙏👍👍👍👍👍👍👍
Ni is the plural form of NASES....lol
Synology is "cave man age" hardware with their very low speed connections.
Totally obsolete. use a different brand.
Interesting. I find it works perfectly on Windows. MacOS has a few issues but it's usually OK. If it's obsolete, please explain why and what brand would you recommend?
I have a Synology nas with two ports, a unify switch that supports LGA and an intel dual port network adapter(s) so i was hoping for not only a 2 Gbps link to my nas, but also a bit over 200MByte/sec throughput, but no, that is not how link aggregation works? And i ended that sentense with a question mark because i dit really expect that, that's wy i bought the switch..😢 any experience on this?
@@BenEvers1972
If I understand things correctly, the Link Aggregation thing is making it possible serve 2 clients 1000mbps from one NAS (assuming it's a 2 port LAG setup with 1Gbps per port). Since each link can't go over the 1 Gbps limit.
Maybe if the switch/router allows, you could mayhaps use two ports on your computer as well for paralell speeds reaching closer to 2Gbps between end points. Or if need be, you could probably skip the middleman and do two cables straight from NAS server to desktop client. Or set your computer on a single 10 Gbps port on your switch if you have one, and do two cables to the NAS. Using the switch/router as a splitter/combiner. But now I am just guessing. :)
@@BenEvers1972 Use SMB3 Multichannel, available since DSM 7.2 I believe. Getting over 200MB/s file transfers since doing this.