[ovs-dev] [PATCH ovn v2] ovn-northd: Add ARP responder flows for SNAT entries.

Numan Siddique numans at ovn.org
Tue Aug 11 15:38:31 UTC 2020


On Tue, Aug 11, 2020 at 5:44 PM Dumitru Ceara <dceara at redhat.com> wrote:
>
> On 8/11/20 12:16 PM, numans at ovn.org wrote:
> > From: Numan Siddique <numans at ovn.org>
> >
> > If the below SNAT entry is added:
> > ovn-nbctl lr-nat-add snat 172.168.0.120 10.0.0.5
> >
> > And when the logical port with IP - 10.0.0.5, sends a packet destined to
> > outside, gets SNATted to 172.168.0.120 as expected, but for the reverse traffic
> > if the upstream switch sends an ARP request for 172.168.0.120, then OVN doesn't
> > reply and the reply traffic never reaches the logical port.
> >
> > This patch fixes this issue by addding ARP responder flows for SNAT entries.
> >
> > Note that, if 172.168.0.120 happens to be the logical router IP, then it works.
> >
> > Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1861294
> > Reported-by: Alexander Constantinescu <aconstan at redhat.com>
> > Signed-off-by: Numan Siddique <numans at ovn.org>
> > ---
>
> Looks good to me, thanks!
>
> Acked-by: Dumitru Ceara <dceara at redhat.com>
>

Thanks Dumitru. I applied this patch to master and branch-20.06

Numan

>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


More information about the dev mailing list