Hi there, I have both my nas and my main computer hooked up with 2 Ethernet cables so i can use the 2 together so i can get 2.0gbps, However, when i try and bond my nas, It only uses 1gbps, anyone know how to fix this?
Cant get higher speeds out of bonded connection
-
- OMV 2.x
- UWillParish
-
-
-
1) Are the upstream ports in manageable/smart switch? if you're connecting them to your home router.....then no comments.
2) You're only gonna get 2Gbits if you connect your desktop/laptop also in LACP mode with two nics or the switch has 10Gbit port and the desktop also. Best thing you can do is 2 separate computers in the same LAN downloading simultaneously at 1Gbit, also if the hdd are capable of pulling 200MB/s (ideally a raid5 or ssd)
3) This is commonly done done with identical nic cards, it should work but is preferred that the cards are same vendor/model
-
-
If I may detail a bit @subzero79 's first point NIC teaming/bonding only works if you have a smart or managed switch which supports port teaming/bonding as well. Also, the internal switching fabric of the switch must be able to sustain that volume of traffic. These two requirements pretty much exclude any SoHo router with a built-in switch.
-
1) Are the upstream ports in manageable/smart switch? if you're connecting them to your home router.....then no comments.
2) You're only gonna get 2Gbits if you connect your desktop/laptop also in LACP mode with two nics or the switch has 10Gbit port and the desktop also. Best thing you can do is 2 separate computers in the same LAN downloading simultaneously at 1Gbit, also if the hdd are capable of pulling 200MB/s (ideally a raid5 or ssd)
3) This is commonly done done with identical nic cards, it should work but is preferred that the cards are same vendor/model
1) I am using a un-managed switch, connected to my home router, but it seems to support LACP
2)I am using LACP on my desktop
3)I am using a realtek and intel in my main compter, which seem to be running fine -
@davidh2k knows how to do this.
he was on earlier, dont know if he looked at my post or not -
-
I am using a un-managed switch, connected to my home router, but it seems to support LACP
You should confirm this, check the manual. But i've seen only this on managed switches. There are some cheap managed switch around, netgear has one with 8port one for like 30 dollars used.
-
That's normal behavior. With LACP you can use only 1 physical trunk at a time with the same session.
LACP uses different load balancing methods, for example mac address, or an IP/Port combination.If your devices only support mac hash, you will never get more than 1gb from the same device, but other devices can use the second trunk.
The bonding module on omv should support other methods :
Codemodinfo bonding filename: /lib/modules/3.16.0-0.bpo.4-amd64/kernel/drivers/net/bonding/bonding.ko author: Thomas Davis, tadavis@lbl.gov and many others description: Ethernet Channel Bonding Driver, v3.7.1 version: 3.7.1
QuoteThe balancing algorithm is set with the xmit_hash_policy option.
Possible values are:
layer2
Uses XOR of hardware MAC addresses to generate the hash. This algorithm
will place all traffic to a particular network peer on the same slave.layer2+3
Uses XOR of hardware MAC addresses and IP addresses to generate the
hash. This algorithm will place all traffic to a particular network peer
on the same slave.layer3+4
This policy uses upper layer protocol information, when available, to
generate the hash. This allows for traffic to a particular network peer
to span multiple slaves, although a single connection will not span
multiple slaves.encap2+3
This policy uses the same formula as layer2+3 but it relies on
skb_flow_dissect to obtain the header fields which might result in the
use of inner headers if an encapsulation protocol is used.encap3+4
This policy uses the same formula as layer3+4 but it relies on
skb_flow_dissect to obtain the header fields which might result in the
use of inner headers if an encapsulation protocol is used.The default value is layer2. This option was added in bonding version
2.6.3. In earlier versions of bonding, this parameter does not exist,
and the layer2 policy is the only policy. The layer2+3 value was added
for bonding version 3.2.2.What is used you can see here:
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!