Does FreeNAS link aggregation work with an unmanaged switch?

9,170

Solution 1

Save for a few very specific exceptions, a switch that supports LACP will have a management interface (at the very least a mostly garbage command line). You need to be able to define what ports are bonded, create static bonds instead of negotiating ones, as well as a slew of other settings.

If you're not saturating your link, LACP can provide failover capabilities so it's still worth it if you want to keep whatever's connected to it up more of the time. Keep in mind that LACP doesn't increase the performance of single node-to-node connections; an example being an iSCSI LUN from iSCSI target to a client initiator. This is the same for CIFS and NFS traffic.

So if you're looking to increase the speed of your backups on a single node, this solution won't help you. It will make your connection more fault tolerant. It WILL balance traffic from multiple clients to a server.

Solution 2

Any solution that insists you can bond interfaces without needing bonding / LACP support on the switch is usually garbage, and is sacrificing something to accommodate the multiple interfaces. Managed switches that support LACP can be purchased used fairly cheap.

Share:
9,170

Related videos on Youtube

Norr
Author by

Norr

Updated on September 18, 2022

Comments

  • Norr
    Norr almost 2 years

    We currently are running a FreeNAS server in our repair shop, we are hoping to upgrade the NIC to a 4-Port Gigabit card. The idea would be to bond/link together the 4 ports for higher throughput and load balancing to and from clients.

    We currently only have an unmanaged Netgear GS116 switch for our LAN, and from what I can tell on Netgear's support website there is no way to configure link aggregation.

    FreeNAS has the configuration to bond/link multiple NICs, however even if I do this will it work on the non-configured switch?

    • ewwhite
      ewwhite over 7 years
      Use a managed switch (please).
    • EEAA
      EEAA over 7 years
      To put a finer point on @ewwhite's comment, link aggregation requires cooperation from both sides, so you'll need a managed switch to do this.
    • ewwhite
      ewwhite over 7 years
      And "higher throughput and load balancing" to what? Client computers?
    • Norr
      Norr over 7 years
      Client computers, yes. A lot of data backups from various different clients
    • joeqwerty
      joeqwerty over 7 years
      So I'll ask the obvious question: Are the links currently being saturated?
    • Norr
      Norr over 7 years
      In the current setup it varies device to device, not all devices fill the 1000 connection
  • Norr
    Norr over 7 years
    So it will only show benefits with for example multiple client transfers occuring at once?
  • Spooler
    Spooler over 7 years
    Yeah. So bonding on the NAS itself is pretty reasonable to do. Not usually the case for most clients unless they provide their own servers for other things.
  • Norr
    Norr over 7 years
    Thank you for your help. I'm going look into purchasing a managed switch. Any real concerns with having LAG support but not LACP?
  • Spooler
    Spooler over 7 years
    LACP is an auto-negotiating protocol, capable of defining a LAG on the switch side if one has been defined on the server side. In this, you don't have to set up your bonds statically on the switch beyond allowing those ports to automatically form bond interfaces. This way, you can just specify a bond on the server when setting up your networking there, and as long as both sides support LACP (the server already does), then you'll have yourself an auto-negotiated bond. Also, things other than LAG / LACP are usually garbage at balancing traffic.
  • Norr
    Norr over 7 years
    That makes a lot more sense, again thank you so much