-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The unicast arp request won't get up to CPU #76
Comments
Thanks for submitting the issue. I doubt if the switch will automatically dropping the ARP packets. Here is the file that we use to configure the ARP traps. Could you confirm that the rules are being applied? I will check the Broadcom's register to see if after applying the rules, the corresponding registers are correctly configured. |
I've checked the rules in DB:
|
@stcheng Hi ,are you still looking at this problem? |
@roooockwell on our side, we cannot reproduce your issue. could you provide the information about your platform? also could you check the Broadcom FieldProcessor to see if there are field entries matching EtherType 0x0806? There should be two entries: ARP_REQUEST and ARP_RESPONSE. |
I use arping on the DUT and I could get ARP reply with destination MAC is my DUT.
|
Hi stcheng, regards, |
I see. My second entry was a unicast ARP reply. I will check unicast ARP request. |
LDAP Name Service
Hi,

I'm gongjian.
I‘m working on arp of sonic recently. I came across a problem as follows.
Here is the topo: SwitchA-----SwitchB.
It is known that kernel arp will send unicast arp request periodly to confirm the reachability of the neighbor.
I found that when SwitchB received the unicast arp request from SwitchA , the chip will drop them instead of sending them to CPU, which leads to the arp state machine of SwitchA change the state of the neigh from NUD_PROBE to NUD_FAILED.
The attached picture shows the unicast arp request SwitchA send to SwitchB.
I think it's abnormal since the arp entry turns to FAILED when it is still reachable.
ps: I also found a method to resolve this problem.
bcmcmd 's PROTOCOL_PKT_CONTROL(0) 16'
After I set this register. all the arp packet will go to CPU.
pps: I'm using the commit of the sonic_buildimage:
b097492b8fd15c4b9eb67b1046a1d31f8d687a34 [thrift]: Disable auto test in the package build (#545).
I'm using the commit of sonic-swss:
2f594c75036dfd41b6b40dd5b92f4fda7ebb7a68 [aclorch]: Temporarily disable ACL thread of collecting counters (#202)
The text was updated successfully, but these errors were encountered: