Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 21:36:09 -0700
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        "Nick Rogness" <nick@rogness.net>, "Ken Bolingbroke" <hacker@bolingbroke.com>
Cc:        <questions@FreeBSD.ORG>
Subject:   RE: Redundant Internet connections
Message-ID:  <000401c0d1f8$3eb33380$1401a8c0@tedm.placo.com>
In-Reply-To: <Pine.BSF.4.21.0104291600120.70248-100000@cody.jharris.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>-----Original Message-----
>From: owner-freebsd-questions@FreeBSD.ORG
>[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Nick Rogness
>Sent: Sunday, April 29, 2001 2:04 PM
>To: Ken Bolingbroke
>Cc: questions@FreeBSD.ORG
>Subject: Re: Redundant Internet connections
>
>
>On Sat, 28 Apr 2001, Ken Bolingbroke wrote:
>
>>
>> Given a FreeBSD box with _two_ independent connections to the internet,
>> and also serving as the gateway to a third, private network, how would I
>> configure it to use both Internet links as "default" routes?  I would
>> prefer one over the other, but need it to fall back to the second if the
>> first goes offline.
>
>
>	//Add backup route
>	# route add -net 0.0.0.0 X.X.X.X -netmask 0.0.0.0 -nostatic
>
>	//Add primary route
>	# route add -net 0.0.0.0 A.A.A.A -netmask 128.0.0.0 -nostatic
>	# route add -net 128.0.0.0 A.A.A.A -netmask 128.0.0.0 -nostatic
>
>
>	A.A.A.A is your primary gateway and X.X.X.X is your backup
>	gateway.
>
>	This does no load balancing but if interface that connects to
>	A.A.A.A goes down, the secondary oute will take affect.
>

Muh ha ha ha ha!!!  (evil cackle)

Yes, this is the ham-handed way to attempt this with only one tiny problem:

Supposing that both interfaces into the FreeBSD router are Ethernet?  (say,
2 DSL connections)  A DSL modem will NOT shut down it's Ethernet interface
if the DSL circuit to it goes down.  What then?

Or, better yet - suppose both interfaces are T1 frame relay interfaces.
Those
interfaces won't go down either if the LMI stays up and the PVC goes away.


Ted Mittelstaedt                      tedm@toybox.placo.com
Author of:          The FreeBSD Corporate Networker's Guide
Book website:         http://www.freebsd-corp-net-guide.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000401c0d1f8$3eb33380$1401a8c0>