From owner-freebsd-stable@FreeBSD.ORG Fri Jun 15 18:01:35 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 047111065689 for ; Fri, 15 Jun 2012 18:01:35 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by mx1.freebsd.org (Postfix) with SMTP id 5B7638FC17 for ; Fri, 15 Jun 2012 18:01:34 +0000 (UTC) Received: (qmail 66860 invoked from network); 15 Jun 2012 17:54:52 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 15 Jun 2012 17:54:52 -0000 Date: Fri, 15 Jun 2012 19:54:52 +0200 (CEST) Message-Id: <20120615.195452.74691488.sthaug@nethelp.no> To: animelovin@gmail.com From: sthaug@nethelp.no In-Reply-To: <4FDB6AA3.3040606@gmail.com> References: <201206151819.32398.hselasky@c2i.net> <4FDB6AA3.3040606@gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, hselasky@c2i.net 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 18:01:35 -0000 > Perhaps you can ask the very same question in another way so its easier > to understand why you losing packets? All in all I always thought TCP/IP > was the basic unit in Internet based networking but feel free to correct > me if you have any news I might have missed... :) This is an old and well known problem, with no solution as of today (unless you want to run quagga/zebra or similar). With Cisco and Juniper (and probably lots of other big name) routers, if I create a static route pointing to a next hop on one interface, and the interface goes down (e.g. Ethernet cable is unplugged), 1. the static route is removed from the routing table. But then, when the interface later comes back up 2. the static route is reinstalled in the routing table. With FreeBSD point 1 above happens, but not point 2. I would love to have the functionality where FreeBSD would reinstall the route as in point 2 above. I think this is definitely the least surprising behavior (POLA), and should happen even without running an explicit routing system like quagga. Steinar Haug, Nethelp consulting, sthaug@nethelp.no > > On 06/15/2012 12:19 PM, 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 > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >