From owner-freebsd-questions Tue Jun 18 7:41:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from matrix.zssm.zp.ua (matrix.zssm.zp.ua [212.8.32.10]) by hub.freebsd.org (Postfix) with ESMTP id 9F89937B4BA for ; Tue, 18 Jun 2002 07:40:38 -0700 (PDT) Received: from server.hermes-comp.zp.ua (germes-comp.zssm.zp.ua [212.8.32.132] (may be forged)) by matrix.zssm.zp.ua (8.11.3/8.11.3) with ESMTP id g5IERuo43974; Tue, 18 Jun 2002 17:27:57 +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 2EDF138302; Tue, 18 Jun 2002 17:32:47 +0300 (EEST) Date: Tue, 18 Jun 2002 17:32:47 +0300 (EEST) From: Alexander V Zubchenko To: Randy Smith Cc: "freebsd-questions@freebsd.org" Subject: Re: IPFW as load balancer In-Reply-To: <20020618082248.G6594-100000@stalker.amigo.net> Message-ID: <20020618173131.S14695-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! Sorry, it's my mistake. IMHO, yes, Your way is good solution. Sorry again. With respect, 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 On Tue, 18 Jun 2002, Randy Smith wrote: > On Tue, 18 Jun 2002, Alexander V Zubchenko wrote: > > > Date: Tue, 18 Jun 2002 08:54:52 +0300 (EEST) > > From: Alexander V Zubchenko > > To: Randy Smith > > Cc: "freebsd-questions@freebsd.org" > > Subject: Re: IPFW as load balancer > > > > 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). > > Thank you for your reply but I don't see how pipes are going to help here. > (I use them to do traffic shaping in other places.) It is my > understanding, and ipfw(8) doesn't change it, that pipes cannot send > packets to another ip address. Please givev me an example if I'm wrong. > > -- > Randy Smith > Amigo.Net Systems Administrator > 1-719-589-6100 x 4185 > http://www.amigo.net/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message