LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Client and Director in the same machine with IPVS-NAT

To: "Carlos Lozano" <clozano@xxxxxxxxxx>, <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Client and Director in the same machine with IPVS-NAT
From: "Miguel A. Felipe" <michel@xxxxxxxxxxxxxxxxx>
Date: Fri, 2 Jul 2004 13:36:30 +0200
The configuration for client and director in the same machine, is supposed
to be only one client?
I have a configuration of two machines clients and director both with
keepalived and the only thing ia have to do is to use the notify* arguments
in keepalived.conf to remove or add the ip address in the loopback and also
remove the arp for the ip address with scope host with this command:

net/ipv4/conf/lo/arp_ignore=3
net/ipv4/conf/all/arp_ignore=3

-----Mensaje original-----
De: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx]En nombre de Carlos
Lozano
Enviado el: viernes, 02 de julio de 2004 13:24
Para: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Asunto: Client and Director in the same machine with IPVS-NAT



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_a
s_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

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