Hello Programmers, I need to deliver the below specifications. But i'm not sure how am i gonna achieve arp with Arduino. Any advice?
The Arduino Ethernet Shield 2 with Wiznet W5500 chip will be used to sniff the Ethernet network. The Address Resolution Protocol (ARP) will be implemented using the w5100.h library. Arduino will scan all the available Ethernet devices on a network. The network health findings will be automatically updated on the Node-Red UI Dashboard (a web-based application). The results will provide the MAC addresses, IP addresses, and host names of all available devices. The Dashboard will display a list of al consumed IP addresses. The list of the recently dropped devices will be displayed, and the history will be saved for five days. If the dropped device is not restored within 5 days, the device's IP address will be considered free to use. Many variables contribute to excessive latency, including distance, cable routing, and poor RJ45 terminations, to name a few. Latency will be used as a key parameter/variable in estimating maintenance for control system devices connected via Ethernet. The maintenance decision will be made based on the conditions listed below.
Condition 1: Arduino will continuously Ping the entire range of the specified subnet group from 1 to 255. Each Address will be queried ten times, if the response is below 30% (i,e. The device only responded 3 times on 10 queries) and this happens consistently, as this will be indicating an issue with the Network Card, broken cable, or the device itself.
Condition 2: If the ping response time is consistently more than 650 milliseconds. This suggests that the device is polling slowly, which could be due to network traffic, a loose cable on either end, or the faulty Network Card. This behaviour will indicate that the devices are dropping packets during transmission.