Implementation of Address Resolution Protocol (ARP) in Java : ARP basically maps IP address with the MAC address or hardware address.I need to prepare a software which first asks for the Source and Destination IP address, then for the successful data transfer the software searches the corresponding MAC address of the destination in the cache. If it founds, it returns the MAC address to sender but if it doesn't then it broadcast the IP address on the LAN. The matching IP address machine replies directly to the sender. In this way it works. For broadcasting, the software call functions or procedures (which act as machines in the LAN) and sends ARP request in a particular format.
So i need to maintain cache for every machine in LAN, send and receive ARP request in ARP format and display reports in the end. There are few more smaller functionalities like timer which also needs to be implemented.
And finally it is like a conformance testing software, the software compares the output received by ARP reply (MAC address of Destination) with the expected output which is already known to software (hard coded in software). If the expected and observed responses are same then it would be assumed that the developed would be capable of testing the ARP protocol in any devices like router, switches or even in LAN.
This is just an brief idea, i will send you the detailed specification if required