Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 09:07:39 -0600 (CST)
From:      Guy Helmer <ghelmer@cs.iastate.edu>
To:        net@freebsd.org
Subject:   "arp: XX is on xx0 but got reply from YY on yy0" message
Message-ID:  <Pine.HPX.4.05.10011100848100.4255-100000@popeye.cs.iastate.edu>

next in thread | raw e-mail | index | archive | help
I'm working with a situation where a machine will have two interfaces on
the same Ethernet segment.  One interface does not have an IP address and
is in promiscuous mode to listen to the segment; the other interface has
an IP address and is running normally. The kernel logs a lot of "arp: XX
is on xx0 but got reply from YY on yy0" messages.

Questions also appear on the FreeBSD lists asking about this message when
people have multiple interfaces in different IP subnets on the same wire.

From reading the source in for in_arpinput() in
/sys/netinet/if_ether.c, it appears that the kernel just logs this message
and harmlessly tosses the packet.  If this *is* harmless, would it be OK
to make the log message conditional on a sysctl toggle?

Guy

Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science 
Research Assistant, Dept. of Computer Science   ---   ghelmer@cs.iastate.edu
http://www.cs.iastate.edu/~ghelmer



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.HPX.4.05.10011100848100.4255-100000>