Hi Brayan, I am having the same issue as well. Unfortunately, I am not familiar with NAT code, so am not able to fix the issue.
My previous threads: https://lists.fd.io/g/vpp-dev/message/14353 https://lists.fd.io/g/vpp-dev/message/14055 Hope we can consolidate all those into one thread. Thanks! On Mon, Oct 28, 2019 at 1:41 AM brayan ortega <brayan.ortega6...@gmail.com> wrote: > Dear VPP Folks, > > I checked vpp behavior when nat is enabled. I'm using vpp version of > v20.01-rc0 on master branch. > > I configured a simple nat scenario with nat44. > My config is shown below: > > vppctl set int state GigabitEthernet13/0/0 up > vppctl set int state GigabitEthernet14/0/0 up > vppctl set int ip address GigabitEthernet13/0/0 2.2.2.1/24 > vppctl set int ip address GigabitEthernet14/0/0 3.3.3.1/24 > vppctl ip route add 16.0.0.0/16 via 3.3.3.3 > vppctl ip route add 48.0.0.0/16 via 2.2.2.2 > vppctl nat44 add address 20.20.20.20 - 20.20.20.30 > vppctl set interface nat44 out GigabitEthernet13/0/0 output-feature > vppctl nat44 forwarding enable > > I used Trex as traffic generator on my client. The problem was seen in > this scenario is: > The nat sessions aren't clean up not only per time-out or expiration time > but also when the session table is full. So, after a while, the Trex > throughput reaches zero when nat session table is full. > > I use "vppctl sh nat44 sess" and "vppctl sh nat44 hash table" commands in > order to check nat44 sessions status. sessions deletion has not happened > never. > > Is there any config to enable the cleanup process in order to delete nat > sessions? or this is nat44 bug? > > I appreciate your feedback in this regard, > > Best Regards, > Brayan > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#14365): https://lists.fd.io/g/vpp-dev/message/14365 > Mute This Topic: https://lists.fd.io/mt/38876666/675621 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [carlitonu...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14382): https://lists.fd.io/g/vpp-dev/message/14382 Mute This Topic: https://lists.fd.io/mt/38876666/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-