From 4cd8d8d59c98a2afa83d0deaeb382a9fef09f795 Mon Sep 17 00:00:00 2001 From: Bruce M Simpson Date: Fri, 3 Oct 2003 01:15:40 +0000 Subject: [PATCH] Update arp(4) to document the 'arp: foo is on if0 but got reply from bar on if1' message. PR: bin/48489 Requested by: ru --- usr.sbin/arp/arp.4 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/usr.sbin/arp/arp.4 b/usr.sbin/arp/arp.4 index 87cace3ece51..5d2094aeb035 100644 --- a/usr.sbin/arp/arp.4 +++ b/usr.sbin/arp/arp.4 @@ -124,6 +124,15 @@ The route for the referenced host points to a device upon which ARP is 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 if0 but got reply from %x:%x:%x:%x:%x:%x on if1" : +Physical connections exist to the same logical IP network on both if0 and if1. +It can also occur if an entry already exists in the ARP cache for the IP +address above, and the cable has been disconnected from if0, then reconnected +to if1. +This message can only be issued if the sysctl +.Dv net.link.ether.inet.log_arp_wrong_iface +is set to 1, which is the system's default behaviour. .Sh SEE ALSO .Xr inet 4 , .Xr route 4 ,