From owner-freebsd-questions@FreeBSD.ORG Mon May 26 12:10:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9A28106566B for ; Mon, 26 May 2008 12:10:44 +0000 (UTC) (envelope-from n00dles@neocyber.info) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.freebsd.org (Postfix) with SMTP id A99378FC16 for ; Mon, 26 May 2008 12:10:44 +0000 (UTC) (envelope-from n00dles@neocyber.info) Received: (qmail 43858 invoked by uid 0); 26 May 2008 11:44:02 -0000 Received: from unknown (HELO io.local) (unknown) by unknown with SMTP; 26 May 2008 11:44:02 -0000 X-pair-Authenticated: 92.1.34.247 Message-ID: <483AA282.1090007@neocyber.info> Date: Mon, 26 May 2008 12:44:02 +0100 From: Chris Nicholls User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Routing issues? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2008 12:10:45 -0000 Hello all, I seem to have stumbled on problem and I just can't see a reason for it. One of my FreeBSD 7.0 machines stops responding on the network, the strange thing is you could set your watch by it. approx every 5 minutes for 5 minutes it will not respond on any interface. I've googled around but not having a clear idea of what is going on its hard to narrow down the search and the only two things I have in /var/log/messages are as follows: May 26 11:49:14 zeus kernel: arplookup 192.168.0.1 failed: host is not on local network May 26 11:49:14 zeus kernel: arpresolve: can't allocate route for 192.168.0.1 May 26 11:49:14 zeus named[686]: /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: unexpected error: May 26 11:49:14 zeus named[686]: internal_send: 192.36.148.17#53: Invalid argument The machine has two internal NIC's setup like so, with the second address on both cards being an alias. fxp0: flags=8843 metric 0 mtu 1500 options=8 ether 00:06:29:1f:72:6d inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.0.13 netmask 0xffffffff broadcast 192.168.0.13 media: Ethernet autoselect (100baseTX ) status: active fxp1: flags=8843 metric 0 mtu 1500 options=8 ether 00:06:29:1f:72:6e inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255 inet 172.16.0.1 netmask 0xffff0000 broadcast 172.16.255.255 media: Ethernet autoselect (100baseTX ) status: active also my routing table: Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.0.1 UGS 0 40160 fxp0 10.0.0.0/8 link#2 UC 0 0 fxp1 92.0.0.0/8 192.168.0.1 UG 0 0 fxp0 127.0.0.1 127.0.0.1 UH 0 137 lo0 172.16.0.0/16 link#2 UC 0 0 fxp1 192.168.0.0/24 link#1 UC 0 0 fxp0 192.168.0.1 00:0c:30:5a:79:76 UHLW 3 0 fxp0 908 192.168.0.10 00:11:2f:06:f1:fe UHLW 1 8 fxp0 917 192.168.0.11 00:40:d0:5e:42:d0 UHLW 1 16 fxp0 908 192.168.0.12 00:06:29:1f:72:6d UHLS 1 57676 lo0 192.168.0.13 00:06:29:1f:72:6d UHLS 1 156441 lo0 => 192.168.0.13/32 link#1 UC 0 0 fxp0 192.168.0.44 00:16:cb:cb:6e:db UHLW 2 1154 fxp0 1022 192.168.0.56 00:18:f3:42:a1:0a UHLW 1 2 fxp0 1197 The machine is acting as a router/gateway between 192.168.0.0/24 and 10.0.0.0/8 running routed -s and gateway_enable="yes" Regards -- /********* _ * * ASCII ribbon campaign ( ) Chris Nicholls * * against HTML e-mail X http://n00dles.net * * www.asciiribbon.org / \ (PGP key available) * * n00dles@n00dles.net n00dles@neocyber.info * * ********/