Re: [ovs-dev] [PATCH] ovn: Support ARP proxy in logical switches.

2017-01-31 Thread Han Zhou
On Tue, Jan 31, 2017 at 2:49 PM, Ben Pfaff wrote: > > On Thu, Jan 05, 2017 at 12:33:51AM -0800, Han Zhou wrote: > > On Wed, Jan 4, 2017 at 3:29 PM, Ben Pfaff wrote: > > > However, I'm concerned about the general utility here. I usually think > > > of proxy ARP as

Re: [ovs-dev] [PATCH] ovn: Support ARP proxy in logical switches.

2017-01-31 Thread Ben Pfaff
On Thu, Jan 05, 2017 at 12:33:51AM -0800, Han Zhou wrote: > On Wed, Jan 4, 2017 at 3:29 PM, Ben Pfaff wrote: > > However, I'm concerned about the general utility here. I usually think > > of proxy ARP as being used for the kinds of applications you see in the > > wikipedia on proxy

Re: [ovs-dev] [PATCH] ovn: Support ARP proxy in logical switches.

2017-01-13 Thread Ben Pfaff
On Mon, Jan 09, 2017 at 04:08:08PM -0800, Han Zhou wrote: > This is an intermediate solution because a better way to do it is to > utilize the load-balancing feature of OVN to replace kubeproxy completely, > and the problem won't exist at all. It just takes more effort to integrate > and we are

Re: [ovs-dev] [PATCH] ovn: Support ARP proxy in logical switches.

2017-01-10 Thread Bruce Davie
Han, Thanks - that makes sense to me. I can’t claim that this is a hugely general feature, but your use case seems legit to me (with the caveat that I’m no k8s expert). Bruce On Jan 9, 2017, at 4:08 PM, Han Zhou > wrote: Hi Bruce, This feature is

Re: [ovs-dev] [PATCH] ovn: Support ARP proxy in logical switches.

2017-01-09 Thread Han Zhou
Hi Bruce, This feature is useful for me. I had the concern because the use case for me is intermediate. It is for k8s integration. In k8s there is a kubeproxy running on each host to do service-ip NATting, and I am using OVS (programmed by OVN) to connect host network namespace to containers (and

Re: [ovs-dev] [PATCH] ovn: Support ARP proxy in logical switches.

2017-01-05 Thread Han Zhou
On Wed, Jan 4, 2017 at 3:29 PM, Ben Pfaff wrote: > > [adding Bruce to leverage his knowledge of networking, if he's willing] Thanks! It would be great to get some views from networking experts. > > It seems like the mechanics of this patch are mostly OK. There is at > least one

[ovs-dev] [PATCH] ovn: Support ARP proxy in logical switches.

2016-12-22 Thread Han Zhou
This patch support "arp_proxy" option for logical switch ports. If a lsp with arp_proxy=true, all the arp request to known ipv4 addresses on the ls will be responded with the arp proxy lsp's MAC address, except when the arp request come from the arp proxy lsp itself. Signed-off-by: Han Zhou