LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR UDP Service probem

To: Mike Machado <mmachado@xxxxxx>
Subject: Re: LVS-DR UDP Service probem
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Fri, 20 Aug 2004 21:19:29 +0300 (EEST)
        Hello,

On Fri, 20 Aug 2004, Mike Machado wrote:

> I was able to change my voip application to just BIND to the VIP, but
> due to the nature of this application, it needs to be able to
> communicate on both the VIP and the RIP, I just want reply packets to
> use the same source IP and the inbound packets.
>
> Anyone come across this problem for UDP applications, along with a
> possible solution?

        What about using IP_PKTINFO in sendmsg, "srcip" is your server
IP used in each request packet as daddr:

example:
http://www.ussg.iu.edu/hypermail/linux/kernel/0406.1/0771.html

thread:
http://www.ussg.iu.edu/hypermail/linux/kernel/0406.1/index.html#0247

Regards

--
Julian Anastasov <ja@xxxxxx>

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