[ovs-dev] [PATCH 7/7] ovn-northd: Logical flows for load balancers.

Guru Shetty guru at ovn.org
Tue Jul 5 15:09:12 UTC 2016


On 5 July 2016 at 07:31, Zong Kai LI <zealokii at 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.
>
> 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.
>

On second thoughts, your use case would still not work without a router
connected to your switch. i.e. the VIP itself does not have a MAC address
associated with it.  When a VIP is in a different subnet, the logical port
has to send the packet to the router port. I think, that would be the case
in a non-virtualized world too.



> Thanks.
> Zong Kai, LI
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>



More information about the dev mailing list