LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Client and Director in the same machine with IPVS-NAT

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Client and Director in the same machine with IPVS-NAT
From: Carlos Lozano <clozano@xxxxxxxxxx>
Date: Fri, 2 Jul 2004 13:24:09 +0200
Hello,

We have a machine here what must be client and director,
and it wasn't working (2 problems, ipvs doesn't handle loopback
packets, and the return packets are handled by ip_vs_in, and
not by ip_vs_out). In this page:

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.realserver_director_as_client.html

there is some notes for client+director but using IPVS-DR.
I have written a patch for support client+director using
IPVS-NAT. It is only a poor hack, but it works correctly
in my testcase, so i decided to send to the list for what
people with the same problem can "play" with the patch.

It is for the kernel 2.4.26.

Regards,
Carlos.

-- 
 ___         _          \  |  /  Consulting
| . |._ _  _| | ___  ___  ___    http://www.andago.com
|   || ' |/ . |<_> |/ . |/ . \__ GNU/Linux
|_|_||_|_|\___|<___|\_. |\___/     _ \  __|\ \  /
 Carlos A. Lozano   <___'/ | \ -_) __/\__ \ >  <  -_)
 [ carlos.lozano@xxxxxxxxxx ]\___|_|  ____/ _/\_\___|
 [ calb@xxxxxxxxx           ]  http://www.ePSXe.com

Attachment: ip_vs_core.c.diff
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>