Re: [vpp-dev] About nat44 translation with multi-tenancy

2021-11-11 Thread Kyosuke Hori
Hello,

Thanks Filip, I understand that vrf 0 means all vrf.

If I want to do nat 44 translation in multitenancy without specifying ports, 
should I enable nat 44 with the following command?
```
vpp# nat44 enable inside-vrf 0 outside-vrf 0
```

Also, if possible, could you share some limitations?

Best regards,

Kyosuke Hori

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20485): https://lists.fd.io/g/vpp-dev/message/20485
Mute This Topic: https://lists.fd.io/mt/86964010/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] About nat44 translation with multi-tenancy

2021-11-10 Thread Filip Varga via lists.fd.io
Hello,

Not exactly. No vrf if nat plugin means ~0 vrf (all vrf’s) so it really depends 
on what vrfs are inside and outside nat interfaces placed on. There is support 
for multi-tenancy in the plugin. There are though some limitations in the 
plugin.

Best regards,
Filip Varga


From: vpp-dev@lists.fd.io  On Behalf Of samjen
Sent: Friday, November 5, 2021 8:59 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] About nat44 translation with multi-tenancy
Importance: High

Hi all,

I’m testing multiple tenants using nat44-plugin.

The app version uses 21.10-release.
```
vpp# sh version
vpp v21-10-release built by root on 912b4c35bcd7 at 2021-10-27T12:54:43
```

I understand that when nat44 is enabled, one inside-vrf and one outside-vrf are 
specified (If not specified, vrf0 is specified).
In the following document:
https://docs.fd.io/vpp/21.10/dd/d6d/clicmd_src_plugins_nat_nat44-ed.html

Given that only one inside-vrf, outside-vrf can be specified, I think that 1vrf 
+ 1tenant and that nat44 translation can not accommodate multi-tenancy.

Here may be the question:
Is there a way to do nat44 translation in multi-tenancy without specifying 
ports?

Any suggestion would be helpful. Thank you.

—
Kyosuke Hori (@samjen)
VPP Development List Member
mail: kyosuke1117su...@gmail.com<mailto:kyosuke1117su...@gmail.com>
—



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20475): https://lists.fd.io/g/vpp-dev/message/20475
Mute This Topic: https://lists.fd.io/mt/86964010/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] About nat44 translation with multi-tenancy

2021-11-05 Thread samjen
Hi all,

I’m testing multiple tenants using nat44-plugin.

The app version uses 21.10-release.
```
vpp# sh version
vpp v21-10-release built by root on 912b4c35bcd7 at 2021-10-27T12:54:43
```

I understand that when nat44 is enabled, one inside-vrf and one outside-vrf are 
specified (If not specified, vrf0 is specified).
In the following document:
https://docs.fd.io/vpp/21.10/dd/d6d/clicmd_src_plugins_nat_nat44-ed.html 


Given that only one inside-vrf, outside-vrf can be specified, I think that 1vrf 
+ 1tenant and that nat44 translation can not accommodate multi-tenancy.

Here may be the question:
Is there a way to do nat44 translation in multi-tenancy without specifying 
ports?

Any suggestion would be helpful. Thank you.

—
Kyosuke Hori (@samjen)
VPP Development List Member
mail: kyosuke1117su...@gmail.com
—


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20431): https://lists.fd.io/g/vpp-dev/message/20431
Mute This Topic: https://lists.fd.io/mt/86835631/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-