Hi Andreas,

> I'm trying to run multiple CGNAT setup with the same VPP instance. Each CGNAT 
> is supposed to be bound to a unique combination of in/out interface (each 
> interface has a different IP table).
> 
> What I have found so far is that this does not work. VPP currently can have 
> only a single, global CGNAT instance. Tested (and checked in the sources) on 
> VPP 20.09 and git master.
> 
> My questions now are: Is that correct and has there been any work on 
> extending CGNAT to support multiple instances?

Yes, that's correct. We have been thinking about multi-instance support for the 
various flavours of NAT.
There are parts of it, in per-pool VRF support and so on.

To some extent you can think if the NAT being architecturally multi-instance in 
the way worker support is implemented. By basically splitting the state space 
across workers, so that each worker works in (almost) isolation. It shouldn't 
be particularly hard to do, if you like to have a go.

The workaround for now, would be to just use multiple VPP instances.

Best regards,
Ole

Attachment: signature.asc
Description: Message signed with OpenPGP

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

Reply via email to