0
0
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?
0
0
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?
2
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.
It won't work if the device has no IP address assigned. – vonbrand – 2013-02-08T21:08:45.013
@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 – 2013-02-08T21:23:56.900
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 – 2013-02-08T21:25:02.730
@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 – 2013-02-08T22:20:30.880
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. – bgmCoder – 2013-02-09T01:35:48.493
yep ... quintessence: there is no way to do it without doing the reverse. – fho – 2013-02-08T20:44:18.030
It is a duplicate. Sorry, I didn't find it by searching. – bgmCoder – 2013-02-08T20:54:37.720
arp -a | find "<MAC address>" – STTR – 2013-02-08T22:07:14.623