Convert MAC address to IP

Solved
senalia Posted messages 21 Status Membre -  
 Jacques -
Hello everyone,
I wanted to know if anyone knows how to convert a MAC address to an IP address???
Thank you in advance

22 réponses

  • 1
  • 2
brupala Posted messages 111964 Registration date   Status Membre Last intervention   14 421
 
Well yes,
it's called ARP (Address Resolution Protocol):
see the message above: the command arp -a
the ARP table is the mapping table between MAC addresses and IP addresses.
It is constantly refreshed.
It is essential in IPv4.
Useless in IPv6 (replaced by something else: neighbor discovery)
http://www.commentcamarche.net/internet/arp.php3
--
and ... There you go!
9
cHOCho49 Posted messages 1257 Status Membre 169
 
EXCEPT that what is requested above is the IP address knowing the MAC address. However, the ARP request is used to find a MAC address with an IP address. It's the opposite that needs to be done! (using RARP for example, but never used)
1
brupala Posted messages 111964 Registration date   Status Membre Last intervention   14 421
 
Hi,
chocho,
Two cents question:
how do you use RARP?
Just for laughs...
1
  • 1
  • 2