Date: Wed, 4 Jan 2006 14:36:59 +0000 From: Marcin Jessa <lists@yazzy.org> To: Dennis Olvany <dennisolvany@gmail.com> Cc: freebsd-net@freebsd.org, karel.miklav@siol.net Subject: Re: Direct routing Message-ID: <20060104143659.04dd2174.lists@yazzy.org> In-Reply-To: <43BB637F.5050402@gmail.com> References: <43BB5923.7040108@siol.net> <43BB637F.5050402@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 03 Jan 2006 23:56:15 -0600 Dennis Olvany <dennisolvany@gmail.com> wrote: > Karel Miklav wrote: > > I'd like to do something like described on the LVS pages > > http://www.linuxvirtualserver.org/VS-DRouting.html, that is route > > requests to another server and answer from this second server > > directly to the client. How can I do it on FreeBSD? > > You can use lsnat. > > http://www.enterasys.com/products/whitepapers/load-sharing-nat/ > > -redirect_address localIP[,localIP[,...]] publicIP > > These forms of -redirect_port and -redirect_address are used > to transparently offload network load on a single server and > distribute the load across a pool of servers. This function > is known as LSNAT (RFC 2391). For example, the argument > > tcp www1:http,www2:http,www3:http www:http > > means that incoming HTTP requests for host www will be trans- > parently redirected to one of the www1, www2 or www3, where a > host is selected simply on a round-robin basis, without > regard to load on the net. > > http://www.freebsd.org/cgi/man.cgi?query=natd Check also the pf FAQ: http://www.openbsd.org/faq/pf/pools.html section "Load Balance Incoming Connections" Cheers, Marcin Jessa
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060104143659.04dd2174.lists>