On 5 July 2016 at 07:31, Zong Kai LI <zealo...@gmail.com> wrote:

> Hi, Ben and Guru. I tried to test lb feature on my OpenStack env, but
> failed.
> The simplest topology, three VMs(cirros) and VIP are on the same switch.
> VM2 and VM3 are endpoints for the VIP.
> I tried to use ping and ssh to test VIP, but things don't work.
>
Yeah, the current feature works when the destination endpoints (servers)
are in a different subnet than the client. i.e. there has to be a router
in-between. The documentation should have clarified that, sorry!

I have a patch in my tree here that works for your use case too.
https://github.com/shettyg/ovs/commit/f961026fc0dd4645e5bcf1e819b8de99a7c3f95a

I will clean it up (i.e. add documentation) and send it out for review.



>
> I think it should be arp issue.
> First, in table ls_in_arp_rsp, there is no flow entry to response for VIP.
> Second, in table ls_in_l2_lkup, it will determine which port to output per
> packet eth.dst. I'm not familiar with with conntrack, but it seems have
> nothing to process on packet L2 address, when I run "conntrack -L". So I
> suppose this is another place will cause load balance failure.
>
> Thanks.
> Zong Kai, LI
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to