The response will come from the unicast IP address, and you'll now know it. Otherwise, hand-craft an all-hosts-this-subnet (255.255.255.255) broadcast ICMP ECHO packet and send it to the unicast MAC address of the machine you are interested in. 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). Scroll down and tap About Tablet then tap Hardware Info or Wi-Fi Settings and then scroll down to view WiFi Mac address. You probably want to disable name resolution to see the actual values instead of the resolved OUIs or domain names. 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? 3 Answers: 4 As hangsanb alluded to, you can use Wiresharks Statistics -> Endpoints, then choose the Ethernet tab for a list of unique MAC addresses, and choose the IPv4 (or IPv6) tab for the list of unique IP addresses. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |