LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: wang yi <leonis.wang@xxxxxxxxx>, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] How to make LVS Direct Route work for UDP programs?
From: wang yi <leonis.wang@xxxxxxxxx>
Date: Fri, 25 Nov 2011 14:48:15 +0800
On Wed, Nov 23, 2011 at 6:23 PM, Simon Horman <horms@xxxxxxxxxxxx> wrote:
> On Wed, Nov 23, 2011 at 05:06:34PM +0800, 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?
>
> Hi Wang,
>
> there shouldn't be anything particularly special about UDP.
> Do you have a UDP (-u) virtual service configured as well
> as the original TCP (-t) virtual service?
>

Hi, all

    It turned out that the UDP service configured with the
nice-looking Piranha is not working!
    OMG!!!

    Simon's post inspired me, so I reconfigured UDP-based virtual
service with ipvsadm in a console, and it worked.

    So, a lesson for those who have problems with LVS using Piranha,
forget about Piranha and try other ways to configure your service.

cheers
Wang

_______________________________________________
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>