LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problem with nated virtual ip

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Problem with nated virtual ip
From: Christian Bronk <chbr@xxxxxxxx>
Date: Thu, 27 Apr 2006 16:34:50 +0200

Julian de Anquin schrieb:
> Sorry the 11 subnet for the lvs is 10.1.11.53
> 
> the default gw for the balancer is 10.1.10.1
> How do i disable icmp redirects? i think i didnt

echo 0 > /proc/sys/net/ipv4/conf/all/send_redirects
echo 0 > /proc/sys/net/ipv4/conf/eth0/send_redirects

> cheers
> Julian
> On 4/27/06, Christian Bronk <chbr@xxxxxxxx> wrote:
>> Hi,
>>
>> 1. what is the default gw of the loadbalancer?
>> 2. Have you disabled icmp redirects on the loadbalancer?
>> 3 are you shure that you have the IP 10.1.11.63 on you lvs and your first 
>> realserver?
>>
>> cheers,
>>
>> Chris
>>
>> Julian de Anquin schrieb:
>>> Hi all
>>> Hi facing the following problem with lvs load balancing
>>> I'll try to explain de scenario, if i'm missing something that would
>>> be usefull for you to helpme , please let me know
>>>
>>>
>>> The LVS server has the 10.1.10.53,
>>>
>>> with the 10.1.10.51 as virtual addres this address is made available
>>> to the internet via NAT by a PIX Cisco Firewall
>>> the 10.1.11.63 that;s the internal ip where it comunicates with the
>>> real servers.
>>> and 10.1.11.1 as virtul private ip that is used by the real servers
>>> RealServer 1 has 10.1.11.63 in the internal network with gw 10.1.11.1
>>> and the 10.1.10.63 ip that has access to go to mi database server,
>>> with gw 10.1.10.1
>>>
>>>
>>> The problem is as follows.
>>> If i point to 10.1.10.51, the virtual ip, everything goes fine, the
>>> real serves are reached, they reache the database server, and give the
>>> response back to the client.
>>>
>>> However if the client if on internet, and points to the real ip, eg
>>> 200.xxx.xxx.xxx, that gets nated to 10.1.10.51, the connection hags
>>> and no response its get back to the server.
>>>
>>> Any clue on this? anyone has face the same problem?
>>>
>>>
>>> --
>>> Julian Eduardo de Anquin
>>> thekiwie@xxxxxxxxx
>>> Cordoba, Argentina
>>> _______________________________________________
>>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>>> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>> _______________________________________________
>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>>
> 
> 
> --
> Julian Eduardo de Anquin
> thekiwie@xxxxxxxxx
> Cordoba, Argentina
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users

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