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 client register for ARP events for a wild card IP address, an event will be sent by VPP to client when an ARP request was sent by an interface in a bridge domain (BD) where the ARP-termination feature is enabled in that BD. It has nothing to do with ARP resolution but rather an interface in a BD sent an ARP request or GARP. It is designed for clients to learn MAC and IP of an interface in a BD which can be useful if these are interfaces for VMs. Again - these events are generated from a BD for the registered client only if ARP termination is enabled on a BD. ARP termination is not enabled on BDs by default. Hope this helps, John -----Original Message----- From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Raj Sent: Thursday, April 18, 2019 9:38 AM To: vpp-dev <vpp-dev@lists.fd.io> Subject: [vpp-dev] Using wildcard-ip4-arp-publisher-process 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 `wc_arp_set_publisher_node` function was getting invoked, as it should. But the node was not reporting any ARP events to the client. Looking through the code, the main function in the node, `wc_arp_process (vlib_main_t vm, vlib_node_runtime_t rt, vlib_frame_t * f)` is not getting invoked. I also registered another client, using `vpp.api.want_ip4_arp_events` but using a valid IP addres as IP address in argument. Here I'm able to get the ARP events in the client process from ip-route-resolver-process, as expected. I just need to figure out why wildcard-ip4-arp-publisher-process is not reporting ARP events, though ip-route-resolver-process is doing so. Thanks and Regards, Raj
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12815): https://lists.fd.io/g/vpp-dev/message/12815 Mute This Topic: https://lists.fd.io/mt/31223473/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-