[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xmit_hash_policy (bonding) not working



Found the issue, the correct option for the bond iface definition is:

        bond_xmit_hash_policy layer3+4



From: ML mail <mlnospam@yahoo.com>
To: "debian-user@lists.debian.org" <debian-user@lists.debian.org>
Sent: Thursday, July 11, 2013 10:54 AM
Subject: xmit_hash_policy (bonding) not working

Hi,

I am running Debian 7 with two NICs bonded using 802.3ad and would like to change the xmit_hash_policy from the default layer2 to layer3+4. For this purpose I have added to my bond0 iface definition in /etc/network/interfaces the following parameter:

        xmit_hash_policy layer3+4

Unfortunately it looks like it has no effect because /proc/net/bonding/bond0 still shows:

Transmit Hash Policy: layer2 (0)

Also manually trying to set this option fails:

# echo 1 >/sys/class/net/bond0/bonding/xmit_hash_policy
bash: echo: write error: Operation not permitted

Does anyone have any idea?

Regards,
M.L.




Reply to: