From owner-freebsd-questions Fri Nov 16 6:38:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mobilitylab.net (goldorak.ericsson.ca [192.75.89.161]) by hub.freebsd.org (Postfix) with SMTP id 29EFB37B405 for ; Fri, 16 Nov 2001 06:38:36 -0800 (PST) Received: (qmail 91127 invoked by uid 65534); 16 Nov 2001 14:38:35 -0000 Date: 16 Nov 2001 14:38:35 -0000 Message-ID: <20011116143835.91126.qmail@mail.mobilitylab.net> From: "Martin Gignac FreeBSD " To: Ruslan Ermilov , FreeBSD user Cc: , ben , freebsd-questions@FreeBSD.ORG Subject: Re: load balancing solution? X-Mailer: NeoMail 1.25 X-IPAddress: 172.21.2.202 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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 Hi, I use the 'balance' port here. It uses round-robin and works fine. Extremely simple to set up and use. I think the program is only about 18Kb. -Martin > natd(8) can do this as well. > > On Thu, Nov 15, 2001 at 05:40:11AM -0700, FreeBSD user wrote: > > Sounds like ipnat will do what you need. Just port forward requests to > > pub_ip:53 udp/tcp to your internal machines. > > > > rdr xl0 pub_ip port 53 -> named_ip1,named_ip2,named_ip3 port 53 > > round-robin > > > > Seems to me that rule will work for you, long as you set the gateways on > > those named_ip's to the ipnat machine, and it'd be fine. > > > > > > On Wed, 14 Nov 2001, ben wrote: > > > > > i need a quick load balance solution that will provide 1 ip on the front > > > end and round robin balancing on the back end for 2 to 4 servers, as a > > > proof of concept for a project ( and as a way to sneak FreeBSD into the > > > workplace :) . it sounds like i might be able to build this with nat and > > > bind... but i think i remember that ipnat would translate requests > > > _before_ bind would see them, whicn is the opposit of the behavior i want. > > > > > > i looked through the ports collection, and it looks like pen does 'real' > > > load balancing, but for this project, i actually need round-robin (trying > > > to demonstrate that the servers on the back end successfully share their > > > session data) > > > > > > dows pen also do round-robin, or does anyone know of any other quick > > > solutions to this problem? > > > > > > thanks! > > > > > > ben > > -- > Ruslan Ermilov Oracle Developer/DBA, > ru@sunbay.com Sunbay Software AG, > ru@FreeBSD.org FreeBSD committer, > +380.652.512.251 Simferopol, Ukraine > > http://www.FreeBSD.org The Power To Serve > http://www.oracle.com Enabling The Information Age > > 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