Date: Tue, 03 Jan 2006 23:56:15 -0600 From: Dennis Olvany <dennisolvany@gmail.com> To: Karel Miklav <karel.miklav@siol.net> Cc: freebsd-net@freebsd.org Subject: Re: Direct routing Message-ID: <43BB637F.5050402@gmail.com> In-Reply-To: <43BB5923.7040108@siol.net> References: <43BB5923.7040108@siol.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43BB637F.5050402>