From owner-freebsd-ipfw Mon Apr 8 0:37:21 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 19C2537B405 for ; Mon, 8 Apr 2002 00:37:12 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g387akF50473; Mon, 8 Apr 2002 10:36:46 +0300 (EEST) (envelope-from ru) Date: Mon, 8 Apr 2002 10:36:46 +0300 From: Ruslan Ermilov To: Giannis Nikopoulos Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: Load balancing with NATD Message-ID: <20020408073646.GE45269@sunbay.com> References: <200204071726.UAA12257@pontus.cs.uoi.gr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vv4Sf/kQfcwinyKX" Content-Disposition: inline In-Reply-To: <200204071726.UAA12257@pontus.cs.uoi.gr> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --vv4Sf/kQfcwinyKX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Search for "LSNAT" in the natd(8) manpage. On Sun, Apr 07, 2002 at 08:26:32PM +0300, Giannis Nikopoulos wrote: > Hello everybody !!! >=20 > I 'm just a new member of both the FreeBSD world and this list > so I hope you will bare with my ignorance. >=20 > This is the problem: >=20 > I have a FreeBSD 4.5 running as a router between the outer world and > a private network (192.168.0.0) of 3 servers. I use natd to handle > traffic between the outer world and the PN. My goal (as part of a simple > university course project) is to perform load balancing among the 3 > back-end servers. I 've written down a load balancing algorithm, that > uses reporting agents running on the 3 servers and reporting their load > on a central coordinator running on the FreeBSD router. The question is: >=20 > How can I use natd (or maybe another tool, say ipfw or some proxy, I don't > know) in order to dynamically dispatch (redirect) incoming connections > among the 3 back-end servers. As far as I can tell, natd performs redirec= tion > (along with address translation) but in a static way (correct me if I 'm > wrong, I 've already explained I 'm new to this stuff).=20 >=20 > Is there any I way I can instruct natd to selectively choose to which ser= ver > it will redirect a connection by applying a set of rules or I will have to > hack into natd's source code. >=20 > I don't know if I should have provided more feedback on this case but or = be > a little more specific. Can anyone help ? >=20 > Thanx in advance >=20 > --=20 > Ioannis K. Nikopoulos > Postgraduate Student and Reasearcher > Computer Science Department > University of Ioannina > GREECE --=20 Ruslan Ermilov Sysadmin and 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 --vv4Sf/kQfcwinyKX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8sUiOUkv4P6juNwoRAp7XAJ9/WAH0wXjsmNcAVL0OtX9kIGbqRwCfdaaF hmdxzN+cFkayUcj+EmFJtFc= =RUNW -----END PGP SIGNATURE----- --vv4Sf/kQfcwinyKX-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message