Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 08:40:26 -0500
From:      Joel Dinel <dinjo@touchtunes.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Basic load balancing with IPFW
Message-ID:  <20020322084026.A21439@sunder.touchtunes.com>

next in thread | raw e-mail | index | archive | help
I've been googling and reading man pages all morning, and I can't find
out if I can do some very basic load balancing with IPFW.

Basically, I have four servers with the exact same config. I want to
equally (or not) distribute traffic across them. Suppose I get 200
connections, I'd want to be able to distribute them like so :

Server1 : 50 connections
Server2 : 50 connections
Server3 : 50 connections
Server4 : 50 connections

Or,


Server1 : 80 connections
Server2 : 20 connections
Server3 : 50 connections
Server4 : 50 connections

And so on. I can't really cluster the machine themselves (actually, I
can't touch them at all). I'm *thinking* that this is done at the
firewall level, since the Linux box that currently does this job does it
with IPChains. Actually, as long as I can 'round robin' or 'ration' my
traffic across those 4 servers from a IPFW gateway, I'll be happy.

Thanks in advance for any info.

-- 
Joel Dinel
System Administrator
TouchTunes Digital Jukebox, Inc.
GnuPG key : http://lysander.mine.nu/~kint/mykey.asc

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?20020322084026.A21439>