LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] How to make LVS Direct Route work for UDP programs?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] How to make LVS Direct Route work for UDP programs?
From: wang yi <leonis.wang@xxxxxxxxx>
Date: Wed, 23 Nov 2011 22:45:58 +0800
Yes, I tried to make my application listen to real IP / virtual IP /
INADDR_ANY, not working.

But I think the problem isn't that.
As I mentioned in the original post, the LVS router seemed not
delivering client packets to real servers, instead, it generated ICMP
message(Destination unreachable), and the packets may be dropped.

Wang

On Wed, Nov 23, 2011 at 6:30 PM, Roger Littin <roger@xxxxxxxxxxxxx> wrote:
> Hi,
>
> I think you need to set your application on the real servers to listen to the 
> udp port on all ip's or at least the real ip and then it needs to respond to 
> the client on the vip.
>
> Roger.
>
> On 23/11/2011, at 10:06 PM, wang yi wrote:
>
>> Hi, all
>>    I've set up LVS with DR mode for Apache, it worked OK. Then I set
>> up another Virtual Service for an UDP based program on the same boxes,
>> but it won't work.
>>
>>   Running Wireshark on the director showed that it got the UDP
>> packets from client, but responsed these packets with an ICMP message,
>> Destination unreachable (Port unreachable)
>>
>>   I cannot find any information about this. Anything special about
>> UDP based program?
>>   Regards.
>> Leo
>>
>> _______________________________________________
>> Please read the documentation before posting - it's available at:
>> http://www.linuxvirtualserver.org/
>>
>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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