We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Rarp Utility

v-patcaf
v-patcaf asked
on
Medium Priority
4,035 Views
Last Modified: 2013-12-23
Is there a utility for NT/win95 that given a MAC address, will return the ip address??
Comment
Watch Question

Author

Commented:
Adjusted points to 150

Author

Commented:
Adjusted points to 195

Commented:
Let me know if you find one!
rasta11@voicenet.com

Commented:
If you're using DHCP, you can look it up in the active leases - double click on the ip number.

Failing that from the command line type:

ping 192.168.1.4   (Or whatever number you're intersted in)

This will fore an ARP resolution
and then use

arp -a 192.168.1.4   (Or the adress you want)

To display the ARP table

This could easily be turned into a script
or even a GUI tool - Mail me if you would like me to write you one.

Author

Commented:
I understand this answer, but it requires that the ip address be known ahead of time.  I want to be able to find the ip address using the MAC address only

Commented:
OK, I read the question around the wrong way.

Are you looking for a RARP server, which is basically supplies an IP number from a MAC->IP number table set up manually, or are
you looking for a diagnostic tool to determine the IP number of a known ethernet card.

If it's the second case, then I could write you a script along the lines of the example I gave you before, simply by forcing resolution of a range of IP numbers, and then looking at the ARP table to see which one matches the MAC address.
Commented:
If the networkcard in question is NOT in the same subnet it is impossible. The IP-address is used to decide where the packets should be forwarded to.
If it is on the same subnet and you get packets from that networkcard you can isolate the IP-address by looking inside the packet. But the easiest way is the one suggested by bcook: Ping all IP-adresses in your subnet and create a list.

Again: You can not ping a MAC address. Therefor it is not possible to build this tool you want to have.

BTW: For what reason do you want it?

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Just 'ping' the network broadcast address (xxx.xxx.xxx.255 on a class C net), then type "arp -a". This will give you a list of all the IP addresses that responded, along with their MAC address.

You could redirect this to a file and use an editor to sort, search, etc. I do this all the time when someone assigns a duplicate IP address to a system on my net.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.