This is a port of Carlos Lozano's 2.4 patch[1] to 2.6.16. I believe
Carlos's comments about the original 2.4 patch still pertain here:
We have a machine that must be both a client and director. The
two problems to solve are:
* ipvs doesn't handle loopback packets
* the return packets are handled by ip_vs_in, and not
by ip_vs_out.
With kernel 2.6 there's an additional problem to solve:
* there's a shortcut used to recompute the tcp checksum that doesn't
work in this case
The attached patch fixes the problems listed above.
1.
http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.LVS-NAT.html#carlos_solution
ipvs_loopback.patch
Description: Text document
|