From owner-freebsd-stable@FreeBSD.ORG Fri Jun 15 17:54:45 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24182106564A for ; Fri, 15 Jun 2012 17:54:45 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mail.egr.msu.edu (boomhauer.egr.msu.edu [35.9.37.167]) by mx1.freebsd.org (Postfix) with ESMTP id EE0B88FC22 for ; Fri, 15 Jun 2012 17:54:44 +0000 (UTC) Received: from boomhauer (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id 9159656F32 for ; Fri, 15 Jun 2012 13:47:35 -0400 (EDT) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by boomhauer (boomhauer.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H7QCpnTo5eef for ; Fri, 15 Jun 2012 13:47:35 -0400 (EDT) Received: from EGR authenticated sender Message-ID: <4FDB7537.8010902@egr.msu.edu> Date: Fri, 15 Jun 2012 13:47:35 -0400 From: Adam McDougall User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <201206151819.32398.hselasky@c2i.net> In-Reply-To: <201206151819.32398.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to bind a route to a network adapter and not IP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 17:54:45 -0000 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?