Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2001 11:48:08 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        Peter Blok <Peter.Blok@inter.NL.net>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, freebsd-net@FreeBSD.org
Subject:   Re: 4.3-BETA netmask problem
Message-ID:  <3ABE3D68.91C30971@softweyr.com>
References:  <000201c0b310$fe9a5630$8a02a8c0@ntpc> <200103222123.QAA34631@khavrinen.lcs.mit.edu> <000201c0b310$fe9a5630$8a02a8c0@ntpc> <20010323093134.B34042@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> > <<On Thu, 22 Mar 2001 21:45:12 +0100, "Peter Blok" <Peter.Blok@inter.NL.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ABE3D68.91C30971>