Hi Guru, Mickey,

Does OVN currently support PORT based SNAT?  By looking at the code in 
ovn/lib/actions.c, it seems to be doing only IP based NAT.
Can you please confirm?

This is the NAT table entry:

ovn-nbctl lr-nat-list R1

TYPE             EXTERNAL_IP        LOGICAL_IP            EXTERNAL_MAC         
LOGICAL_PORT
snat             public_ip      192.168.1.0/24

When a VM in subnet 192.168.1.0/24 sends traffic to physical network, the 
source IP is getting translated to the “public_ip” but source port is left 
unchanged.

Thanks
Manoj
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to