Wednesday, May 17, 2017

Scan Raspberry Pi IP address from network neighbor computer, by MAC

Raspberry Pi Foundation has their own range of MAC addresses B8-27-EB-00-00-00 to B8-27-EB-FF-FF-FF. You can check it at http://hwaddress.com/company/raspberry-pi-foundation



Such that we can scan neighbor with MAC address start with B8-27-EB, using arp command.

arp (stands for Address Resolution Protocol) is used to find the address of a network neighbor for a given IPv4 address.

From Linux Terminal:
$ arp -a | grep b8:27:eb

or from Windows DOS prompt (Now you can run most Linux command on Bash on Windows directly)
> arp -a | grep b8-27-eb

In the result, 192.168.1.9 is the IP address of my Raspberry Pi.




No comments: