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?

bgmCoder
  • 1,909
  • 4
  • 34
  • 50

1 Answers1

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.

camelbrush
  • 141
  • 4
  • It won't work if the device has no IP address assigned. – vonbrand Feb 08 '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 08 '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 08 '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 08 '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. – bgmCoder Feb 09 '13 at 01:35