Skip site navigation (1)Skip section navigation (2)
Date:      02 Mar 2005 09:30:26 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Mark Edwards <mark@antsclimbtree.com>
Cc:        "'questions@freebsd.org'" <questions@FreeBSD.ORG>
Subject:   Re: arplookup 192.168.1.254 failed: host is not on local network
Message-ID:  <44y8d6jf25.fsf@be-well.ilk.org>
In-Reply-To: <f8a62cd6a547c130a112c28caf015959@antsclimbtree.com>
References:  <d9f0ed55f2cc5a0e417a52c7277b040a@antsclimbtree.com> <44vf8b41fq.fsf@be-well.ilk.org> <81c57d2fd8cc8ed9cf5059593bf3da4a@antsclimbtree.com> <441xazulyr.fsf@be-well.ilk.org> <f8a62cd6a547c130a112c28caf015959@antsclimbtree.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Edwards <mark@antsclimbtree.com> writes:

> On Mar 1, 2005, at 12:53 PM, Lowell Gilbert wrote:
> 
> >>>> Looking on the net, I found the following suggestion, which does
> >>>> cure
> >>>> the errors:
> >>>>
> >>>> /sbin/route add -net 192.168.1.254 -netmask 255.255.255.0
> >>>> -interface 1
> >>>>
> >>>> My question is, is that the proper way to deal with this?
> >>>
> >>> It's not bad.  I would use -host instead of -net and -netmask, and it
> >>> will fail if the DHCP server ever changes its address, but what you
> >>> are doing is is working and fairly likely to stay that way.
> >>
> >> How would you phrase the command?  I just tried -host and couldn't get
> >> it to work.
> >
> > e.g.,
> > route add -host 172.10.212.2 -interface bge0
> 
> I tried that syntax and I get errors like this:
> 
> Mar  1 13:12:37 lilbuddy /kernel: arp: 00:0d:72:d7:d9:a1 attempts to
> modify permanent entry for 192.168.1.254 on ep1
> 
> If I use the -net -netmask syntax I don't get the errors.

"permanent entry"?  Did you put in a static ARP?
At any rate, I'd try a /32 mask instead of /24.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44y8d6jf25.fsf>