[ovs-dev] [PATCH] ovn: Do not reply to ARP or ND NS for a VM's own IP address.

Ben Pfaff blp at ovn.org
Fri Sep 30 15:32:59 UTC 2016


On Fri, Sep 30, 2016 at 04:45:22PM +0500, Valentine Sinitsyn wrote:
> Hi Ben,
> 
> On 30.09.2016 02:55, Ben Pfaff wrote:
> >On Thu, Sep 29, 2016 at 12:15:36PM -0700, Han Zhou wrote:
> >>On Thu, Sep 29, 2016 at 11:31 AM, Ben Pfaff <blp at ovn.org> wrote:
> >>>
> >>>When a VM sends an ARP or an ND NS for its own IP address, it is trying to
> >>>check for a duplicate address in the network.  OVN needs to suppress the
> >>>reply in such a case, otherwise the VM thinks that its address is a
> >>>duplicate.
> >>>
> >>>Reported-by: Valentine Sinitsyn <valentine.sinitsyn at gmail.com>
> >>>Reported-at:
> >>http://openvswitch.org/pipermail/dev/2016-September/080037.html
> >>>Signed-off-by: Ben Pfaff <blp at ovn.org>
> >>
> >>+1
> >>
> >>It will also solve a problem when there are nested VMs (or network
> >>namespaces) within the source VM, connected to VM port by a bridge inside,
> >>sending ARP for the VM's IP, they would get duplicated responses.
> >
> >Thanks for the review.
> >
> >I'm hoping to hear from Valentine whether this fixes the originally
> >reported problem in practice.
> First of all, thanks for the patch. In fact, we tried a pretty similar
> approach yesterday, and it seemed to help. Your patch solves the problem as
> well.
> 
> Tested-by: Valentine Sinitsyn <valentine.sinitsyn at gmail.com>

Thanks for testing!

I applied this to master and branch-2.6.



More information about the dev mailing list