arplookup 192.168.1.254 failed: host is not on local network

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Mar 2 14:30:27 GMT 2005


Mark Edwards <mark at 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.


More information about the freebsd-questions mailing list