Tutorial: TrueNAS FreeNAS LAGG & LACP Setup

Ғылым және технология

Connecting With Us
---------------------------------------------------
+ Hire Us For A Project: lawrencesystems.com/hire-us/
+ Tom Twitter 🐦 / tomlawrencetech
+ Our Web Site www.lawrencesystems.com/
+ Our Forums forums.lawrencesystems.com/
+ Instagram / lawrencesystems
+ Facebook / lawrencesystems
+ GitHub github.com/lawrencesystems/
+ Discord / discord
Lawrence Systems Shirts and Swag
---------------------------------------------------
►👕 teespring.com/stores/lawrence...
AFFILIATES & REFERRAL LINKS
---------------------------------------------------
Amazon Affiliate Store
🛒 www.amazon.com/shop/lawrences...
UniFi Affiliate Link
🛒 store.ui.com?a_aid=LTS
All Of Our Affiliates that help us out and can get you discounts!
🛒 lawrencesystems.com/partners-...
Gear we use on Kit
🛒 kit.co/lawrencesystems
Use OfferCode LTSERVICES to get 5% off your order at
🛒 www.techsupplydirect.com/
Digital Ocean Offer Code
🛒 m.do.co/c/85de8d181725
HostiFi UniFi Cloud Hosting Service
🛒 hostifi.net/?via=lawrencesystems
Protect you privacy with a VPN from Private Internet Access
🛒 www.privateinternetaccess.com...
Patreon
💰 / lawrencesystems
⏱️ Timestamps ⏱️
0:00 TrueNAS FreeNAS lagg and lacp intro
1:04 TrueNAS FreeNAS lagg and lacp Lab Setup
2:01 TrueNAS FreeNAS LAGG Documentation & Types
3:33 TrueNAS FreeNAS speed test before LAGG
6:36 TrueNAS FreeNAS How To Configure LAGG LACP Interfaces in the UI
8:18 UniFi LAGG LACP Configuration
10:04 TrueNAS FreeNAS LAGG LACP Speed Testing
11:42 TrueNAS FreeNAS LAGG LACP Command Line Config
14:41 TrueNAS FreeNAS LAGG LACP final thoughts and troubleshooting
www.ixsystems.com/documentati...
#TrueNAS #NAS

Пікірлер: 59

  • @mt_kegan512
    @mt_kegan5123 жыл бұрын

    Wonderful video Tom. Great balance of tutorial with education. Thank u very much!

  • @alucard86ers
    @alucard86ers3 жыл бұрын

    I have tired to do this many times now. Think i was missing something simple. These steps got me setup first go. Thank you!!

  • @williamshenk7940
    @williamshenk79403 жыл бұрын

    Good tutorial, concise and to the point.

  • @azerov
    @azerov3 жыл бұрын

    Thank you. Finally decided to switch my truenas server to LAG/LACP with my Juniper EX3300 switch. Only 2x1Gb but that is enough for my homelab currently. Works great.

  • @FinderX
    @FinderX3 жыл бұрын

    Nice, thanks. Better with examples. Hoping for more content like that.

  • @stephenjones7916
    @stephenjones79163 жыл бұрын

    Awesome thanks for all your time to do these videos

  • @TrueNAS
    @TrueNAS3 жыл бұрын

    As always, a great tutorial!

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    3 жыл бұрын

    Thank you!

  • @TrueNAS

    @TrueNAS

    3 жыл бұрын

    @@LAWRENCESYSTEMS No, thank you!

  • @bikerchrisukk
    @bikerchrisukk3 жыл бұрын

    I do get suspicious of your access to my freenas box, did my first LAG config only this morning! Great job as always Tom 👍

  • @mychaelhouck2404
    @mychaelhouck24042 жыл бұрын

    This is good stuff. If I've got a home built machine with two LAN ports can I LAGG them?

  • @danskweir385
    @danskweir3853 жыл бұрын

    Tom - great tutorial. I have followed these instructions carefully on FreeNAS 11.3 and now TrueNAS Core 12.0 Release but can't get the aggregate bandwidth. I am using iperf3 on one Windows 10 Pro system and another on Ubuntu. I can achieve a full 1Gb/s on each system individually but once I run them simultaneously to two different ports on the TrueNAS server the 1 Gb/s bandwidth is split between the two. When one ends and the other is still running it get the full transfer rate. Since you have not shown us the server side command lines to instantiate iperf3 I wonder if I am missing something. Can you please elaborate on the server side commands and review those I am using for my tests? I have the FN system console at 10.x.x.4 on ONE normal port to control thru the web gui. I have the remaining THREE eth ports set up as lagg0 at 10.x.x.5 I have the THREE ports on the UNIFI set as aggregated connected to the THREE ports on the FN system - all is well here server side commands run in an ssh shell to the same IP as the lagg0 IP: iperf3 -s -p 5201 - first instance iperf3 -s p 5202 - second instance client side commands: iperf3 -c 10.67.72.5 -p 5201 -t 30 (on the ubuntu system) iperf3 -c 10.67.72.5 -p 5202 -t 30 (on my windows system) Again, I get the full 1 GB/s on each client when run alone but each one halves when run at the same time. Any help or suggestions you have would be appreciated!

  • @neccros007
    @neccros0073 жыл бұрын

    I got a NIB Cisco Small Business managed switch.... New to managed... do you have any videos teaching about them and all the configuring? I would like to link aggregate my NAS boxes... I got the switch for $50 so couldnt pass it up!

  • @JudsonBorges
    @JudsonBorges3 жыл бұрын

    Hello! My FreeNAS has four physical networks card, and I would like setup a IP address for each one, but FreeNAS says "The network 10.10.10.0/24 is already in use by another interface." So FreeNAS do not permit multiple ip address on same subnet? Great Video!

  • @stephenreaves3205
    @stephenreaves32053 жыл бұрын

    This was the first thing I searched for after watching your Unifi/pfsense LACP video. Now if you can do a video on generic Linux LACP then you'll have upgraded my entire homelab

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    3 жыл бұрын

    Not likely I will do a video on it backdrift.org/lacp-configure-network-bonding-linux

  • @hahaha10001
    @hahaha100013 жыл бұрын

    Holy crap. I was trying to that just last night and was getting stuck between freenas and layer 3 port channel ip address.

  • @xatoska
    @xatoska3 жыл бұрын

    Hi! i want to do link agregation directly between my pc and freenas for speed up iscsi performance, and keep it separated from my LAN its it possible between a HP NC364T and HP NC331T? (all 4 ports direct would be connected, host to host)

  • @alignedfibers
    @alignedfibers Жыл бұрын

    I understand that you need a switch that supports LACP for this to work, however I have a dual 2.5Gb card in my Truenas server and on my linux box I primarily access the storage with is linux and has a few local VMs, and I would like to be able to connect both links directly between the two machines,and enable it to work a little faster if only works faster when I access with multiple different virtual machines on the same bridge then that is okay. Can you help to provide insight into this specific use case? Wouldn't it be possible to establish a VPN that is setup to split the packets, I think openvpn is capable of doing a bond like that but I cannot recall. That is what I will try though as the packets then would be handelled and split evenly over both interfaces by the vpn itself.

  • @svenstormann
    @svenstormann3 жыл бұрын

    how did you manage to launch two iperf3 server instances at once?

  • @rene.duranona
    @rene.duranona3 жыл бұрын

    I have one HP Micro server running TrueNAS core with an extra network card. But every time I try to put them in a LAGG it says that the IP subnet is already in use. Very weird as it works fine on other servers.

  • @CRK1918
    @CRK1918 Жыл бұрын

    You got two ip addresses in same subnet? I got "The network x.x.x.x/21 is already in use by another interface.", I have one PCI network card and onboard NIC. Is in the newer version TrueNAS is different or am I miss something?

  • @stephanc7192
    @stephanc71922 жыл бұрын

    Good video

  • @verniesanjose8970
    @verniesanjose89703 жыл бұрын

    sir a internet work the i need at lan at least 3gbe because of battle output because my client almost 2gb needed to provide it how setup can apply i have also 10gbe sfp

  • @hahaha10001
    @hahaha100013 жыл бұрын

    Can you do LACP on freenas and do bridge network on a windows machine to double the throughput of file transfer? as in 1 host and 1 client.

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    3 жыл бұрын

    no, it makes multiple connections faster.

  • @MrFloRolf
    @MrFloRolf3 жыл бұрын

    Hey Lawrence, not a LAGG question here but also bandwidth. I currently have my FreeNAS connected with a X540-T2 over a Netgear XS508M switch to my PCs X540-T2 (or optional Asus C100C) and when I r/w to my Raid0 SSD's I hit a 3gbit read and about 5gbit write bottleneck. I know the array is faster but in Taskmanager it just hits an imaginary line. Tried different PC's, OS's and whatnot. Do you have any idea what the problem is? Jumbo Frames are enabled on PC and NAS, no option can be found in the switch unfortunately.

  • @MrFloRolf

    @MrFloRolf

    3 жыл бұрын

    Any help is greatly appreciated! Thanks :)

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    3 жыл бұрын

    A guess might be that the backplane of the motherboard might not be able to handle the speed.

  • @Mezoloth
    @Mezoloth2 жыл бұрын

    When following this tutorial, I get an error that the IP address is already in use, no matter what IP I set my lagg0 to. Any ideas on this?

  • @KristianKirilov
    @KristianKirilov3 жыл бұрын

    I really wonder how you've got this working, I tried to do the same, but I've got network is already in use, which is true. For instance, I've set 192.168.0.12/24 to my primary interface, later on I try to create LAGG which will use interface 1 and interface 2, and when I press apply, I've got 192.168.0.0/24 is already in use. Then I tried to do the same with only second interface on the lag, same happened. So as conclusion, and because the cli script is not working for some reasons, I was unable to create LAGG at the moment..

  • @Malcicus

    @Malcicus

    3 жыл бұрын

    Do 192.168.3.X instead of two 192.168.0.X if you use /24

  • @h4X0r99221
    @h4X0r992212 жыл бұрын

    As always, he has a tutorial for it!

  • @rudypieplenbosch6752
    @rudypieplenbosch6752 Жыл бұрын

    Truenas Scale 22.12 keeps crashing when I activate lacp and load the condition. Singlular connections no problem, I use an Intel quad nic.

  • @user-md8tx2xu2z
    @user-md8tx2xu2z3 жыл бұрын

    我的FreeNAS已经有一个RJ45端口设置了192.168.1.20/24的IP地址了,再增加一个X540-T2后设置192.168.1.40/24的IP地址时系统提示我已经有了同网段的IP,这是为什么?

  • @maxvasilchenko9181
    @maxvasilchenko91813 жыл бұрын

    Hello. Will LACP work between TrueNAS and RS326-24G-2S + RM?

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    3 жыл бұрын

    Probably

  • @Radiofreak1041
    @Radiofreak1041 Жыл бұрын

    Is this also working for TrueNAS Scale?

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    Жыл бұрын

    Yes

  • @Hartley94
    @Hartley943 жыл бұрын

    thanks

  • @JayantBB78
    @JayantBB783 жыл бұрын

    I have Supermicro Motherboard (MBD-A2SDI-H-TF) TrueNAS Core Server. It has 2 X 10 GBaseT port. I was trying to configure LAG with TP Link TL-SG108E V4 switch. I was expecting 2 Gbps speed. But it is not connecting at all. Is there any compatibility issue? I am planning to buy Netgear S3300-28X (GS728TX) which has 2 X 10 GBaseT (RJ45) ports. If I configure LAG with this switch can I expect 20 Gbps speed between switch and my TrueNAS Core Server? Thank you for help.

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    3 жыл бұрын

    As I explained in the video, each stream can not exceed the connection speed of any one link.

  • @JayantBB78

    @JayantBB78

    3 жыл бұрын

    @@LAWRENCESYSTEMS Thanks for reply. Understood. But what if *I connect my TrueNAS Core server using 10GBaseT X 2 ports with LACP and LACP configuration (2 X 10GBaseT RJ45 ports) in Netgear S3300-28X (GS728TX)?* There will be other 22 windows computers (with 1Gbe NIC ) connected to this network switch (on remaining 22 Gbe connectors). *So can I expect that 20 windows machines (out of 22 total) can access TrueNAS at 1 Gbps parallelly?* Not exactly 1 Gbps but nearby? My shared storage pool has 4 SSDs (Samsung QVO 1TB 2.5 inch) in Raid-Z2 configuration. So two can fail without data loss. *Your help is highly appreciated.*

  • @stephenreaves3205
    @stephenreaves32053 жыл бұрын

    Could you make lagg0 with one eth card, then lagg1 with the other, then bond those two lags together?

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    3 жыл бұрын

    don't think so

  • @HolgerBeetz

    @HolgerBeetz

    3 жыл бұрын

    Beside that fact that creating a lag out of two lags rarely would make sense it simply isn´t supported by FreeNAS. You are only allowed to add physical NICs when you define a lag device.

  • @eggdrunk
    @eggdrunk3 жыл бұрын

    How can you make the iperf server listen on 2 separate ports?

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    3 жыл бұрын

    Run two instances

  • @eggdrunk

    @eggdrunk

    3 жыл бұрын

    @@LAWRENCESYSTEMS I tried to do that but I'm getting "iperf3: error - unable to start listener for connections: Address already in use" error for the 2nd instance. I'm unable to find any answers with Google and KZread search. I appreciate if you can please elaborate how to do this. Thanks in advance.

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    3 жыл бұрын

    Use the port option so you can select a different port to listen on.

  • @eggdrunk

    @eggdrunk

    3 жыл бұрын

    @@LAWRENCESYSTEMS Sorry I should have explained better what I already did. I tried iperf3 -s -p 5201 && iperf3 -s -p 5202 in one SSH session as well as each command on 2 separate SSH sessions. Both gave me the error in my previous message.

  • @Felix-ve9hs
    @Felix-ve9hs3 жыл бұрын

    5:55 if a street has 2 Lanes, cars can't just drive at 160 instead of 80 mph :D It just means that two cars can drive with 80 mph at the same time

  • @karthickesaki1
    @karthickesaki13 жыл бұрын

    I am using pfsense. After watching your videos..thk you

  • @LAWRENCESYSTEMS

    @LAWRENCESYSTEMS

    3 жыл бұрын

    awesome!

  • @karthickesaki1
    @karthickesaki13 жыл бұрын

    Hi pls explain about isp( internet service provider)device and setup

  • @WilliamPapa
    @WilliamPapa3 жыл бұрын

    Most TP-Link Easy Smart switches don't support LACP. You can setup LAGG through them to smart-er switches but it's not worth the effort.

  • @ximenoworks
    @ximenoworks3 жыл бұрын

    Another way for LACP config is by console. I found it is easier.

  • @MrWaste
    @MrWaste3 жыл бұрын

    First

Келесі