From owner-freebsd-bugs Thu Feb 20 9:30:13 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A8D437B401 for ; Thu, 20 Feb 2003 09:30:11 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F321D43FBD for ; Thu, 20 Feb 2003 09:30:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1KHU7NS062539 for ; Thu, 20 Feb 2003 09:30:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1KHU7MG062538; Thu, 20 Feb 2003 09:30:07 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED0B537B401 for ; Thu, 20 Feb 2003 09:23:28 -0800 (PST) Received: from freebsd.org.ru (www.freebsd.org.ru [194.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76C4F43FE9 for ; Thu, 20 Feb 2003 09:23:24 -0800 (PST) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id 3786C19E; Thu, 20 Feb 2003 20:23:22 +0300 (MSK) Message-Id: <20030220172322.3786C19E@freebsd.org.ru> Date: Thu, 20 Feb 2003 20:23:22 +0300 (MSK) From: "Sergey A.Osokin" Reply-To: "Sergey A.Osokin" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/48489: [PATCH] update information arp(4): describe one more diagnosis Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48489 >Category: bin >Synopsis: [PATCH] update information arp(4): describe one more diagnosis >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 20 09:30:07 PST 2003 >Closed-Date: >Last-Modified: >Originator: Sergey A. Osokin >Release: FreeBSD 4.7-STABLE i386 >Organization: n/a >Environment: System: FreeBSD 4.7-STABLE i386 >Description: A update information arp(4) Describe one more diagnosis in DIAGNOSTICS section. >How-To-Repeat: >Fix: Index: src/usr.sbin/arp/arp.4 =================================================================== RCS file: /home/ncvs/src/usr.sbin/arp/arp.4,v retrieving revision 1.10 diff -u -r1.10 arp.4 --- src/usr.sbin/arp/arp.4 26 Dec 2002 19:56:29 -0000 1.10 +++ src/usr.sbin/arp/arp.4 20 Feb 2003 15:54:35 -0000 @@ -124,12 +124,23 @@ required, but ARP was unable to allocate a routing table entry in which to store the host's MAC address. This usually points to a misconfigured routing table. It can also occur if the kernel cannot allocate memory. +.Pp +.Em "arp: %d.%d.%d.%d is on XX1 but got reply from %x:%x:%x:%x:%x:%x on XX0" : +There are three solutions for this problem: ignore the error, +rewire or set the kernel state. The first solution is really isn't a +good one for the any reason. The second solution means: connect NIC +XX0 with subnet A to a switch with only subnet A attached to it and +the other NIC XX1 with subnet B to a switch with only subnet B attached +to it your problem will be solved. The last solution is change +net.link.ether.inet.log_arp_wrong_iface parameter from 1 to 0 via +sysctl interface. .Sh SEE ALSO .Xr inet 4 , .Xr route 4 , .Xr arp 8 , .Xr ifconfig 8 , -.Xr route 8 +.Xr route 8 , +.Xr sysctl 8 .Rs .%A Plummer, D. .%B "An Ethernet Address Resolution Protocol" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message