Re: [vpp-dev] NAT44 for TCP/UDP

2022-09-22 Thread filvarga
Hi Ashwini, I am sorry I wasn't able to respond earlier. Basically you have multiple issues here. You are not configuring NAT outside address as suggested by yangbin. Though you can ignore the default route comment you don't need to worry about this to make the example work. Also output-feature

Re: [vpp-dev] NAT44 for TCP/UDP

2022-09-21 Thread yangbin_1638136...@qq.com
There are 2 types of NAT implementation. when you use "in" and "out" at same time. it's PRE-ROUTING NAT when you use "out" with "output-feature" keyword . it's POST-ROUTING NAT. no matter what type of NAT  you choose to use, there are 2 import thing you need to do, first,enable nat second,make

Re: [vpp-dev] NAT44 for TCP/UDP

2022-09-21 Thread yangbin_1638136...@qq.com
I would advise trying command below: nat44 plugin enable sessions 63000 nat44 forwarding enable set nat timeout udp 3000 tcp-established 7440 tcp-transitory 2400 icmp 600 set interface nat44 out  {wan1} output-feature nat44 add static mapping tcp local 192.168.1.20 external 4.4.4.4 nat44 add

Re: [vpp-dev] NAT44 for TCP/UDP

2022-08-16 Thread filvarga
Hi Ashwini, Thank you. I am looking into it. Best regards, Filip Varga po 15. 8. 2022 o 21:33 Ashwini Kadam napísal(a): > Hi Filip, > > Please let me know your thoughts on what the issue is and how it can be > resolved. We are working towards a demo and hoping to use VPP in it. This > is

Re: [vpp-dev] NAT44 for TCP/UDP

2022-08-15 Thread Ashwini Kadam
Hi Filip, Please let me know your thoughts on what the issue is and how it can be resolved. We are working towards a demo and hoping to use VPP in it. This is kind of a blocker right now. Regards, Ashwini Kadam -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.

Re: [vpp-dev] NAT44 for TCP/UDP

2022-08-11 Thread Ashwini Kadam
Hi Filip, Please let me know your thoughts on what the issue is and how it can be resolved. Regards, Ashwini Kadam -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21795): https://lists.fd.io/g/vpp-dev/message/21795 Mute This Topic:

Re: [vpp-dev] NAT44 for TCP/UDP

2022-08-10 Thread Ashwini Kadam
Hi Filip, Please also find attached the VPP trace for tcp data when nat44 forwarding is disabled. Regards, Ashwini Kadam --- Start of thread 0 vpp_main --- Packet 1 00:02:25:661524: dpdk-input wan1920 rx queue 0 buffer 0xff681f: current data 0, length 74,

Re: [vpp-dev] NAT44 for TCP/UDP

2022-08-10 Thread Ashwini Kadam
Hi Filip, The VPP trace for dpdk-input in last email incuded TCP requests from HOST C to Host A by iperf3 server and client via VPP. Please find below the vpp trace for dpdk-input for ICMP ping requests from Host C to Host A via VPP. As mentioned above this work. Incuded trace for comparison.

Re: [vpp-dev] NAT44 for TCP/UDP

2022-08-10 Thread Ashwini Kadam
Hi Filip , Added the following NAT Config vpp# clear trace vpp# trace add dpdk-input 100 vpp# nat44 plugin enable sessions 63000 vpp# nat44 forwarding enable vpp# set interface nat44 in lan vpp# set interface nat44 out wan1920 vpp#  set interface nat44 out wan1930 vpp# nat44 add static mapping

Re: [vpp-dev] NAT44 for TCP/UDP

2022-08-10 Thread filvarga
Hi Ashwini, Can you also please send me a packet trace from VPP ? Thank you. Best regards, Filip Varga ut 9. 8. 2022 o 23:50 Ashwini Kadam napísal(a): > Hi Filip, > > I did try your recommendations . Updated NAT config to as below > > Test Case 1 > nat44 plugin enable sessions 63000 > nat44

Re: [vpp-dev] NAT44 for TCP/UDP

2022-08-09 Thread Ashwini Kadam
Hi Filip, I did try your recommendations . Updated NAT config to as below Test Case 1 nat44 plugin enable sessions 63000 nat44 forwarding enable set nat timeout udp 3000 tcp-established 7440 tcp-transitory 2400 icmp 600 set interface nat44 in lan set interface nat44 out wan1 set interface nat44

Re: [vpp-dev] NAT44 for TCP/UDP

2022-08-09 Thread filvarga
Hi Ashwini, I will look into your issue. But for reference I would advise against using a combination of inside interface and output-feature. OUTPUT-FEATURE or in other words output interface already contains nat44-inside node. Output-feature does postrouting - after ip4-lookup node decides

[vpp-dev] NAT44 for TCP/UDP

2022-08-08 Thread Ashwini Kadam
Hi All, I am trying to make NAT44 ed work for TCP/UDP traffic on my setup. My setup is as follows Host A, Host B <-VPP <- Host C Host A , Host B and Host C can communicate to each other via VPP. The VPP container has two interfaces. My current version of VPP is