Re: [ILUG] help with linuxvirtualserver

From: John P. Looney (john at domain antefacto.com)
Date: Fri 24 Aug 2001 - 13:33:05 IST


On Fri, Aug 24, 2001 at 12:24:26PM +0100, Tim McAuley mentioned:
> Okay... this is driving me mad and I need some help.
>
> I am trying to set-up the LinuxVirtualServer for use in a load balancing
> system and can't get it running correctly, well kind of. Let me explain.
>
> I have a Linux box set-up, running kernel 2.2.19 (also been trying 2.4),
> with the LVS patch. That is running fine. My problem seems to be my network
> set-up of the boxes. Each of the boxes I use has their main address set to
> 192.168.0.<something>. This causes problems with the load balancing because
> the real server can connect to the client directly (using ICMP redirects). I
> did in fact manage to the get the load balancing working with the
> configuration below:
>
> Client: 192.168.0.10 (my PC, Win NT 4)
> Load Balancer 192.168.0.109 & 192.168.2.1
> Real Server 192.168.2.2

> I set this up like so:
> Added 192.168.3.2 using ifconfig to the client, netmask 255.255.255.0,
> eth0:0
>
> Added 192.168.3.1 using ifconfig to the load balancer, netmask
> 255.255.255.0, eth0:0
> Added 192.168.2.2 using ifconfig to the load balancer, netmask
> 255.255.255.0, eth0:0
>
> Added 192.168.2.2 using ifconfig to the real server, netmask 255.255.255.0,
> eth0:0
> route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.2.1 (to bypass
> the default route)

 What's the default gateway of the clients ? Are you sure it's the load
balancer ?

John

-- 
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
    -- Gandalf, paraphrasing the choice between Free and Non-free software


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:48 GMT