From owner-freebsd-questions@FreeBSD.ORG Wed Jun 16 04:15:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D94E016A4CE for ; Wed, 16 Jun 2004 04:15:30 +0000 (GMT) Received: from davidfuchs.ca (domains1.davidfuchs.ca [216.113.197.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F4DC43D1D for ; Wed, 16 Jun 2004 04:15:30 +0000 (GMT) (envelope-from david@davidfuchs.ca) Received: from s0106002078dbe870.vs.shawcable.net ([24.82.197.178] helo=[127.0.0.1]) by davidfuchs.ca with asmtp (Exim 4.30) id 1BaRR4-000GJ0-U8 for freebsd-questions@freebsd.org; Tue, 15 Jun 2004 20:50:03 -0700 Message-ID: <40CFC386.3000005@davidfuchs.ca> Date: Tue, 15 Jun 2004 20:50:30 -0700 From: David Fuchs User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: arplookup WWW.XXX.YYY.ZZZ failed: host is not on local network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 04:15:31 -0000 Ok, riddle me this: /kernel: arplookup WWW.XXX.YYY.10 failed: host is not on local network I've been seeing these messages in the messages log, so I've done some additional tests and am now hunting for answers. The curious part is, the host technically *is* on the local network. It's a /24 subnet; the address of the local machine is WWW.XXX.YYY.25 and the other host is WWW.XXX.YYY.10. As I mentioned, this is a /24, and so I've confirmed that both hosts are configured with the subnet mask of 0xffffff00 (255.255.255.0). I can repeat the error message as often as I want by generating arp who-has requests (I've been using `arping' to accomplish these tests): tcpdump output when running arping: arp who-has WWW.XXX.YYY.10 tell WWW.XXX.YYY.25 arp reply WWW.XXX.YYY.10 is-at 0:e0:81:2:15:59 At the same time, my messages log fills up with arplookup errors. /kernel: arplookup WWW.XXX.YYY.10 failed: host is not on local network Now, I must add a necessary development to this, which is almost definitely the cause of the problem. These two hosts each have two interfaces on them. The primary interface on each is connected to WWW.XXX.YYY.0/24 as shown above. The secondary interface on each is assigned RFC1918 addresses on the 172.16.1.0/24 subnet, and are directly connected with a crossover cable. The last octet used in the IP addresses for the secondary interfaces mirror the last octet used for the IP on the primary interfaces. Static routes have been added to force all communication *between* these two hosts to use the secondary interfaces: WWW.XXX.YYY.25's static route: route add WWW.XXX.YYY.10 172.16.1.10 WWW.XXX.YYY.10's static route: route add WWW.XXX.YYY.25 172.16.1.25 The static routes work as they should - traffic destined for either host's IP on the WWW.XXX.YYY.0/24 subnet goes through the secondary interfaces instead. However, both machines are receiving the arplookup errors because of this, and I'd like to know if there is a solution besides disabling the sysctl variable that causes these errors to be logged. Thanks! -David Fuchs