We have 2 flows to do SNAT and d-SNAT (revert SNAT):
table=105, priority=200,ct_state=+new+trk-dnat,ip,reg0=0x20000/0x20000 actions=ct(commit,table=106,zone=65520,na t(src=10.176.26.134),exec(load:0x40->NXM_NX_CT_MARK[]))table=30, priority=200,ip actions=ct(table=31,zone=65520,nat)
We observed that when a packet hits d-SNAT flow, the DST IP is not d-SNATed from time to time. We added some flows to prove our thought:
Related issue: https://github.com/antrea-io/antrea/issues/2289
We have 2 flows to do SNAT and d-SNAT (revert SNAT):
table=105, priority=200,ct_state=+new+trk-dnat,ip,reg0=0x20000/0x20000 actions=ct(commit,table=106,zone=65520,na t(src=10.176.26.134),exec(load:0x40->NXM_NX_CT_MARK[]))
table=30, priority=200,ip actions=ct(table=31,zone=65520,nat)
We observed that when a packet hits d-SNAT flow, the DST IP is not d-SNATed from time to time. We added some flows to prove our thought:
The expected DST IP after d-SNAT is
192.168.194.151
but actually it is10.176.27.78
(unchanged).