Hi Amjad,
I am adding geni-users for wider distribution.
Although I don't know what type of controller you are running, or what
type of OVS, but my guess is that you are running a user space OVS
(maybe from one of the online tutorials) and you are only using Xen VMS.
This is a known problem, where for some reason although the traffic
makes it to the interface of the VM it is not delivered to the
application. To verify that can you run a tcpdump -i eth1 on the server
and verify that the packets are getting to the interface from the client?
One solution is to use a different image that has kernel OVS installed.
Unfortunately we haven't had a chance to fully test it.
Please start a new slice and setup your topology this time using this
URL as the image for the OVS:
https://www.utahddc.geniracks.net/image_metadata.php?uuid=37d27f35-77ea-11e3-a957-000000000000
Let us know if that fixed your problem.
Good luck,
Niky
Md. Amjad Hossain wrote:
> Hi,
>
> I have a linear topology ( client --- OVS --- Server) with middle one setup
> with OpenVswitch. I can ping from client machine to server machine ( and
> vis-va) when controller is running ( here controller resides in the same
> machine where OVS running) .
>
> I need to connect a c++ client to the server through socket. I can connect
> it using server IP of eth0 ( console port) but can't connect when I use IP
> of eth1 for the server. The switch works with IP of eth1 ( as all machine's
> eth0 are in same network, so, they don't need the switch and controller
> functional).
>
>
> Please help me. how can I solve the problem to make connect between client
> and server sockets through OVS.
>
> Please have a look to my topology for more details. When I am trying to
> connect
10.10.10.2:30001 from client, the OVS shows it is forwarding
> something, but finally the client windows shows "can't bind the port".
>
> Regards
> Amjad
>