From owner-freebsd-net@FreeBSD.ORG Tue Dec 16 15:06:29 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C632C106564A for ; Tue, 16 Dec 2008 15:06:29 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id 95BF18FC1F for ; Tue, 16 Dec 2008 15:06:29 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so3398906wfg.7 for ; Tue, 16 Dec 2008 07:06:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=V6OxWB373XZZ7DuSWibkWj+AG8VrGB5VJxsyJavX9oQ=; b=q4HgP74YQ19HSWsQwEGq5brhbj0BkFInYoxhJMuA6DNZIDBglgdortsjLiAqdfzSBN 9gkDpkUpJT/X//ngQOxk91w9DQDypJQH85dLXA9Ke/rnQMg7NuS6dvhSM4VjV/XK2utO nHAwrDHgnpIiWONxn2KcmKZuaGelcPXGIBhaI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=mNNOkHishtkJQGA1eMdiNe5mUeqxk2Ht1x52lb1SFjoA548N/NXtyTv+CUFs3fbUSS WJitejMXTSS7fCjXSq/CvSMx+loNyBj1Ma/sYu/HcYDbEuNxQTnygcUThIII2lZqcjyU +dHBbcB3gUOcYhfmCau0Pgu6N4CWrdcJB1NnU= Received: by 10.142.237.20 with SMTP id k20mr3335601wfh.74.1229438214803; Tue, 16 Dec 2008 06:36:54 -0800 (PST) Received: by 10.142.165.8 with HTTP; Tue, 16 Dec 2008 06:36:54 -0800 (PST) Message-ID: <139b44430812160636s798ab039xee7f15229eb2a077@mail.gmail.com> Date: Tue, 16 Dec 2008 16:36:54 +0200 From: "Valentin Bud" To: Gabe In-Reply-To: <20081216141352.0A09D8FC19@mx1.freebsd.org> MIME-Version: 1.0 References: <20081216141352.0A09D8FC19@mx1.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: FreeBSD network failover X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 15:06:29 -0000 On Tue, Dec 16, 2008 at 4:14 PM, Gabe wrote: > >Maybe try lagg(4) in Failover mode? > > On Tue, Dec 16, 2008 at 12:57 PM, Randy Bush wrote: > >>>> I have a nat'd box which obviously has an internal and external ip > >>>> address. The box has a third interface which is configured to a > >>>> DSL connection. My goal is for that interface to be activated if > >>>> the external side fails so that outbound traffic still flows. Any > >>>> of you know of a way to accomplish this regardless of the type of > >>>> failure. > > > > Lagg wouldn't work on my setup because the dsl connection would be almost > completely independent. Unless you can provide an example. Hello Gabe, You could use monit (http://mmonit.com/monit/) for example to monitor the default gateway with a ping and if it fails to exec a specific script in which you set up routes, send email and such and of course to (re)set the default stuff when the (default) connection is back online. There might be other tools designed especially for this so the others can point you in a better direction. a great day, v > > > /gabe > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >