Tutorial: TrueNAS FreeNAS LAGG & LACP Setup

Поделиться
HTML-код
  • Опубликовано: 19 авг 2024

Комментарии • 59

  • @TrueNAS
    @TrueNAS 3 года назад +9

    As always, a great tutorial!

  • @alucard86ers
    @alucard86ers 3 года назад

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

  • @azerov
    @azerov 3 года назад

    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
    @FinderX 3 года назад +1

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

  • @williamshenk7940
    @williamshenk7940 3 года назад +2

    Good tutorial, concise and to the point.

  • @bikerchrisukk
    @bikerchrisukk 3 года назад

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

  • @stephenreaves3205
    @stephenreaves3205 3 года назад +1

    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

  • @mt_kegan512
    @mt_kegan512 3 года назад

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

  • @stephenjones7916
    @stephenjones7916 3 года назад

    Awesome thanks for all your time to do these videos

  • @JudsonBorges
    @JudsonBorges 3 года назад +1

    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!

  • @Felix-ve9hs
    @Felix-ve9hs 3 года назад

    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

  • @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.

  • @KristianKirilov
    @KristianKirilov 3 года назад +1

    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

  • @hahaha10001
    @hahaha10001 3 года назад

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

  • @mychaelhouck2404
    @mychaelhouck2404 3 года назад

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

  • @Mezoloth
    @Mezoloth 2 года назад

    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?

  • @verniesanjose8970
    @verniesanjose8970 3 года назад

    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

  • @neccros007
    @neccros007 3 года назад

    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!

  • @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?

  • @rene.duranona
    @rene.duranona 3 года назад

    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.

  • @user-md8tx2xu2z
    @user-md8tx2xu2z 3 года назад

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

  • @h4X0r99221
    @h4X0r99221 2 года назад

    As always, he has a tutorial for it!

  • @danskweir385
    @danskweir385 3 года назад

    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!

  • @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.

  • @xatoska
    @xatoska 3 года назад

    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)

  • @karthickesaki1
    @karthickesaki1 3 года назад +1

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

  • @WilliamPapa
    @WilliamPapa 3 года назад

    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.

  • @stephanc7192
    @stephanc7192 2 года назад

    Good video

  • @svenstormann
    @svenstormann 3 года назад

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

  • @hahaha10001
    @hahaha10001 3 года назад

    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.

  • @Hartley94
    @Hartley94 3 года назад

    thanks

  • @Radiofreak1041
    @Radiofreak1041 Год назад

    Is this also working for TrueNAS Scale?

  • @ximenoworks
    @ximenoworks 3 года назад

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

  • @maxvasilchenko9181
    @maxvasilchenko9181 3 года назад

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

  • @JayantBB78
    @JayantBB78 3 года назад

    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.*

  • @MrFloRolf
    @MrFloRolf 3 года назад

    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.

  • @stephenreaves3205
    @stephenreaves3205 3 года назад

    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.

  • @karthickesaki1
    @karthickesaki1 3 года назад

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

  • @eggdrunk
    @eggdrunk 3 года назад

    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 RUclips 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.

  • @barcode01000
    @barcode01000 3 года назад +1

    First