Date: Tue, 18 Jun 2002 08:54:52 +0300 (EEST) From: Alexander V Zubchenko <stalker@hermes-comp.zp.ua> To: Randy Smith <randys@amigo.net> Cc: <freebsd-questions@freebsd.org> Subject: Re: IPFW as load balancer Message-ID: <20020618085310.H12511-100000@server.hermes-comp.zp.ua> In-Reply-To: <20020617160020.R6594-100000@stalker.amigo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <cacheA>,3128 tcp from <my-net> to any 80 > add prob .50 fwd <cacheB>,3128 tcp from <my-net> to any 80 > add fwd <cacheC>,3128 tcp from <my-net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020618085310.H12511-100000>