From owner-freebsd-net Sun Mar 25 19:46:51 2001 Delivered-To: freebsd-net@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id ACE4237B718; Sun, 25 Mar 2001 19:46:48 -0800 (PST) (envelope-from wes@softweyr.com) Received: from [127.0.0.1] (helo=softweyr.com ident=98f4eda6257dce0a49e851b22d8d66f1) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14hFYe-0000dV-00; Sun, 25 Mar 2001 11:48:08 -0700 Message-ID: <3ABE3D68.91C30971@softweyr.com> Date: Sun, 25 Mar 2001 11:48:08 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Ruslan Ermilov Cc: Peter Blok , Garrett Wollman , freebsd-net@FreeBSD.org Subject: Re: 4.3-BETA netmask problem References: <000201c0b310$fe9a5630$8a02a8c0@ntpc> <200103222123.QAA34631@khavrinen.lcs.mit.edu> <000201c0b310$fe9a5630$8a02a8c0@ntpc> <20010323093134.B34042@sunbay.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ruslan Ermilov wrote: > > On Thu, Mar 22, 2001 at 09:45:12PM +0100, Peter Blok wrote: > > Hi, > > > > I'm having a strange problem. I have a block public ip addresses at > > X.Y.Z.128/28. My FreeBSD 4.3-BETA system has assigned IP address X.Y.Z.140 > > netmask 255.255.255.240, broadcast X.Y.Z.143. > > > > I don't use routed. I have one static host route to a particular host. > > > > Here's the problem when somebody tries to access me from the outside with IP > > A.B.C.D I'm getting messages: > > > > /kernel: arplookup A.B.C.D failed: host is not on local network > > /kernel: arpresolve: can't allocate llinfo A.B.C.Drt > > > > I arplookup is right! The IP address is not on the local network. Why is > > arplookup displaying this? What is wrong? I am also not able to slogin to > > this public address. > > > > On Thu, Mar 22, 2001 at 04:23:48PM -0500, Garrett Wollman wrote: > > < said: > > > > > /kernel: arplookup A.B.C.D failed: host is not on local network > > > /kernel: arpresolve: can't allocate llinfo A.B.C.Drt > > > > Show us the output of `route -nv get A.B.C.D'. > > And we will see that this route has an indirect gateway! Right. Peter, you probably need a default route pointing at whatever your router to the rest of the network is. The address in the default route MUST be on your local network, or the host route you have already established. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message