Re: [vpp-dev] nat44-ed distinct pool for out if

2022-09-29 Thread filvarga
You are very welcome. Best regards, Filip Varga st 28. 9. 2022 o 16:32 Amir Hossein <1377amirhossein1...@gmail.com> napísal(a): > Oh you're right. > thanks to your guidance i was able to reach correct configuration. > thanks a lot! > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages

Re: [vpp-dev] nat44-ed distinct pool for out if

2022-09-28 Thread Amir Hossein
Oh you're right. thanks to your guidance i was able to reach correct configuration. thanks a lot! -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21943): https://lists.fd.io/g/vpp-dev/message/21943 Mute This Topic: https://lists.fd.io/mt/93820447/216

Re: [vpp-dev] nat44-ed distinct pool for out if

2022-09-24 Thread filvarga
"Using vrf routes and tables affect selected tx_fib_index but address allocation for snat(nat_ed_alloc_addr_and_port function) is based on rx_fib_index." - Pretty sure that's not true at all I would know as a maintainer of nat :). If tx_fib_index is supplied then resolution of the pool address is

Re: [vpp-dev] nat44-ed distinct pool for out if

2022-09-24 Thread Amir Hossein
thanks for your detail answer. but again my goal is to have separate nat ip pool per output interface. in my case i have one in interface and two out if, i want out if1 uses nat ip address A  and out if2 uses nat ip address B. using vrf routes and tables affect selected tx_fib_index but address al

Re: [vpp-dev] nat44-ed distinct pool for out if

2022-09-22 Thread filvarga
Hi Amir, If I understand your use case correctly you have 2 inside and 2 outside interfaces. 2 outside belong to two different ISPs. You want communication entering inside interface one to go through let's say outside interface one and vice versa for the other two. inside 1 <-> outside 1 inside 2

Re: [vpp-dev] nat44-ed distinct pool for out if

2022-09-22 Thread Amir Hossein
Hi Filip, thanks for suggestion, so i can have a vrf(rx) use nat ip pool from another tenant vrf? I'm a little confused about using nat vrf routes can you give me an example? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21911): https://lists.fd.io

Re: [vpp-dev] nat44-ed distinct pool for out if

2022-09-22 Thread Amir Hossein
Hi Ole , thanks for hint, but i can't see how using output-feature helps me to have different pool for out interface?(a->fib_index == rx_fib_index is in tx_sw_if_index != ~0 too) can you elaborate more pls? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/

Re: [vpp-dev] nat44-ed distinct pool for out if

2022-09-21 Thread filvarga
Hi, I would suggest checking vrf table implementation in NAT44-ED that enables restriction of passing packets between different VRFs for more information check commit 691c630b79ec2230b67944c8a9f77f95b49d95ad Meanwhile I will look if there is something else to use. If I find something I will respo

Re: [vpp-dev] nat44-ed distinct pool for out if

2022-09-21 Thread Ole Troan
Hi Amir, Have you tried configuring the NAT with “output-feature” enabled? Best regards, Ole > On 21 Sep 2022, at 06:43, Amir Hossein <1377amirhossein1...@gmail.com> wrote: > >  > Hi, > I'm working with nat44-ed plugin and I found that we can set a distinct nat > ip pool for each in if (with

[vpp-dev] nat44-ed distinct pool for out if

2022-09-20 Thread Amir Hossein
Hi, I'm working with nat44-ed plugin and I found that we can set a distinct nat ip pool for each in if (with tenant-vrf) and we can have multiple out if. But is there a way to have a distinct nat ip pool for each out if? Imagine a scenario in which a host connects to two isps (with two if each wit