1

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?

Norr
  • 115
  • 1
  • 4

2 Answers2

3

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.

Spooler
  • 7,046
  • 18
  • 29
  • So it will only show benefits with for example multiple client transfers occuring at once? – Norr Mar 27 '17 at 02:16
  • 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. – Spooler Mar 27 '17 at 02:18
  • 1
    Thank you for your help. I'm going look into purchasing a managed switch. Any real concerns with having LAG support but not LACP? – Norr Mar 27 '17 at 02:44
  • 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. – Spooler Mar 27 '17 at 02:56
  • That makes a lot more sense, again thank you so much – Norr Mar 27 '17 at 03:03
1

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.

Linuxx
  • 1,189
  • 8
  • 7