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 <liefeng...@163.com>
Date: Wednesday 23 September 2020 at 17:42
To: "Neale Ranns (nranns)" <nra...@cisco.com>
Cc: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
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" 
<nranns=cisco....@lists.fd.io> 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 <liefeng...@163.com>
Date: Tuesday 22 September 2020 at 04:02
To: "Neale Ranns (nranns)" <nra...@cisco.com>
Cc: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
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" 
<nranns=cisco....@lists.fd.io> 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: <vpp-dev@lists.fd.io> on behalf of Jinlei Li <liefeng...@163.com>
Date: Saturday 19 September 2020 at 11:56
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
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:image001.png@01D69294.4EB10F10]
I tried to ping 10.161.26.23 first, and I can see its’s mac address by “show ip 
neighbor”
 [cid:image002.png@01D69294.4EB10F10]
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:image003.png@01D69294.4EB10F10]
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: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to