Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question already has an answer here:

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?

share|improve this question
    
yep ... quintessence: there is no way to do it without doing the reverse. –  Florian Feb 8 '13 at 20:44
    
It is a duplicate. Sorry, I didn't find it by searching. –  BGM Feb 8 '13 at 20:54
    
arp -a | find "<MAC address>" –  STTR Feb 8 '13 at 22:07
add comment

marked as duplicate by Michael Hampton, CharlieRB, slhck Feb 8 '13 at 21:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

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.

share|improve this answer
    
It won't work if the device has no IP address assigned. –  vonbrand Feb 8 '13 at 21:08
    
@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. –  nerdwaller Feb 8 '13 at 21:23
    
Yes 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? –  camelbrush Feb 8 '13 at 21:25
    
@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'. –  Darth Android Feb 8 '13 at 22:20
    
Sorry 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. –  BGM Feb 9 '13 at 1:35
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.