From owner-freebsd-questions@FreeBSD.ORG Sun Mar 19 13:03:31 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 D9EE516A400 for ; Sun, 19 Mar 2006 13:03:31 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73F6B43D46 for ; Sun, 19 Mar 2006 13:03:31 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id DAAD75EE9; Sun, 19 Mar 2006 08:03:30 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21127-10; Sun, 19 Mar 2006 08:03:30 -0500 (EST) Received: from [192.168.1.3] (pool-68-160-194-11.ny325.east.verizon.net [68.160.194.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id C41E25D7B; Sun, 19 Mar 2006 08:03:29 -0500 (EST) Message-ID: <441D56A4.3050400@mac.com> Date: Sun, 19 Mar 2006 08:03:32 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Harlan Stenn References: <20060319122649.CBFEC54827@minnie.everett.org> In-Reply-To: <20060319122649.CBFEC54827@minnie.everett.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: arp_rtrequest: bad gateway (!AF_LINK) 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: Sun, 19 Mar 2006 13:03:31 -0000 Harlan Stenn wrote: > Here's an example of some stuff in /etc/rc.conf: > > ifconfig_fxp0="inet 66.220.13.226/28 media 100baseTX mediaopt full-duplex" > ifconfig_fxp0_alias0="inet 192.168.64.10/32" > ifconfig_fxp0_alias1="inet 66.220.13.227/32" > ifconfig_fxp0_alias2="inet 66.220.13.230/32" > ifconfig_fxp1="inet 192.168.64.11/32" > ifconfig_lo0_alias0="inet 192.168.64.9/32" > ifconfig_lo0_alias1="inet 192.168.65.3/32" > ifconfig_lo0_alias2="inet 192.168.65.5/32" > > The problem is that I'm seeing the following lines repeated in my syslog: > > arp_rtrequest: bad gateway 192.168.64.10 (!AF_LINK) > arp_rtrequest: bad gateway 66.220.13.227 (!AF_LINK) I infer you are trying to set up other machines (or a local jail?) on something like 192.168.64.8 or .4 which are trying to ARP for their router. It doesn't make sense to do ARP over the loopback, and anyway, a real NIC and the loopback use different framing types. What happens if you change: > ifconfig_lo0_alias0="inet 192.168.64.9/32" ...and so forth to: > ifconfig_fxp1_alias0="inet 192.168.64.9/32" ...? Oh, yes, and this does not make sense, either: > ifconfig_fxp0_alias0="inet 192.168.64.10/32" ...and people put their internal 192.168 subnet as a /24: > ifconfig_fxp1="inet 192.168.64.11/32" Most unusual. People normally only need to use IP aliases when your renumber an existing system and some other machine which can't be changed easily still needs to talk to that host using the old IP, or if you need to host multiple instances of something like an SSL-based webserver which demand a separate IP for each site due to the protocol limitations. If you have two NICs, they should be on separate subnets, in separate collision domains, unless you are doing channel bonding/CARP/FEC, in which case they must be specially configured for that purpose (and therefore would be on the same subnet only). -- -Chuck