From owner-freebsd-questions Fri Mar 22 5:54:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from linuxmail.touchtunes.com (operator.touchtunes.com [216.94.139.201]) by hub.freebsd.org (Postfix) with ESMTP id DABCF37B417 for ; Fri, 22 Mar 2002 05:54:13 -0800 (PST) Received: from sunder.touchtunes.com (sunder.touchtunes.com [192.168.0.26]) by linuxmail.touchtunes.com (8.9.3/8.8.7) with ESMTP id IAA26995 for ; Fri, 22 Mar 2002 08:54:27 -0500 Received: (from dinjo@localhost) by sunder.touchtunes.com (8.11.6/8.11.6) id g2MDeQt21620 for freebsd-questions@FreeBSD.ORG; Fri, 22 Mar 2002 08:40:26 -0500 (EST) (envelope-from dinjo) Date: Fri, 22 Mar 2002 08:40:26 -0500 From: Joel Dinel To: freebsd-questions@FreeBSD.ORG Subject: Basic load balancing with IPFW Message-ID: <20020322084026.A21439@sunder.touchtunes.com> Mail-Followup-To: Joel Dinel , freebsd-questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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