Re: [vpp-dev] do not SNAT if forwarding enabled

2019-11-14 Thread carlito nueno
Hi all, Anyone get this working? When I enable nat44 forwarding, all NAT translations stop working. example - 110.21.22.12 is the IP address of my wan0. I have: set interface nat44 in loop0 out wan0 Without forwarding: vpp# sh nat44 sessions NAT44 sessions: thread 0 vpp_main: 2240 sess

Re: [vpp-dev] do not SNAT if forwarding enabled

2019-04-15 Thread Shahid Khan
Hi Ole, any finding on it ? are u able to reproduce it ? -Shahid. On Thu, Apr 11, 2019 at 1:32 PM Shahid Khan via Lists.Fd.Io wrote: > There is another physical port bridged to loop1 which is on > 192.168.15.0/24 network. > .the packets coming inside GRE tunnel are for 192.168.15.0/24 >

Re: [vpp-dev] do not SNAT if forwarding enabled

2019-04-11 Thread Shahid Khan
There is another physical port bridged to loop1 which is on 192.168.15.0/24 network. .the packets coming inside GRE tunnel are for 192.168.15.0/24 network. also just want to understand why SNAT is blocked when forwarding is enabled ? someone might have a requirement to SNAT first and then do

Re: [vpp-dev] do not SNAT if forwarding enabled

2019-04-11 Thread Ole Troan
Shahid, Right, so the GRE packets shouldn’t go through the NAT at all. Are the GRE tunnel itself marked as inside? I should have thoguht this was supported with https://jira.fd.io/browse/VPP-447 Let me see if I can reproduce., Best regards, Ole > On 10 Apr 2019, at 12:55, Shahid Khan wrote: >

Re: [vpp-dev] do not SNAT if forwarding enabled

2019-04-10 Thread Shahid Khan
Hi Ole, we have a bridge(loop0) with a private ip say 192.168.100.2/24. a TAP is also connected to this bridge and other end of TAP is on host side. we have one physical interface connected to another bridge (loop1) with outside network ip of say 192.168.10.1/24 and a GRE tunnel is created having

Re: [vpp-dev] do not SNAT if forwarding enabled

2019-04-10 Thread Ole Troan
Hi Shahid, What are you trying to achieve? https://wiki.fd.io/view/VPP/NAT#Enable_or_disable_forwarding You do not typically enable the “forwarding” feature. Cheers, Ole > On 8 Apr 2019, at 07:52, Shahid Khan wrote: > > can someone look into below query ? > > -Shahid. > > On Wed, Apr 3, 201

Re: [vpp-dev] do not SNAT if forwarding enabled

2019-04-07 Thread Shahid Khan
can someone look into below query ? -Shahid. On Wed, Apr 3, 2019 at 12:56 PM Shahid Khan via Lists.Fd.Io wrote: > Hi, > > can someone help us on below query ? > > -Shahid. > > On Mon, Apr 1, 2019 at 11:45 AM Shahid Khan via Lists.Fd.Io > wrote: > >> >> I have following query related to SNAT on

Re: [vpp-dev] do not SNAT if forwarding enabled

2019-04-03 Thread Shahid Khan
Hi, can someone help us on below query ? -Shahid. On Mon, Apr 1, 2019 at 11:45 AM Shahid Khan via Lists.Fd.Io wrote: > > I have following query related to SNAT on VPP Release 19.0.1.02 > > following is the code from vpp/src/plugins/nat/in2out.c > > static inline int > snat_not_translate (snat_