Solved

Resolving mac address to IP or Computer Name

Posted on 2011-03-08
12
990 Views
Last Modified: 2012-05-11
I am trying to find a way to resolve MAC address to ip address (or to Computer Name) on my enterprise network running windows server 2003 and XP.

I have a bunch of mac addresses from one of our switches but no IP's or computer name.

Is there a command or tool that will do this?

I already know how to resolve IP to MAC but not the other way around.
0
Comment
Question by:Josef Al-Chacar
  • 3
  • 2
  • 2
  • +5
12 Comments
 
LVL 9

Expert Comment

by:AriMc
ID: 35074024
Command:

   arp -a

lists the IP/ARP correlation table currently in the computer's arp-cache. Try that first and then you could try pinging all IP's and then doing "arp -p".

0
 
LVL 1

Expert Comment

by:SEASONEDSOLDER
ID: 35074030
Instead of attempting to manually resolve, just login directly into the switch. You should see somewhere within your management interface depending upon the type of switch, a listing of IP's and MAC addresses associated with the IPs.
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 35074034
Using the Address Resolution Protocol might help

Try
arp -a
at a command prompt

See if that's close to what you need
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 16

Expert Comment

by:speshalyst
ID: 35074084
0
 
LVL 3

Expert Comment

by:topdavis
ID: 35074246
If you are running Cisco switches you can find out the ip address if you know the mac

show arp | include <mac-address in xxxx.yyyy.zzzz format>

You can also do a partial mac in the command as well and it will return the corresponding ip/mac relationships.

If you do this on a regular basis or need to, there is a tool by ManageEngine which will do switch port mapping for you.  It will tie the ip address, mac address, and tell you what port the device is plugged into.
www.deviceexpert.com
0
 
LVL 3

Author Comment

by:Josef Al-Chacar
ID: 35077207
I will give these a shot.

We have Alcatel switches by the way. Garbage
0
 
LVL 3

Expert Comment

by:Guillermin-go
ID: 35081473
Hi:

       If you have DHCP servers.
   
Doing a "netsh dhcp server dump >***\dhcpDump.txt" may help. There you have all the address leases and reservations with their mac address.
0
 
LVL 46

Accepted Solution

by:
Craig Beck earned 125 total points
ID: 35084096
Just check the DHCP server (assuming its done on the 2k3 box).
The MAC is the Unique ID, and the IP address will be listed next to it.
Either do it in the console, or just export the list and use Notepad to search through the results.
0
 
LVL 3

Author Comment

by:Josef Al-Chacar
ID: 35084307
Yeah that's what we ended up doing. I knew about exporting the list in DHCP but that wasn't what they wanted until i showed them it was the easiest way to do it.

Thank You
0
 
LVL 46

Expert Comment

by:Craig Beck
ID: 35084469
Sometimes the boring way is the best! :-)
0
 
LVL 9

Expert Comment

by:AriMc
ID: 35085417
Checking the DHCP won't reveal MACs of any fixed IP-addresses though.

0
 
LVL 3

Author Closing Comment

by:Josef Al-Chacar
ID: 35098240
Thanks a lot
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Learn about cloud computing and its benefits for small business owners.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question