All of lore.kernel.org
 help / color / mirror / Atom feed
* arp_ip_target on mode balance-xor xmit_hash_policy layer3+4
@ 2015-04-09 14:19 Nitin Sharma
  0 siblings, 0 replies; only message in thread
From: Nitin Sharma @ 2015-04-09 14:19 UTC (permalink / raw)
  To: netdev

Posting in netdev, since bonding-devel looks like isnt active anymore.

Has anyone got arp_ip_target to work on mode=2 i.e. balance-xor
layer3+4 xmit mode?

Here is my bonding_opts

mode=2 xmit_hash_policy=layer3+4 arp_ip_target=10.0.0.62 arp_interval=30000

I see from tcpdump that arp requests to 10.0.0.62 are sent to both
links, and both arp replies are got back too. However, bond0 shows
"NO-CARRIER".

Few things specific to my environment if these affect.

1. NOARP flag is set for bond0 - should it affect? I removed that
NOARP flag, and still the same behavior.
2. the arp_ip_target is also the gateway ip address of the host. There
is a default route to 10.0.0.62 on the hosts routing table.
3. Two switches reply to the same arp_tpa 10.0.0.62 arp request with different
mac-addresses. Essentially all I want from arp_ip_target is the receipt
of an ARP reply such that the bonding keeps the link on its transmit
decision, not necessary populate the arp table on the host.

Thanks
Nitin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-09 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-09 14:19 arp_ip_target on mode balance-xor xmit_hash_policy layer3+4 Nitin Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.