Hi Jinlei, Thank you for the info. I have updated the UT to reflect this and the problem was seen. I have fixed the issue and updated the patch.
/neale From: Jerry Li <[email protected]> Date: Wednesday 23 September 2020 at 17:42 To: "Neale Ranns (nranns)" <[email protected]> Cc: "[email protected]" <[email protected]> Subject: Re:Re: [vpp-dev] The gratuitous ARP issue Hi neale, I think you should first add the ip neigbor entry to pg2 first, and then send garp to pg1 with mac of pg2 remote host. Otherwise I think the enty will not be generated by garp it self. Regards Jinlei At 2020-09-23 19:28:36, "Neale Ranns via lists.fd.io" <[email protected]> wrote: Hi Jinlei, I created this UT case: https://gerrit.fd.io/r/c/vpp/+/29035 which IIUC re-creates your setup. But, as I would expect, the GARPs are dropped because the IP subnet is not on link. Please verify if it matches your setup. /neale From: Jerry Li <[email protected]> Date: Tuesday 22 September 2020 at 04:02 To: "Neale Ranns (nranns)" <[email protected]> Cc: "[email protected]" <[email protected]> Subject: Re:Re: [vpp-dev] The gratuitous ARP issue Hi neale, Thanks for your reply. Attached the pcaps file for my test. I tried to set the Opcode of arp packet as request(1) or reply(2), both the same occurs on vpp. Regards Jinlei. At 2020-09-21 22:39:46, "Neale Ranns via lists.fd.io" <[email protected]> wrote: Hi Jinlei, Could you please send me a pcap capture of the grat-arp that VPP receives. Then I can duplicate the case in the UT. Thanks, neale From: <[email protected]> on behalf of Jinlei Li <[email protected]> Date: Saturday 19 September 2020 at 11:56 To: "[email protected]" <[email protected]> Subject: [vpp-dev] The gratuitous ARP issue Hi guys, During my test environment, I have two physical interfaces in the same broadcast domain, and they are configured with IPs of different subnet. [cid:[email protected]] I tried to ping 10.161.26.23 first, and I can see its’s mac address by “show ip neighbor” [cid:[email protected]] But if 10.161.26.23 send a gratuitous ARP broadcast, the other interface can also see this item(like the following picture). I think this is not expected, and I tried same scenario on linux, this arp item will not be seen on another interface. [cid:[email protected]] I find This problem occurs on both v20.01 and v20.05. Can any one help to check this issue? Regards Jinlei
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17501): https://lists.fd.io/g/vpp-dev/message/17501 Mute This Topic: https://lists.fd.io/mt/76951004/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
