#1 XOR balance by dest IP addr

open
nobody
None
5
2004-09-17
2004-09-17
Anonymous
No

Is is possible to modify the XOR transmit load
balancing (mode=2) to use the destination IP address of
the packet and not the hardware address? Non-IP
traffic can be ignored since there so little of it in
my application. The sk_buff struct has space for the
IP address but it seems to be invalid when bonding sees
the packet.

My application is a UDP streaming application with many
clients. When a link fails we would like to fail only
certain (known) clients in order to not disrupt service
for the clients on the other bonded interfaces.

thanks very much
Bob Smith
bsmith at linuxtoys dot org

Discussion

  • Logged In: NO

    Doh!
    This was trivially easy. My code was correct but my hack to
    try to print out the ID of the selected slave was in error.
    Once the print was fixed everything worked as hoped.

    BTW: Thanks a lot for bonding.
    Bob