*New 11.4 series Release:
2020-12-29: XigmaNAS 11.4.0.4.7881 - released!

*New 12.1 series Release:
2020-12-31: XigmaNAS 12.1.0.4.7894 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

The old Forum : https://www.xigmanas.com/oldforums/

[How To] Link Aggregation / Bonding.

Only Admin's or Moderators can move thread's to this sub-forum.
Nobody should start a new thread on this sub-forum.
Anybody can reply to a thread on this sub-forum.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
Lindsay
Moderator
Moderator
Posts: 2
Joined: Dec 12th, '20, 12:03
Location: Steinkjer,Norway
Status: Offline

[How To] Link Aggregation / Bonding.

#1

Post by Lindsay »

Copied from old forum by russellspearing » Fri Jan 23, 2009 11:29 pm

This is my procedure to setup network interface aggregation. This was achieved after quite a bit of googling and trial and error. Also, it is important to NOT reboot FreeNAS until the end of the procedure. If you reboot at any time before the end you will lose the network connection and be unable to connect with the WebGUI and you will have to use the console to reassign the interfaces. However, by following this procedure without rebooting (until the end) the WebGUI will stay connected throughout and no console access will be necessary.

Always start by saving the FreeNAS config just in case. Also, for the LACP protocol to work the network switch/hub needs to support LACP. If the switch/hub doesn't support LACP then one of the other options in step 3 (aggregation Protocol) may work better (eg, Roundrobin or Loadbalance).

Anyway, here's how to set it up:-

Add the second network card to the FreeNAS box and then bootup FreeNAS.
In the WebGUI, goto Network --> Interface Management and click the "+" button to add the new interface. This should leave you with two entries in the Management tab (LAN & OPT1). When done click the Save button but DO NOT REBOOT.
In Network --> Interface Management click the LAGG tab. Click the "+" button to add an interface. Interface should already be called "lagg0". In Aggregation Protocol select LACP Link Aggregation Control Protocol. In Ports select both interfaces. In Description just enter any name to identify the new aggregated adapter. Then click the ADD button.
Go back to the Management tab and the "+" button should now be visible because there is now a new adapter ready to be added. Click the "+" button to add the LAGG interface. This should add an interface to the list labelled OPT2 with the network port column as lagg0 followed by the name you gave it in brackets.
Now, still in the Management tab, using the drop downs rearrange the interface order so that the LAN interface is now the lagg0 and the two original interfaces are OPT1 and OPT2. Now click SAVE.
Double check that the interfaces are listed as LAN = lagg0, OPT1 = (first physical adapter) and OPT2 = (second physical adapter).
Click Network --> LAN and check that the IP address etc is correct for your network.
Reboot FreeNAS. Once rebooted check connection with the WebGUI.

If, for any reason this doesn't work and you loose the network connection then you will need to use the console to re-assign the LAN interface to one of the physical adapters and set the IP address. This will re-establish the network connection to allow the WebGUI to connect again.


I hope this is helpful.

Russell

Note: This will not work unless you have an managed switch who could handle LACP like shown on an UniFi Switch as an example.
Attachments
LACP.PNG
LACP Interfaces.PNG
LACP Switch (UniFi).PNG
Protected by smoothiebox Red,Green,
Purple,Orange Zones/VLAN`s
Powered by AMD A10-6700T


XigmaNAS Box-1 11.2.0.4 - Omnius (revision 6625)
Platform : x64-embedded on 2X Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
Motherboard: ASUS Z10PA-D8, 2xSocket-2011-3
SATA Controllers : 1X Avago Technologies (LSI) SAS2008 and 1x Avago Technologies (LSI) SAS2308
Pool 1 (Media-Pool) 8X4TB in raidz2
Pool 2 (Media-Pool-2) 4X2TB in raidz2 and 2X2TB in mirror mirror and 2X3TB in mirror
Pool 3 (Media-Pool-3) 2X2TB in mirror and 2X4TB in mirror and 2X1TB in mirror
Post Reply