From owner-freebsd-questions Fri Nov 16 6:22: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 5D31F37B419 for ; Fri, 16 Nov 2001 06:21:54 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id fAGEKsE23927; Fri, 16 Nov 2001 16:20:54 +0200 (EET) (envelope-from ru) Date: Fri, 16 Nov 2001 16:20:54 +0200 From: Ruslan Ermilov To: FreeBSD user Cc: ben , freebsd-questions@FreeBSD.ORG Subject: Re: load balancing solution? Message-ID: <20011116162054.C82661@sunbay.com> References: <20011114112833.G43859-100000@www> <20011115053709.X42395-100000@Amber.XtremeDev.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011115053709.X42395-100000@Amber.XtremeDev.com> User-Agent: Mutt/1.3.23i 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 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