Link to home
Start Free TrialLog in
Avatar of v-patcaf
v-patcaf

asked on

Rarp Utility

Is there a utility for NT/win95 that given a MAC address, will return the ip address??
Avatar of v-patcaf
v-patcaf

ASKER

Adjusted points to 150
Adjusted points to 195
Let me know if you find one!
rasta11@voicenet.com
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.
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
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.
ASKER CERTIFIED SOLUTION
Avatar of cer
cer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.