Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2012 13:47:35 -0400
From:      Adam McDougall <mcdouga9@egr.msu.edu>
To:        freebsd-stable@freebsd.org
Subject:   Re: How to bind a route to a network adapter and not IP
Message-ID:  <4FDB7537.8010902@egr.msu.edu>
In-Reply-To: <201206151819.32398.hselasky@c2i.net>
References:  <201206151819.32398.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/15/12 12:19, Hans Petter Selasky wrote:
> Hi,
>
> Maybe there is a simple answer, but how do I bind a route to a network
> interface in 8-stable? Is that possible at all? I'm asking because the routes
> I add in my network setup are lost because of ARP packet drops. I.E. they
> exist for a while, but not forever like I want to.
>
> --HPS

Is route add x.x.x.x -iface em0   what you want?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FDB7537.8010902>