Date: Thu, 23 Aug 2012 12:28:28 +1000 From: Peter Jeremy <peter@rulingia.com> To: freebsd-net@freebsd.org Subject: Re: Incorrect ARP table entries Message-ID: <20120823022828.GA32766@server.rulingia.com> In-Reply-To: <20120822040201.GA96087@server.rulingia.com> References: <20120822040201.GA96087@server.rulingia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-Aug-22 14:02:01 +1000, Peter Jeremy <peter@server.rulingia.com> wro= te: >I've run into a problem where the ARP table on several of my hosts is >apparently spontaneously replacing correct entries with incorrect MAC >addresses. I've done some digging with tcpdump and can't identify the >cause. I've tried to look in the code but lost my way since ARP and >IP routing seem to be closely intermingled. I'm hoping someone might >be able to shed some light on why it is behaving the way it is. I've done some more detailed trawling through tcpdump captures and found that this is another entry in the "never buy HP" collection. It turns out the iLO is sending ARP requests with the correct link- layer source MAC address in the Ethernet frame but the "sender hardware address" in the ARP request is wrong - and (as required by RFC826) FreeBSD is using the latter MAC address to update its ARP table. Note that this iLO has a physically separate NIC and doesn't have provision for shared NIC so there's no excuse for it's behaviour. RFC826 is fairly clear that FreeBSD is behaving correctly in using the "sender hardware address" in the ARP request (though it doesn't specifically address the case where that is different to the link-layer source address). My work-around is to use arp(8) to permanently wire the correct MAC address into the local ARP table. --=20 Peter Jeremy --AqsLC8rIMeq19msA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlA1lUwACgkQ/opHv/APuIfYWQCeKOC5PMELctc2eOYiGTPdLqdY qgwAoKmQeoRZTdZ8O1vKepo2Zo9KrfMD =gxFG -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120823022828.GA32766>