From osa@freebsd.org.ru  Thu Feb 20 09:23:28 2003
Return-Path: <osa@freebsd.org.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ED0B537B401
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <osa@FreeBSD.org.ru>
Reply-To: Sergey A.Osokin <osa@FreeBSD.org.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] update information arp(4): describe one more diagnosis
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48489
>Category:       bin
>Synopsis:       [PATCH] update information arp(4): describe one more diagnosis
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bms
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 20 09:30:07 PST 2003
>Closed-Date:    Thu Oct 02 18:16:19 PDT 2003
>Last-Modified:  Thu Oct 02 18:16:19 PDT 2003
>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:
Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Thu Feb 20 09:39:11 PST 2003 
Responsible-Changed-Why:  
I will handle this and nsmb.conf(5) manpage of yours. 
Responsible-Changed-From-To: ru->bms 
Responsible-Changed-By: bms 
Responsible-Changed-When: Thu 2 Oct 2003 17:49:50 PDT 
Responsible-Changed-Why:  
Assigned to me as per Ruslan's request in private email. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48489 
State-Changed-From-To: open->closed 
State-Changed-By: bms 
State-Changed-When: Thu 2 Oct 2003 18:16:03 PDT 
State-Changed-Why:  
Committed with some edits, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48489 
>Unformatted:
