LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [newbie] LVS and Traffic Balancing

To: Guilherme Felix <ggfelix@xxxxxxxxx>, <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [newbie] LVS and Traffic Balancing
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 13 Apr 2005 13:18:30 +0900
On Tue, Apr 12, 2005 at 09:55:01PM -0300, Guilherme Felix wrote:
>   Hey folks,
> 
>      After searching and reading a lot of info about
> LVS/Clustering/Load Balancing I'm still in doubt about some issues..
> 
>     Well, today I have 4 linux boxes acting as gateways for 20
> different class C, so doing a basic division ... 5 class C per box.
> So, a single linux box is routing/filtering/accounting traffic for 5
> class C.
> 
>     Because of change on company's policy it will have to change, so
> I'am researching solutions for the problem they gave me, and the
> problem is... I have to get this 4 linux boxes and make it work as a
> single box (LVS), with multiple external IPs (for the different Class
> C), and load balacing the traffic between them, and the boxes WILL act
> as gateway.
> 
>      Resuming, 4 linux boxes acting as gateway for a few class C ips,
> with multiple external IP addresses.

Yes. Look at using fwmarks in conjunction with LVS. It is your friend.
A breif explanation I wrote about this is at:

http://www.ultramonkey.org/3/topologies/ha-lb-eg-fwmark.html

Note that LVS is really about load-balancing incoming requests.
If you want to handle outgoing requests you will need SNAT.
But I suspect you already have a good handle on that.

-- 
Horms

<Prev in Thread] Current Thread [Next in Thread>