4 networks cards 1 ip

javcarbe

Dabbler
Joined
Mar 16, 2016
Messages
21
I read it is possible using lagg. I tried to setup but i got confuse, im trying to use webgui
1603426870544.png

1603426931909.png

1603426976712.png

1603427006224.png

1603427041258.png
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hi,

Know that putting 4 NICs in a LAGG will not give you 4 times the bandwidth. If that was your goal, better stop right here...

Is your switch even capable of LAGG ?
 

javcarbe

Dabbler
Joined
Mar 16, 2016
Messages
21
Hi,

Know that putting 4 NICs in a LAGG will not give you 4 times the bandwidth. If that was your goal, better stop right here...

Is your switch even capable of LAGG ?
that was my goal... if i want use one card for each process...
1.- share smb (read)
2.- share smb (write)
3.- shre NFS
4.- emby plugin
thanks
i dont know if my switch handle lagg (how can i check?)
thanks
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
if i want use one card for each process...
Not going to happen, especially splitting the SMB read and SMB write. See:

4.- emby plugin
This one could, perhaps, be made to work. Jail networking is kind of a black art though.

Why do you want to do this? Do you expect to need more than 1 Gbit/sec bandwidth?
i dont know if my switch handle lagg (how can i check?)
The manual for the switch should tell you (and if it doesn't have a proper manual, that by itself is a good sign that it doesn't--LAGG is the domain of managed switches that take more than a pamphlet to document).
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
This one could, perhaps, be made to work. Jail networking is kind of a black art though.
Yes, using an unnumbered (on the host) network link just for jails is at least supposed to work, although I have not tried, yet.
I don't have a free Ethernet port at home, so I won't any time soon.

But the art is not that black with VNET. It's just layer 2. :wink:
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
But the art is not that black with VNET.
That must be why it works in one jail and not in the next, and why its behavior changes drastically between FreeNAS point releases. It reminds me of SCSI:
SCSI is not magic. There are fundamental technical reasons why it's necessary to sacrifice a young goat to your SCSI chain from time to time.
 

javcarbe

Dabbler
Joined
Mar 16, 2016
Messages
21
the problem is only 1 nic works. the others are ON but didn't do anything. i want speed up a little bit.. sometimes I'm streaming from the nas to 3 devices and get some buffering, any ideas what can i do?
thanks
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
the others are ON but didn't do anything.
Unless I'm mistaken, that's pretty much what the link I gave you says would happen.
I'm streaming from the nas to 3 devices and get some buffering
This isn't a network bandwidth limit--even 4k RAW isn't close to a bitrate that would result in three streams saturating your network. It's hard to say where it could be--it might be CPU-bound (Emby, IIRC, is even more demanding in that regard than Plex), might be IOPS, might be something else--but it's pretty safe to say it isn't network bandwidth.

LAGG is a partial answer to your question, but you'd need a managed network switch to do it. A better answer would be to upgrade to 10G, but that would also need a new switch.
 

willy_testa

Cadet
Joined
Oct 23, 2020
Messages
1
Hi, how is everyone?
a query: what use or is it useful to have more than one network card in the nas?
In a harsh use, what benefit would it achieve?
Thank you very much in advance and sorry for my ignorance.

I send greetings.
Willy
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Hi, how is everyone?
a query: what use or is it useful to have more than one network card in the nas?
In a harsh use, what benefit would it achieve?
Thank you very much in advance and sorry for my ignorance.

I send greetings.
Willy
Separate security domains is one reason, separate traffic types is another.

One of my machines here has five physical network interfaces:

em0 and em1 are in a LAGG for providing SMB shares.
em2 and em3 are independent interfaces providing iSCSI MPIO.
ue0 is the out-of-band management interface.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
what use or is it useful to have more than one network card in the nas?

Redundancy is one reason : if a network link (the NIC, the cable, the switch facing it) goes down, you have another to stay up.

iSCSI is a protocol that is designed for multipath, so that one will group the capacity of all the links together and provide a higher performance than a single link.

Many jails are meant to be connected by users and often, the NAS itself is for servers only. In that case, you can run your jails from NIC that will be in different network zones than the NAS itself.

But at the end, all of these needs are for enterprise class architecture and solutions. As such, it does not apply to most of home made personal NAS.
 
Top