![]() ![]() ![]() The easy answer is "promiscuously listen to traffic and see what the source IP address is on packets that match the MAC address you are interested in (important safety tip: on 802.* frames, the destination MAC address is sent first, for reasons beyond the scope of this posting). Let me rephrase your question: absent any other IP traffic on the network, and knowing the MAC address of another device, how can you find its IP address? The reason you can see the arp cache (the mapping between IP and MAC addresses) on your RPi or any other computer is that they've presumably been on for a while, have heard ARP responses from other machines on the network, and have cached them. This is a general networking question, not limited to any microcontroller.
0 Comments
Leave a Reply. |