How to bind a route to a network adapter and not IP

Adam McDougall mcdouga9 at egr.msu.edu
Fri Jun 15 17:54:45 UTC 2012


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?


More information about the freebsd-stable mailing list