Bug 1861294
| Summary: | SNAT rule does not provide ARP response | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Alexander Constantinescu <aconstan> | ||||||
| Component: | ovn2.13 | Assignee: | Numan Siddique <nusiddiq> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | ying xu <yinxu> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | RHEL 8.0 | CC: | ctrautma, dcbw, huirwang, jishi, ralongi | ||||||
| Target Milestone: | --- | Keywords: | TestBlocker | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2020-09-16 16:01:23 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Alexander Constantinescu
2020-07-28 08:50:18 UTC
Created attachment 1702625 [details]
nbdb
Created attachment 1702626 [details]
sbdb
I already spoke to Numan about this on Thursday last week, so he should be aware of the details. I am thus assigning directly to him. FYI: Using "dnat_and_snat" as NAT type does solve the problem. But we don't want to use that as external clients should not be able to target the external IP directly and reach the logical IP. We only want to allow egress traffic for the logical IP. Ingress traffic, targeting the external IP directly from an external client, should be dropped - as is the case if we specify "snat" an type. FYI 2: netserver-0 is hosted on node: ovn-worker2 in this example. I reproduced this issue on version: ovn2.13-20.06.1-6.el8fdp.x86_64 set the snat external ip as not the router ip, then, internal instance can't ping outside. # ping 172.16.103.11 PING 172.16.103.11 (172.16.103.11) 56(84) bytes of data. --- 172.16.103.11 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2003ms verified on version: ovn2.13-20.06.2-1.el8fdp.x86_64 # ovn-nbctl lr-nat-list r1 TYPE EXTERNAL_IP EXTERNAL_PORT LOGICAL_IP EXTERNAL_MAC LOGICAL_PORT snat 172.16.102.2 172.16.102.11 # ping 172.16.103.11 PING 172.16.103.11 (172.16.103.11) 56(84) bytes of data. 64 bytes from 172.16.103.11: icmp_seq=1 ttl=63 time=3.01 ms 64 bytes from 172.16.103.11: icmp_seq=2 ttl=63 time=0.455 ms 64 bytes from 172.16.103.11: icmp_seq=3 ttl=63 time=0.443 ms --- 172.16.103.11 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.443/1.303/3.012/1.208 ms Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (ovn2.13 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:3769 |