From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin A. Brown" Date: Fri, 09 May 2003 12:21:44 +0000 Subject: Re: [LARTC] 2 gateway on linux Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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/