Hello
My tr4 based pc has a 10 gig nic. And my ITX freenas nas has two intel i219s.
And I recently remembered that asus makes this switch: https://www.asus.com/Networking/XG-U2008/ which has 2 10 gig ports and a number of 1 gig ports.
Since I can’t install a 10 gig nic in my nas, I would like to bond the two intel i219s, so I can get around 2 gigabit speeds to my pc which has a 10 gig nic.
But do I need a managed switch to get the bond to work? Because the Asus switch is unmanaged. It would be a nice almost free upgrade, since I need a bigger switch than the 5 port I have now
I have an x58 server with two gig eth jacks that are bonded under linux and although i have pfsense on my router i did NOTHING to aggregate them in the router software, however I DID give them static IP’s in the router and then in the server under netplan (ubuntu 18.04 LTS and yes, i LOVE netplan now) I bonded them and simply cloned the mac address of one of them to act as the outgoing mac address of the bond. This way i get the same address every time yet if either of the nics fail then it will default to the other with 1 gig speeds. Works great so far. As for windows, etc., I couldnt say, never tried it. If using linux though my suggestion is to just do it and see, but save your old config files just in case you break the networking and need to easily fix it.
LACP will not work without a managed switch, but failover will. Even with LACP, you aren’t going to see 2Gb speeds on a single transfer. The bond basically load balances across the 2 connections, it doesn’t combine their throughput.
However, SMB multichannel on Windows can increase throughput over multiple gigabit connections without bonding the interfaces (or a managed switch), but I believe the support in Samba is still experimental.
Here’s some more info on setting this up on FreeNAS:
Depends how you bond them, but any sort of layer 2 bonding (e.g., LACP, PaGP, etc.) WILL need the switch to have the ports configured into a port channel on the switch.
A non managed dumb switch can’t/won’t do that.
As above, load balancing via IP will work, but that isn’t really bonding.
Also - be aware that port channels, bonding, etc. may not accelerate single transfers (unless they are load balancing aware and can set up multiple streams) as the individual session will be bound to a particular NIC.
i.e., Even if you DO have a successful nic bonding via PaGP or LACP - unless you’re using something like SMB3 as per above which is multi-stream aware, you can’t/won’t accelerate something like say, NFS or SCP or FTP or whatever.
You’d be able to do 2x 1Gb streams, but not a single 2 Gb stream.
Linux has a balance-rr mode. Basically allows you to actually have single tcp stream to use combined bandwidth of two nics for the same stream. However, there are downsides to this. I am not even sure FreeBSD supports it tbh.
That would rely on both the server and the client supporting it and all network devices in between, so it would be of very limited usefulness…
Not to shit on the idea, but unless you’re doing linux-linux back to back (without a switch in between unless i am mistaken on how this linux tech works) i don’t think it will help much.
Doesn’t it just send(and receive) packets in a round-robin fashion pretending it all came from the same nic? From the guides I’ve seen they all advise to use switches that can do static trunking.
Basically, but it really only works point to point. You can make it work with a switch by doing complicated things with VLANs to simulate a point to point connection, but it can’t be used to connect to a 10gbps computer.
If you’re going through a switch, the switch will forward ethernet frames based on MAC address, and the MAC can only exist on one port at a time unless you set up a port channel.
I am still not sure why it can’t work with 10gigabit. Its sending packet 1 via first nic and then packet 2 via second nic. It all goes through a switch that decides where to send each packet. So won’t it just send all packets to that 10 gigabit port? the only problem is that packet 1 might be arriving after packet 2.
Assuming the switch will know what to do with it, it may be possible to send traffic at a higher rate than 1gbps, however what’s more likely is that it will be slower because of traffic collisions and packets arriving out of order (thus being dropped).