Hi, all:
However, you have to take into account that your knowledge about MAC addressess is reduced to your LAN. If you do ARP of an IP address farther than your nearest router you will receive the MAC address of this router one. Greetings, Emilio Herraiz Herraiz Consultor Telefónica Soluciones Sor Ángela de la Cruz, 2, 8ª Planta - Madrid Tlfno: (34) 91-312.53.36 Móvil: (34) 620-83.65.26 "Dana Epp" <[EMAIL PROTECTED] Para: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > cc: Asunto: Re: Getting an IP address from a MAC address 02/07/2003 19:06 Have you considered using arp and simply checking your arp tables? If you are on the same net, you can do a single ping to the broadcast to get every card to respond, and then do something like: arp -a | grep <mac> Where <mac> is the MAC addr you are looking for. Note that on windows each octet is separated by a dash, and on most unix' its a colon. ie (using an example of a 192.168.1.0 class C block): Windows: ping -n 1 192.168.1.255 arp -a | grep 00-00-00-00-00-00 Unix: ping -c 1 192.168.1.255 arp -a | grep 00:00:00:00:00:00 You might want to put a delay/sleep in there after the ping to give the network chatter enough time to respond. Otherwise that will do what you want. Good luck. --- Regards, Dana M. Epp ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 30, 2003 10:54 PM Subject: Getting an IP address from a MAC address > Hi all, > > I was wondering if anyone knows of a tool which can determine an IP address > from a MAC address??? > I have found plenty of tools which will work the other way, but nothing for > what I am after. > > Thanks in advance > Steven P > > > -------------------------------------------------------------------------- - > Evaluating SSL VPNs' Consider NEOTERIS, chosen as leader by top analysts! > The Gartner Group just put Neoteris in the top of its Magic Quadrant, > while InStat has confirmed Neoteris as the leader in marketshare. > > Find out why, and see how you can get plug-n-play secure remote access in > about an hour, with no client, server changes, or ongoing maintenance. > > Visit us at: http://www.neoteris.com/promos/sf-6-9.htm > -------------------------------------------------------------------------- -- > --------------------------------------------------------------------------- Evaluating SSL VPNs' Consider NEOTERIS, chosen as leader by top analysts! The Gartner Group just put Neoteris in the top of its Magic Quadrant, while InStat has confirmed Neoteris as the leader in marketshare. Find out why, and see how you can get plug-n-play secure remote access in about an hour, with no client, server changes, or ongoing maintenance. Visit us at: http://www.neoteris.com/promos/sf-6-9.htm ---------------------------------------------------------------------------- --------------------------------------------------------------------------- Evaluating SSL VPNs' Consider NEOTERIS, chosen as leader by top analysts! The Gartner Group just put Neoteris in the top of its Magic Quadrant, while InStat has confirmed Neoteris as the leader in marketshare. Find out why, and see how you can get plug-n-play secure remote access in about an hour, with no client, server changes, or ongoing maintenance. Visit us at: http://www.neoteris.com/promos/sf-6-9.htm ----------------------------------------------------------------------------