Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 10:56:49 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Iasen Kostoff <tbyte@tbyte.org>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: adding a route to host via interface
Message-ID:  <20010703105649.A6517@sunbay.com>
In-Reply-To: <Pine.BSF.4.21.0107021727470.8303-100000@shadow.otel.net>; from tbyte@tbyte.org on Mon, Jul 02, 2001 at 05:40:07PM %2B0300
References:  <Pine.BSF.4.21.0107021727470.8303-100000@shadow.otel.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 02, 2001 at 05:40:07PM +0300, Iasen Kostoff wrote:
> 
> 	Problem is that adding a route to host throw interface adds
> inerface as gateway (iface's lladdr). And you should manualy change lladdr
> of this route to the real lladdr.
> 
> this is it:
> 
> route add -host foo -iface bar
> arp -s foo real_lladdr_of_foo
> 
> Is that realy a problem or I'm missing something ?
> 
Try this:

route add -host foo -link bar:real_lladdr_of_foo -llinfo -interface


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

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?20010703105649.A6517>