How to get an IP address from a MAC address?
I think you should try arp -a
and it will list out a table with ip address and their matched up MAC Ids. This may not work depending on how your lan is setup.
Related videos on Youtube
bgmCoder
Salve! I am a Catholic Religious Brother, and all of my work is for the benefit of our chapels, faithful and priests. Besides my prayers and religious life, much of my practical work is involved in IT. I don't have any income, and have the vows of Poverty, Chastity and Obedience. Please visit our website if you are interested or curious! If you would like to contact me, please use my personal webform. Since you've read all this, if you want to know more, you can read this tidbit; and there is a photo here (that's me in the front).
Updated on September 18, 2022Comments
-
bgmCoder over 1 year
I have an ipscanner, but not every device is showing up.
If I know a device is on the LAN, and I know its MAC address, how can I get it's IP address?
-
fho about 11 yearsyep ... quintessence: there is no way to do it without doing the reverse.
-
bgmCoder about 11 yearsIt is a duplicate. Sorry, I didn't find it by searching.
-
-
vonbrand about 11 yearsIt won't work if the device has no IP address assigned.
-
nerdwaller about 11 years@vonbrand - which is a suitable result since the OP is looking for IPs associated, if none then it's outside the range of the question.
-
camelbrush about 11 yearsYes I agree with @vonbrand. But since he says the device is on the lan meaning I assume it can communicated over lan implying it has an IP address! or can there be a case where a device does not have an IP address and yet communicated on the network?
-
user1984103 about 11 years@camelbrush Of course! There are a number of ethernet protocols which don't use IPs at all. They're not widely used anymore though, and they come from an era of private networking protocols before the Internet was really a 'thing'.
-
bgmCoder about 11 yearsSorry so long to answer... the device is on the LAN (it is an important switch - a Dell PowerConnect 3548), but the
arp -a
command does not display an IP address for it, and so I can't access it's html interface. I have a similar device of the same model that does have an IP address. Using SoftPerfect NetScan, I can't see it's mac address in the list. But I know the mac address from the back of the switch.