From owner-freebsd-questions Fri Jan 10 21:43:54 2003 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 EE09437B401 for ; Fri, 10 Jan 2003 21:43:52 -0800 (PST) Received: from mail.econolodgetulsa.com (mail.econolodgetulsa.com [198.78.66.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D19743F5B for ; Fri, 10 Jan 2003 21:43:52 -0800 (PST) (envelope-from user@mail.econolodgetulsa.com) Received: from mail (user@mail [198.78.66.163]) by mail.econolodgetulsa.com (8.12.3/8.12.3) with ESMTP id h0B5hrZb028407 for ; Fri, 10 Jan 2003 21:43:53 -0800 (PST) (envelope-from user@mail.econolodgetulsa.com) Date: Fri, 10 Jan 2003 21:43:53 -0800 (PST) From: Josh Brooks To: freebsd-questions@freebsd.org Subject: adding some new IPs from a different subnet Message-ID: <20030110213621.W78856-100000@mail.econolodgetulsa.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have a rc.conf that looks like: defaultrouter="10.10.10.1" ifconfig_fxp0="inet 10.10.10.2 netmask 255.255.255.0" ifconfig_fxp0_alias0="inet 10.10.10.3 netmask 255.255.255.0" Ok, easy enough - one interface, one default router, and two IPs on that subnet. BUT - as it happens, 10.10.10.1 is _also_ the default router for 192.168.0.0/24 ... it has the IP 192.168.0.1, but it also has the IP of 10.10.10.1 - it is the same default router, but with a few different subnets on it. So, I went and added one of the 192 addresses to my system: defaultrouter="10.10.10.1" ifconfig_fxp0="inet 10.10.10.2 netmask 255.255.255.0" ifconfig_fxp0_alias0="inet 10.10.10.3 netmask 255.255.255.0" ifconfig_fxp0_alias1="inet 192.168.0.2 netmask 255.255.255.0" And this works great - it works because 10.10.10.1 is also the default router for 192.168.0.0/24. BUT, even though the network works great and that IP and everything else is fine, I am getting my log files full of: /kernel: arplookup 192.168.0.1 failed: host is not on local network Note that the error is about the gateway - 192.168.0.1 is the IP on the gateway that this system uses. So, at the end of the day, everything works great, but the system doesn't like the config and is complaining in the logs. --------- What is the best way to make these log errors stop occurring ? I hate to be a pain, but not only do I need to know what to put in rc.conf, but I cannot reboot the system so I need to know what commands will implement it on the fly as well. many thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message