On Tue, 03 Jan 2006 23:56:15 -0600 Dennis Olvany <[EMAIL PROTECTED]> 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 _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"