From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] 2 gateway on linux
Date: Fri, 09 May 2003 12:21:44 +0000 [thread overview]
Message-ID: <marc-lartc-105248297522785@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105221603102461@msgid-missing>
Hello Thomas,
: > There are two different types of solutions. If you can describe which
: > type of traffic you wish to send to which ISP, you can use multiple
: > uplinks without load sharing [1]. If you wish to use load sharing, then
: > you'll need to look at the nano HOWTO [2].
:
: In a near furture I will try solution 2. I have the same setup where
: connection 1 is connected to a adsl and connection 2 is a wireless
: link from headquarters to servercamp. Now the question is would it be
: possible to do loadbalancing with failover on those 2 connections and
: set a routingpolicy that will route all traffic to servercamp iprange
: over the wireless link at the same time?
Yes. It should be trivial to force all connections to servercamp over the
wireless link.... I assume that $ADSL is your ADSL gateway, and $WIRELESS
is your wireless gateway:
Your default route will look something like this:
ip route add default nexthop via $WIRELESS nexthop via $ADSL equalize
Your route to servercamp will look something like this:
ip route add $servercamp via $WIRELESS
Any networks you wish to force over the wireless link should be specified
in the routing table explicitly. Linux will always choose the most
specific route available. For a description of the route selection
process, see
http://linux-ip.net/html/routing-selection.html
Good luck,
-Martin
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-05-09 12:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-06 10:18 [LARTC] 2 gateway on linux Zealous
2003-05-06 14:06 ` Martin A. Brown
2003-05-06 16:09 ` Kenneth Porter
2003-05-09 12:21 ` Martin A. Brown [this message]
2003-05-10 4:23 ` Zealous
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-105248297522785@msgid-missing \
--to=mabrown-lartc@securepipe.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox