Date: Sun, 29 Apr 2001 16:03:55 -0500 (CDT) From: Nick Rogness <nick@rogness.net> To: Ken Bolingbroke <hacker@bolingbroke.com> Cc: questions@FreeBSD.ORG Subject: Re: Redundant Internet connections Message-ID: <Pine.BSF.4.21.0104291600120.70248-100000@cody.jharris.com> In-Reply-To: <Pine.BSF.4.21.0104281651400.87921-100000@fremont.bolingbroke.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > > I would have thought routed would do this, but I can't see any > indication that it does redundant links. If I'm wrong, please point > me at an example configuration, or alternatively anything else I can > use to accomplish this. > Nick Rogness <nick@rogness.net> - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" 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?Pine.BSF.4.21.0104291600120.70248-100000>
