LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Hidden patch

To: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Hidden patch
From: Sébastien Bonnet <Sebastien.Bonnet@xxxxxxxxxxx>
Date: Tue, 16 Apr 2002 15:52:17 +0200
Dear all,

I recently switched from LVS-NAT to LVS-DR and thus needed to solve the ARP
issue. I've compiled RedHat's 2.4.9 kernel with Julian's hidden patch, it
works fine.

But when I try a very specific setup, willing to use a node both as a
realserver and a backup director, here comes the problem :(

Actually, I have eth0:2 being the VIP, because at this point,
"backup-and-node" is the director. But when it's not, I still need VIP to be
setup on lo:1 to use "backup-and-node" as a realserver.

I end up with the following config :

[root@backup-and-node root]# cat /proc/sys/net/ipv4/conf/all/hidden
1
[root@backup-and-node root]# cat /proc/sys/net/ipv4/conf/lo/hidden
1
[root@backup-and-node root]# cat /proc/sys/net/ipv4/conf/eth0/hidden
0

[root@backup-and-node root]# ifconfig
eth0    Link encap:Ethernet  HWaddr 00:40:05:5C:C2:04
        inet addr:172.22.48.208  Bcast:172.22.63.255  Mask:255.255.240.0
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0:2  Link encap:Ethernet  HWaddr 00:40:05:5C:C2:04
        inet addr:172.22.48.212  Bcast:172.22.63.255  Mask:255.255.240.0
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

lo      Link encap:Local Loopback
        inet addr:127.0.0.1  Mask:255.0.0.0
        UP LOOPBACK RUNNING  MTU:16436  Metric:1

lo:1    Link encap:Local Loopback
        inet addr:172.22.48.212  Mask:255.255.255.255
        UP LOOPBACK RUNNING  MTU:16436  Metric:1


The problem is that when VIP is setup on both lo:1 and eth0:2,
"backup-and-node" will not answer *any* ARP request for VIP, whereas it
should via eth0 (as far as I understand the purpose of the hidden feature).

Is this a bug or something I haven't understood ? Has anybody already
experienced that ?

TIA

-- 
Sébastien Bonnet
  Ingénieur d'exploitation
  Centre de contacts - Experian France


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