FreeBSD network failover

Valentin Bud valentin.bud at gmail.com
Tue Dec 16 07:06:29 PST 2008


On Tue, Dec 16, 2008 at 4:14 PM, Gabe <nrml at att.net> wrote:

> >Maybe try lagg(4) in Failover mode?
>
> On Tue, Dec 16, 2008 at 12:57 PM, Randy Bush <randy at psg.com> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list