N
N
NortherFox2014-01-17 14:39:34
Computer networks
NortherFox, 2014-01-17 14:39:34

How to find out ip by mac address?

There is a set of mac-addresses of a certain number of PCs, how can you find out their IP-addresses under Windows or Linux if there has never been a connection with these computers and arp is empty?

ps You can offer an option for both Linux and Windows, both OSes are at hand

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
sublime, 2014-01-30
@NortherFox

You can try like this (for Windows, in the console)
Start a ping to the broadcast address of your network.
For example, if your network is 192.168.0.0 with a mask of 255.255.255.0, then your address will be 192.168.0.1-254, and the most recent broadcast address is 192.168.0.255. That's it you need to ping, then give the command
arp -a
You will see all the ip addresses on your network with their poppies. Well, you'll find what you need there.

A
Alexander Afanasiev, 2014-12-04
@XanderEVG

well, just what would I write:
In Windows (no need to install additional utilities)
find out poppy by ip: nbtstat -A 172.28.22.190
find out ip by poppy: arp -a | grep 00-11-22-33-44-55 //of course, limited to one network.

N
Nikolai Vasilchuk, 2014-01-17
@Anonym

Another option is to ping all addresses on the network (something like nmap -sP 192.168.1.1-254), and thenarp -an | grep %MAC%

A
Andrew, 2014-01-17
@OLS

If there has never been a connection to these computers and arp is empty, then scan your local network with the simplest icmp ping, for example nmap; and for 15 minutes in your ARP table will be fun and cheerful.

D
Dandrontiy Kormenstein, 2021-01-09
@Dandrontiy

For Windows, you need to make the bat file name whatever you like. For example ping-by-mac.bat

@echo off
if "%1" == "" echo no MAC address & exit /b 1
for /L %%a in (1,1,254) do @start /b ping 192.168.31.%%a -n 2 > nul
ping 127.0.0.1 -n 3 > nul
arp -a | find /i "%1"

Then run this bat file with the
ping-by-mac.bat X1-X2-X3-X4-X5-X6
All parameter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question