[CentOS] How does Linux choose ARP request source IP?

Sat Mar 21 12:37:14 UTC 2015
Sven Kieske <svenkieske at gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20.03.2015 14:38, Chris Adams wrote:
> I'm looking into some network "weirdness", and I noticed that a
> CentOS 6 system with multiple IP addresses (load balancer running
> keepalived) is sending ARP requests from apparently random source
> IPs.  I would have thought that ARP requests would always come from
> the interface's "primary" IP (especially since keepalived adds all
> the virtual IPs with a /32 mask).
> 
> This is probably not related to my problem, but I just thought it
> was odd.  Is there a way to control this?

You may be running into the "arp flux" problem:

http://blog.cj2s.de/archives/29-Preventing-ARP-flux-on-Linux.html

HTH

Sven
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAEBAgAGBQJVDWX6AAoJEAq0kGAWDrqlkxoL/2Lz1magdKlwWsLGD9CIzmio
Z2eeUPHk7Ya/g8AU/LD6b37zF8tSXqj63cp4oh8Tp+KBNlpTzRm2664syAPpUi/K
LsbXPgRWwBeN9LPlxKFAimnkFabIuTe7LJArcL5Mg1D08hepfGRY6gpbTmcI5BmC
Tfq5bg5tBGQ8P0dFn0G8fOetdNITVR6iO1Imrw0vsiE9ENzUo1rjHDrf6EVgxfwe
76v+Au2+UbYtKNmV8zBWSfm7fcDYJd7QIcPSie0VNUOKX0Hc72BpmjkQuk0yrJMW
D5V7AZVtKlwvGXci/Iwmfsej7kwqSTAnI1Jb1A6FM5cb1OcLVW+VJvG+cFJk1Myg
DBNstgceobR+xV2oTzdNlttl7QMh8gQtHxP5Z+159YdClXEqIo5/JtoGH6odRn6u
z1CzJZqfWOb0Hgy7seOCQ6iwAkqBH6zVgpy+mft5Z/TfDtX5KSCX6XazsYDGdQpq
PvWoW4Ie0YM9IvMc7D7oLDAQxV/CylDmy/coZf+o0g==
=fd9y
-----END PGP SIGNATURE-----