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.
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
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!
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..
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
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!
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?
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.
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!
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.
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)
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 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.*
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.
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.
@@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 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.
As always, a great tutorial!
Thank you!
@@LAWRENCESYSTEMS No, thank you!
I have tired to do this many times now. Think i was missing something simple. These steps got me setup first go. Thank you!!
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.
Nice, thanks. Better with examples.
Hoping for more content like that.
Good tutorial, concise and to the point.
I do get suspicious of your access to my freenas box, did my first LAG config only this morning! Great job as always Tom 👍
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
Not likely I will do a video on it backdrift.org/lacp-configure-network-bonding-linux
Wonderful video Tom. Great balance of tutorial with education. Thank u very much!
Awesome thanks for all your time to do these videos
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!
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
Truenas Scale 22.12 keeps crashing when I activate lacp and load the condition. Singlular connections no problem, I use an Intel quad nic.
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..
Do 192.168.3.X instead of two 192.168.0.X if you use /24
Holy crap. I was trying to that just last night and was getting stuck between freenas and layer 3 port channel ip address.
This is good stuff. If I've got a home built machine with two LAN ports can I LAGG them?
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?
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
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!
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?
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.
我的FreeNAS已经有一个RJ45端口设置了192.168.1.20/24的IP地址了,再增加一个X540-T2后设置192.168.1.40/24的IP地址时系统提示我已经有了同网段的IP,这是为什么?
As always, he has a tutorial for it!
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!
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.
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)
I am using pfsense. After watching your videos..thk you
awesome!
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.
Good video
how did you manage to launch two iperf3 server instances at once?
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.
no, it makes multiple connections faster.
thanks
Is this also working for TrueNAS Scale?
Yes
Another way for LACP config is by console. I found it is easier.
Hello. Will LACP work between TrueNAS and
RS326-24G-2S + RM?
Probably
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.
As I explained in the video, each stream can not exceed the connection speed of any one link.
@@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.*
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.
Any help is greatly appreciated! Thanks :)
A guess might be that the backplane of the motherboard might not be able to handle the speed.
Could you make lagg0 with one eth card, then lagg1 with the other, then bond those two lags together?
don't think so
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.
Hi pls explain about isp( internet service provider)device and setup
How can you make the iperf server listen on 2 separate ports?
Run two instances
@@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.
Use the port option so you can select a different port to listen on.
@@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.
First