Direct routing
Dennis Olvany
dennisolvany at gmail.com
Tue Jan 3 21:56:47 PST 2006
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
More information about the freebsd-net
mailing list