Date: Tue, 1 Mar 2005 13:17:08 -0800 From: Mark Edwards <mark@antsclimbtree.com> To: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Cc: "'questions@freebsd.org'" <questions@FreeBSD.ORG> Subject: Re: arplookup 192.168.1.254 failed: host is not on local network Message-ID: <f8a62cd6a547c130a112c28caf015959@antsclimbtree.com> In-Reply-To: <441xazulyr.fsf@be-well.ilk.org> References: <d9f0ed55f2cc5a0e417a52c7277b040a@antsclimbtree.com> <44vf8b41fq.fsf@be-well.ilk.org> <81c57d2fd8cc8ed9cf5059593bf3da4a@antsclimbtree.com> <441xazulyr.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Mark Edwards mark@antsclimbtree.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f8a62cd6a547c130a112c28caf015959>