Got the correct syntax now, I think the 22.06 or other similar
version documentation (Cloud NAT section under SourceNATing outgoing
traffic) needs to be updated?:

*set cnat snat-policy xxxx*

Thanks

On Tue, Dec 20, 2022 at 7:47 PM Christopher Adigun via lists.fd.io
<futuredon=gmail....@lists.fd.io> wrote:

> Hi,
>
> I am trying to use the CNAT plugin but each time I try to configure it I
> am getting error that it is unknown:
>
>
>
>
>
>
> *vpp# show versionvpp v22.10-release built by root on ff42e25458af at
> 2022-10-26T14:00:24vpp#vpp#vpp# cnat snatcnat: unknown input `snat'*
>
> I checked that it is part of the plugins:
>
>
>
>
>
>
>
>
> *root@nat-gw-857cbcd7b4-wzbh7:/vpp# vppctl show plugins | grep nat 12.
> pnat_plugin.so                           22.10-release
>  Policy 1:1 NAT 14. crypto_native_plugin.so                  22.10-release
>                    Intel IA32 Software Crypto Engine 32. cnat_plugin.so
>                       22.10-release                    CNat Translate 39.
> nat_plugin.so                            22.10-release
>  Network Address Translation (NAT) 46. nat64_plugin.so
>      22.10-release                    NAT64 59. nat44_ei_plugin.so
>               22.10-release                    IPv4 Endpoint-Independent
> NAT (NAT44 EI) 68. nat66_plugin.so                          22.10-release
>                  NAT66*
>
> Also only *translation *is the available option I am getting:
>
>
> *vpp# cnat ?  cnat translation                         cnat translation
> [add|del] proto [TCP|UDP] [vip|real] [ip|sw_if_index [v6]] [port] [to
> [ip|sw_if_index [v6]] [port]->[ip|sw_if_index [v6]] [port]]*
>
> I am using the ligato container image.
>
> I have tried almost all the recent vpp releases, (from 22.02 upwards) and
> it's the same error I am getting.
>
> What could be wrong?
>
> Thanks
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22357): https://lists.fd.io/g/vpp-dev/message/22357
Mute This Topic: https://lists.fd.io/mt/95798072/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to