Convert MAC address to IP

Solved
senalia Posted messages 21 Status Member -  
 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 answers

  • 1
  • 2
  1. brupala Posted messages 111151 Registration date   Status Member Last intervention   14 450
     
    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
    1. cHOCho49 Posted messages 1257 Status Member 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
    2. brupala Posted messages 111151 Registration date   Status Member Last intervention   14 450
       
      Hi,
      chocho,
      Two cents question:
      how do you use RARP?
      Just for laughs...
      1
  • 1
  • 2