Re: [vpp-dev] NAT44 and rate limiting

2019-04-18 Thread carlito nueno
I used John's exact setup. I added policer to loop5 and lan0 configure policer name policy2 type 1r2c cir 500 cb 5000 rate kbps conform-action transmit exceed-action drop classify table mask l3 ip4 src classify session policer-hit-next policy2 table-index 0 match l3 ip4 src 10.8.200.2 set

Re: [vpp-dev] NAT44 and rate limiting

2019-04-18 Thread carlito nueno
John, from your packet trace: 00:01:47:426336: ip4-input-no-checksum TCP: 10.8.200.1 -> 10.8.200.2 tos 0x00, ttl 64, length 52, checksum 0x96b0 fragment id 0x, flags DONT_FRAGMENT TCP: 80 -> 18995 seq. 0x732f1a24 ack 0x702b5a27 flags 0x12 SYN ACK, tcp header: 32 bytes

[vpp-dev] 6rd

2019-04-18 Thread via Lists.Fd.Io
Hi, I would like to configure my VPP instance as a 6rd CPE but I don’t see from the “create 6rd tunnel “ command any option to specify the BR IPv4 address so my container connected behind VPP can reach IPv6 host outside of the 6rd domain. Thanks, Laurent -=-=-=-=-=-=-=-=-=-=-=- Links: You

Re: [vpp-dev] sw_interface_dump changes

2019-04-18 Thread Paul Vinciguerra
Hi Matt. If you look at https://gerrit.fd.io/r/#/c/18693/5/test/vpp_papi_provider.py, the field was set to default to ~0 for the python client. When I made the change, I chose to do it this way to make the api fall more in line with other calls such as l2_interface_efp_filter and

[vpp-dev] sw_interface_dump changes

2019-04-18 Thread Matthew Smith
Hi, It looks like in https://gerrit.fd.io/r/#/c/18693/ the message format and handler for sw_interface_dump changed in a backwards-incompatible way. It's not too difficult to correct for, but it seems like any API clients that used this call might be broken. Some code that I maintain that

Re: [vpp-dev] Using wildcard-ip4-arp-publisher-process

2019-04-18 Thread John Lo (loj) via Lists.Fd.Io
More info from the want_ip4_arp_events API (see src/vnet/ip/ip.api) where the mac_ip param in the events will tell the client if the event is for ARP resolution in L# or MAC/IP info in BDs: /** \brief Register for IP4 ARP resolution event on receing ARP reply or MAC/IP info from ARP

Re: [vpp-dev] Using wildcard-ip4-arp-publisher-process

2019-04-18 Thread John Lo (loj) via Lists.Fd.Io
Hi Raj, The registration for ARP events with specific IP is different to when registration for a wild card IP. If a client register for ARP events for a specific IP address, an event will be sent by VPP to the client when ARP resolution occurred for the specified IP address in L3 FIB. If a

Re: [vpp-dev] VPP PPPoE Plugin

2019-04-18 Thread John Lo (loj) via Lists.Fd.Io
Hi Abeeha, I submitted a patch to gerrt.fd.io to remove output nodes for PPPoE. https://gerrit.fd.io/r/#/c/18993/ Would you like to try if it fixes your node index out of range issue? I expect the patch can easily be cherry-picked to 1901. Regards, John From: vpp-dev@lists.fd.io On Behalf

[vpp-dev] Using wildcard-ip4-arp-publisher-process

2019-04-18 Thread Raj
Hi all, I am trying to get ARP events from VPP and found that there is a 'wildcard-ip4-arp-publisher-process' process which could be used. To use this, I registered a client using API `vpp.api.want_ip4_arp_events` using 0 as IP address argument. I could see that registration is happening and