Hi Sastry,

As Alex alluded to, the ping code:
  
https://github.com/FDio/vpp/blob/ff2e4138cc020dea4ab0f21f1b172b28f5ed3565/src/plugins/ping/ping.c#L877
uses the FIB to perform the lookup on the destination, it does not consult the 
neighbour table. The entries in the neighbour table may have contributed to the 
results that you see in the FIB, depending on whether or not the interface’s 
subnet matches the ARP entry.
/neale

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of Sastry Sista via 
lists.fd.io <sastry.sista=gmail....@lists.fd.io>
Date: Tuesday, 29 June 2021 at 12:13
To: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] #vpp-dev : How does the ping works from vppctl when we 
have 2 entries for the same Dest Addr with different sw_if_index
Hi,
             Show ip fib gives may be giving interface and we do search based 
on interface on ip neighbor table?

When we have 2 entries in ip neighbor table, how does it work. This is infact a 
bug which got fixed with gratuitous ARP.

Could you please let me know the code where exactly looking neighbor table. 
like ip_neighbor_table()?

With Regards
Sastry
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19647): https://lists.fd.io/g/vpp-dev/message/19647
Mute This Topic: https://lists.fd.io/mt/83818702/21656
Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev
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