LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: How to work with UDP services with LVS.........

To: linux loadbalancing <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: How to work with UDP services with LVS.........
From: Bhartendu Maheshwari <bhartendum@xxxxxxxxxxxxxxx>
Date: 02 Jan 2004 15:47:09 +0530
Dear Joseph Mack,

Thanx for the quick reply.

I am trying to make my own application at udp port 2004. The entries of
ipvsadm are

*******************************************************************************
[root@ha1 root]# ipvsadm -L -n
IP Virtual Server version 1.0.10 (size=65536)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
UDP  192.10.2.229:2004 rr
  -> 192.10.2.234:2004            Route   1      0          0
  -> 192.10.2.233:2004            Local   1      0          0
TCP  192.10.2.229:80 rr
  -> 192.10.2.234:80              Route   1      0          0
  -> 192.10.2.233:80              Local   1      0          0
******************************************************************************

There is one server recving at the port 2004 using INADDR_ANY socket
option in server code. I start tcpdump utility. Now when I connect at
the VIP(in client code) then tcpdump doesn't recieve anything but when I
use RIP(in client code) the UDP packet is received properly and working
fine. I couldn't understand why the server couldn't get packet when
client sent on VIP????

regards
bhartendu

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