How to get the IP address using MAC

It happens alot that you have an IP device (ATA, door phone, …) and you don’t know the IP address. One easy way is to use nmap.

run this command (on linux of course):

$ nmap -sP <ip range>

eg: nmap -sP 192.168.1.2-50

make sure you run this as root otherwise it will show only ip address without the MAC

you can also save the output into a txt file this way:

eg: nmap -sP 192.168.1.2-50

You can also try using scanssh (next post will cover this)

You may also like