From owner-freebsd-questions Mon Jun 17 22:59: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from desert.zssm.zp.ua (desert.zssm.zp.ua [212.8.32.5]) by hub.freebsd.org (Postfix) with ESMTP id 654ED37B409 for ; Mon, 17 Jun 2002 22:59:00 -0700 (PDT) Received: from server.hermes-comp.zp.ua (germes-comp.zssm.zp.ua [212.8.32.132] (may be forged)) by desert.zssm.zp.ua (8.11.3/8.11.3) with ESMTP id g5I5p2F02397; Tue, 18 Jun 2002 08:51:05 +0300 (EEST) (envelope-from stalker@hermes-comp.zp.ua) Received: from localhost (localhost [127.0.0.1]) by server.hermes-comp.zp.ua (Postfix) with ESMTP id CFA4C38302; Tue, 18 Jun 2002 08:54:52 +0300 (EEST) Date: Tue, 18 Jun 2002 08:54:52 +0300 (EEST) From: Alexander V Zubchenko To: Randy Smith Cc: Subject: Re: IPFW as load balancer In-Reply-To: <20020617160020.R6594-100000@stalker.amigo.net> Message-ID: <20020618085310.H12511-100000@server.hermes-comp.zp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Greetings! On Mon, 17 Jun 2002, Randy Smith wrote: > Hi, > > Is it possible to use IPFW to do load balancing? I want to do create a Yes it is. > trasparent proxy to a cluster of Squid caches. I was thinking of something > along the lines of: > > add prob .33 fwd ,3128 tcp from to any 80 > add prob .50 fwd ,3128 tcp from to any 80 > add fwd ,3128 tcp from to any 80 > > Does this make sense or is there a better solution? Mayb 'ipfw add pipe N... && ipfw pipe N config....' may help. Look at manpage ipfw(8) for details on 'traffic shaping' (as this feature called in man). Alexander V Zubchenko, E-Mail: stalker@hermes-comp.zp.ua System Administrator, WWW: http://www.hermes-comp.zp.ua/ Hermes-comp, Ukraine, Zaporizhzhya, Geroev Stalingrada 50 phone/fax: +380 612 64-19-72 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message