From owner-freebsd-net@FreeBSD.ORG Mon Apr 22 19:39:13 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 20DCB193 for ; Mon, 22 Apr 2013 19:39:13 +0000 (UTC) (envelope-from ddesimone@verio.net) Received: from relay1-bcrtfl2.verio.net (relay1-bcrtfl2.verio.net [131.103.218.142]) by mx1.freebsd.org (Postfix) with ESMTP id D609F108B for ; Mon, 22 Apr 2013 19:39:12 +0000 (UTC) Received: from iad-wprd-xchw01.corp.verio.net (iad-wprd-xchw01.corp.verio.net [198.87.7.164]) by relay1-bcrtfl2.verio.net (Postfix) with ESMTP id 81428B0384A5; Mon, 22 Apr 2013 15:21:30 -0400 (EDT) Thread-Index: Ac4/jpfPy16LNZnXTryrFSlXHnUfag== Received: from hometx-733b1p1.corp.verio.net ([10.144.2.53]) by iad-wprd-xchw01.corp.verio.net over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 22 Apr 2013 15:21:29 -0400 Received: by hometx-733b1p1.corp.verio.net (sSMTP sendmail emulation); Mon, 22 Apr 2013 14:21:28 -0500 Date: Mon, 22 Apr 2013 14:21:28 -0500 Content-Transfer-Encoding: 7bit From: "David DeSimone" To: "Juan Mojica" Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4913 Importance: normal Priority: normal Subject: Re: ARP: Error Message in if_ether.c "arprequest: cannot find matching address" Message-ID: <20130422192127.GJ1620@verio.net> Mail-Followup-To: Juan Mojica , FreeBSD Net References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Disposition: inline In-Reply-To: Precedence: bulk User-Agent: Mutt/1.5.20 (2009-12-10) X-OriginalArrivalTime: 22 Apr 2013 19:21:29.0459 (UTC) FILETIME=[972DCC30:01CE3F8E] Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Apr 2013 19:39:13 -0000 Juan Mojica wrote: > > We manage to hit the following message with some regularity. > > arprequest: cannot find matching address > > The code shows a printf: > > printf("%s: cannot find matching address\n", __func__); > > > Any reason this is a printf and not a > > log(LOG_ERR, > > The only things I can come up with are: > > a) it is a really severe and should be printed out, which if that is the > case why isn't there an assert there? > b) whoops, that should probably be a log(LOG_ERR, > > On our end we need to figure out exactly why we're intermittently hitting > this patch of code. We see this regularly on our network, because we have multiple overlaid subnets on the same VLAN. The server sees an ARP request come in, but it does not match any of its confgired subnets, so it generates this error when trying to formulate an ARP reply. For example, the server might be configured to use 192.168.1.10/24 on an interface, but if it receives an ARP request for 172.31.250.249 on that interface, it won't know how to reply, and will generate this error. You might see this error if someone is inserting hosts with wrong IP's on your network, and they start trying to ARP for one another. -- David DeSimone == Network Admin == fox@verio.net "I don't like spinach, and I'm glad I don't, because if I liked it I'd eat it, and I just hate it." -- Clarence Darrow This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio Inc. makes no warranty that this email is error or virus free. Thank you.