How to set 802.3ad 'xmit_hash_policy' (Transmit Hash Policy)?


Recommended Posts

  • 3 years later...
On 5/12/2017 at 12:59 AM, klamath said:

you may need to ifdown and ifup the interface after that echo.

 

#setup bonding for layer2+3
#ifconfig bond0 down;echo 'layer2+3' >/sys/class/net/bond0/bonding/xmit_hash_policy;ifconfig bond0 up

this is only executed at the boot time of unraid, right?

Do i have to add #ifconfig? or starting with "bond0 down...." is enough?

Edited by L0rdRaiden
Link to comment
On 7/22/2020 at 2:26 AM, L0rdRaiden said:

@klamath @ken-ji

 

Should it look like this?

Thanks in advance

imagen.png.da4999856f52e62da7d9e17c2d6ae321.png

Unless you absolutely know what you are doing, emhttp is usually last as that will start the array and other related services.

you are in effect quickly restarting the network as containers and vms powerup (though in practice, the array is still mounting at this point)

 

  • Thanks 1
Link to comment
On 7/20/2020 at 7:10 PM, L0rdRaiden said:

Usually if you do a bond you will want to change the xmit_hash_policy

802.3ad LACP only supports layer2 (MAC) hashing.

The other modes for hashing on layer 3 and layer 4 are not official part of the IEEE standard. Use with caution.

Remember that you manipulate only one side of the bond and this may lead to asymmetric traffic.

 

Link to comment
21 hours ago, bonienl said:

802.3ad LACP only supports layer2 (MAC) hashing.

The other modes for hashing on layer 3 and layer 4 are not official part of the IEEE standard. Use with caution.

Remember that you manipulate only one side of the bond and this may lead to asymmetric traffic.

 

I understand that at least my switch has to be layer3+4 compatible, right?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.