Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 16:20:54 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        FreeBSD user <freebsd@XtremeDev.com>
Cc:        ben <ben@stonehenge-net.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: load balancing solution?
Message-ID:  <20011116162054.C82661@sunbay.com>
In-Reply-To: <20011115053709.X42395-100000@Amber.XtremeDev.com>
References:  <20011114112833.G43859-100000@www> <20011115053709.X42395-100000@Amber.XtremeDev.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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