Hi, I don't think it is working way you wanted since nat44-out2in goes directly to ip4-lookup instead of continue in feature arc to ip4-policer-classify.
Matus -----Original Message----- From: Raj <rajlistu...@gmail.com> Sent: Tuesday, January 22, 2019 3:00 PM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) <matfa...@cisco.com> Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Configuring NAT and Policing together Hi Matus, This is the patch I have made and looks like its working. diff --git a/src/plugins/nat/nat.c b/src/plugins/nat/nat.c index 540d3bf8..ac735e9a 100755 --- a/src/plugins/nat/nat.c +++ b/src/plugins/nat/nat.c @@ -47,6 +47,7 @@ VNET_FEATURE_INIT (ip4_snat_in2out, static) = { VNET_FEATURE_INIT (ip4_snat_out2in, static) = { .arc_name = "ip4-unicast", .node_name = "nat44-out2in", + .runs_before = VNET_FEATURES ("ip4-policer-classify"), .runs_after = VNET_FEATURES ("acl-plugin-in-ip4-fa", "ip4-dhcp-client-detect"), }; Its just first time hacking on VPP code, so do let me know if this is the right way or there is a better way. Thanks and Regards, Raj
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11970): https://lists.fd.io/g/vpp-dev/message/11970 Mute This Topic: https://lists.fd.io/mt/29379239/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-