[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 997
  • 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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
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-ChacarSystems AdministratorAuthor 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-ChacarSystems AdministratorAuthor 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-ChacarSystems AdministratorAuthor Commented:
Thanks a lot
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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