Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2003 16:28:09 -0500
From:      Barney Wolff <barney@databus.com>
To:        mark abrams <mabrams@video-collage.com>
Cc:        net@freebsd.org
Subject:   Re: net access failover
Message-ID:  <20031227212809.GA11242@pit.databus.com>
In-Reply-To: <6.0.0.22.2.20031227155203.02738df0@10.222.222.77>
References:  <6.0.0.22.2.20031227155203.02738df0@10.222.222.77>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 27, 2003 at 03:57:16PM -0500, mark abrams wrote:
> 
> I have a cable modem and and a dsl connction to my machine. I would like to 
> use the cable modem as my default connection and automatically fail-over to 
> the dsl connection if/when the cable modem goes down.
> 
> Can routed(8) do this ? If so how? And is there a better way ?

I guess this should be a FAQ.  For something that can be adapted to
do what you want, see http://www.databus.com/dslsec.tgz .

routed won't do it because (unlike real multihoming) your address on
the two networks is different and the ISPs are not sending you any
routing protocol packets.  A simpleminded ping of the cable ISP's
router, and changing the default route when it goes away and comes back,
should work fine.  NATing adds a little to the effort, if you do it.
Existing connections will not survive a transition, but that's usually
not a big deal.

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031227212809.GA11242>