Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2002 08:26:11 -0600 (MDT)
From:      Randy Smith <randys@amigo.net>
To:        Alexander V Zubchenko <stalker@hermes-comp.zp.ua>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: IPFW as load balancer
Message-ID:  <20020618082248.G6594-100000@stalker.amigo.net>
In-Reply-To: <20020618085310.H12511-100000@server.hermes-comp.zp.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 18 Jun 2002, Alexander V Zubchenko wrote:

> 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" <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 <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).

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020618082248.G6594-100000>