[ovs-git] [ovn-org/ovn] ff3e11: ovn-northd: Add ARP responder flows for SNAT entries.
noreply at github.com
Tue Aug 11 15:37:54 UTC 2020
Author: Numan Siddique <numans at ovn.org>
Date: 2020-08-11 (Tue, 11 Aug 2020)
ovn-northd: Add ARP responder flows for SNAT entries.
If the below SNAT entry is added:
ovn-nbctl lr-nat-add snat 126.96.36.199 10.0.0.5
And when the logical port with IP - 10.0.0.5, sends a packet destined to
outside, gets SNATted to 188.8.131.52 as expected, but for the reverse traffic
if the upstream switch sends an ARP request for 184.108.40.206, 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 220.127.116.11 happens to be the logical router IP, then it works.
Reported-by: Alexander Constantinescu <aconstan at redhat.com>
Acked-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
(cherry-picked from master commit e2aa124ff7c24e3128951fce13ca24337121ad27)
More information about the git