MAC address -> IP address

Howell

Storage? I am Storage!
Joined
Feb 24, 2003
Messages
4,740
Location
Chattanooga, TN
I'm running a 15mi/min and can't think straight. What is the proper NT command to use to find the current IP address of a certain MAC address?
 

Howell

Storage? I am Storage!
Joined
Feb 24, 2003
Messages
4,740
Location
Chattanooga, TN
honold said:
ping the ip, then run arp -a

That would be a good solution except that I'm trying "to find the current IP address of a certain MAC address". I know the MAC not the IP.
 

honold

Storage is cool
Joined
Nov 14, 2002
Messages
764
unfortunately windows doesn't ship with rarp

easiest way to do it is with a ping scan of your entire network (something like nmap will do) and then look in the arp -a table - or find a proper rarp app
 

Howell

Storage? I am Storage!
Joined
Feb 24, 2003
Messages
4,740
Location
Chattanooga, TN
Thanks honold. I thought it was the rarp command but I couldn't find it. I wonder what I was on when I used it before. Also, I discovered that for rarp to work you have to have a rarp server running on the segment.

For future reference, based on your techincal explaination I ran:

FOR /L %A in (1,1,255) DO PING -n 1 A.B.C.%A
arp -a |FIND /I "xx-xx"
 

Handruin

Administrator
Joined
Jan 13, 2002
Messages
13,879
Location
USA
Wouldn't the ipconfig /all do the trick? (if you're on the system with the NIC) This would list your adapaters and MAC's along with the IP associated with each...
 
Top