Re: [ovs-discuss] OVN interconnection and NAT

2023-03-16 Thread Tiago Pires via discuss
Hi, With the backports for multiple DGP applied and using --gateway-port, the traffic between AZs is not natted and routed as expected and the traffic to Internet works fine and it is natted. But when I do not use --gateway-port, the traffic to the Internet works fine but the traffic against a

Re: [ovs-discuss] OVN interconnection and NAT

2023-03-15 Thread Han Zhou via discuss
On Wed, Mar 15, 2023 at 1:00 PM Tiago Pires wrote: > > Hi Vladislav, > > It seems the gateway_port option was added on 22.09 according with this commit: https://github.com/ovn-org/ovn/commit/4f93381d7d38aa21f56fb3ff4ec00490fca12614 . > It is what I need in order to make my use case to work, let

Re: [ovs-discuss] OVN interconnection and NAT

2023-03-15 Thread Tiago Pires via discuss
Hi Vladislav, It seems the gateway_port option was added on 22.09 according with this commit: https://github.com/ovn-org/ovn/commit/4f93381d7d38aa21f56fb3ff4ec00490fca12614 . It is what I need in order to make my use case to work, let me try it. Thank you Tiago Pires On Wed, Mar 15, 2023 at

Re: [ovs-discuss] OVN interconnection and NAT

2023-03-15 Thread Vladislav Odintsov via discuss
I’m sorry, of course I meant gateway_port instead of logical_port: gateway_port: optional weak reference to Logical_Router_Port A distributed gateway port in the Logical_Router_Port table where the NAT rule needs to be applied. When multiple distributed

Re: [ovs-discuss] OVN interconnection and NAT

2023-03-15 Thread Odintsov Vladislav via discuss
I’m sorry, of course I meant gateway_port instead of logical_port: gateway_port: optional weak reference to Logical_Router_Port A distributed gateway port in the Logical_Router_Port table where the NAT rule needs to be applied. When multiple distributed

Re: [ovs-discuss] OVN interconnection and NAT

2023-03-15 Thread Vladislav Odintsov via discuss
Hi, since you’ve configured multiple LRPs with GW chassis, you must supply logical_port for NAT rule. Did you configure it? You should see appropriate message in ovn-northd logfile. logical_port: optional string The name of the logical port where the logical_ip resides.

[ovs-discuss] OVN interconnection and NAT

2023-03-15 Thread Tiago Pires via discuss
Hi, In an OVN Interconnection environment (OVN 22.03) with a few AZs, I noticed that when the OVN router has a SNAT enabled or DNAT_AND_SNAT, the traffic between the AZs is nated. When checking the OVN router's logical flows, it is possible to see the LSP that is connected into the transit switch