[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 995
  • Last Modified:

Resolving mac address to IP or Computer Name

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
Josef Al-Chacar
Asked:
Josef Al-Chacar
  • 3
  • 2
  • 2
  • +5
1 Solution
 
AriMcCommented:
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
 
SEASONEDSOLDERCommented:
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
 
☠ MASQ ☠Commented:
Using the Address Resolution Protocol might help

Try
arp -a
at a command prompt

See if that's close to what you need
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
speshalystCommented:
0
 
topdavisCommented:
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
 
Josef Al-ChacarAuthor Commented:
I will give these a shot.

We have Alcatel switches by the way. Garbage
0
 
Guillermo FeijóoSystems administratorCommented:
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
 
Craig BeckCommented:
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
 
Josef Al-ChacarAuthor Commented:
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
 
Craig BeckCommented:
Sometimes the boring way is the best! :-)
0
 
AriMcCommented:
Checking the DHCP won't reveal MACs of any fixed IP-addresses though.

0
 
Josef Al-ChacarAuthor Commented:
Thanks a lot
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

  • 3
  • 2
  • 2
  • +5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now