HedongGao opened a new pull request, #17656:
URL: https://github.com/apache/nuttx/pull/17656

   ## Summary
   Nuttx use IFF_NOARP as a packet config, this is illogical and no longer in 
line with user habits.
   Referring to the ARP configuration method of Linux, Nuttx has added the 
ability to configure ARP on interface.
   
   ## Impact
   
   Referring to the custom of configuring ARP on Linux interfaces, the 'arp/- 
app' parameter has been added to the ifconfig command. By default, the 
interface supports ARP functionality.
   When the ARP function of an interface is turned off, the net stack will 
discard ARP messages received from that interface, and the protocol stack will 
not send messages to the outside through that interface.
   
   
   ## Testing
   
   When compiling nuttx, open the ping tool for functional testing.
   
   Set up a SIM environment,  sim and host can ping each other successfully.
   After using the command 'ifconfig eth0 -arp', the ping between sim and host 
failed. The packet capture shows that sim cannot process APR request messages 
or send ARP request messages.
   Then use 'ifconfig eth0 arp' to enable arp fuction for eth0, sim and host 
can ping each other again.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to