From owner-freebsd-questions Thu Nov 15 4:40:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.XtremeDev.com (xtremedev.com [216.241.38.65]) by hub.freebsd.org (Postfix) with ESMTP id C3FEE37B41C for ; Thu, 15 Nov 2001 04:40:17 -0800 (PST) Received: from xtremedev.com (xtremedev.com [216.241.38.65]) by mail.XtremeDev.com (Postfix) with ESMTP id 2340870607; Thu, 15 Nov 2001 05:40:11 -0700 (MST) Date: Thu, 15 Nov 2001 05:40:11 -0700 (MST) From: FreeBSD user To: ben Cc: freebsd-questions@freebsd.org Subject: Re: load balancing solution? In-Reply-To: <20011114112833.G43859-100000@www> Message-ID: <20011115053709.X42395-100000@Amber.XtremeDev.com> 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 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 > > > 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