From owner-freebsd-stable Wed Apr 18 18:34:36 2001 Delivered-To: freebsd-stable@freebsd.org Received: from freeway.dcfinc.com (cx74889-a.phnx3.az.home.com [24.1.193.157]) by hub.freebsd.org (Postfix) with ESMTP id AEF1137B423 for ; Wed, 18 Apr 2001 18:34:33 -0700 (PDT) (envelope-from chad@freeway.dcfinc.com) Received: (from chad@localhost) by freeway.dcfinc.com (8.8.8/8.8.8) id SAA05138; Wed, 18 Apr 2001 18:33:43 -0700 (MST) (envelope-from chad) From: "Chad R. Larson" Message-Id: <200104190133.SAA05138@freeway.dcfinc.com> Subject: Re: arplookup xxx.xxx.xxx.xxx failed: host is not on local network In-Reply-To: from Bob Bishop at "Apr 18, 1 04:38:18 pm" To: rb@gid.co.uk (Bob Bishop) Date: Wed, 18 Apr 2001 18:33:43 -0700 (MST) Cc: webmaster@healthnet.es, freebsd-stable@FreeBSD.ORG Reply-To: chad@DCFinc.com Organization: DCF, Inc. X-O/S: FreeBSD 2.2.8-STABLE X-Unexpected: The Spanish Inquisition X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As I recall, Bob Bishop wrote: > At 16:25 +0200 18/4/01, Webmaster wrote: >> Since I built world with -stable (RC) sources of april 9, and still >> after remaking world with sources of april 17, one of my servers >> (call it host "A") is producing these logs: >> ... >> Apr 18 13:18:26 A /kernel: arplookup failed: host is >> not on local network >> Any suggestion? > > This kind of thing used to happen if you define an alias with a netmask > other than 255.255.255.255. I fear to re-open a frequently hashed discussion, but I still don't completely understand the use of the netmask on an alias. Basically the advice here has been "use 0xffffffff". But what, exactly, is the reason? How is the netmask employed in conjunction with an alias? For example, the following is what I set up on my first machine that used aliases. It was a FreeBSD 2.1 web server that served two domains. Excerpt from /etc/sysconfig +--------------- | network_interfaces="lo0 ix0" | ifconfig_lo0="inet localhost" | ifconfig_ix0="inet freebie.dcfinc.com netmask 255.255.255.0" | ifconfig_ix0_alias0="inet www.larsons.org netmask 255.255.255.0" +--------------- That's what seemed intuitive at the time, and it seem{ed,s} to work. So, what's wrong with this picture, or did life change sometime after 2.1.7 came out? -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org larson1@home.com DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message