title: How to get Mac address of ipv6 address?
body: <p>Hi I have written one TCP server which runs on IPv6 address. What server does is accepting the client connection from various machines in the same subnet and categorize the clients based on their mac address.</p>
  
  <p>For Ex:
  Client A and B are from the same machine and Client C is from another machine. When client A, B and C connected to server then server shows client A and B are from same machine and Client C is from another machine.</p>
  
  <p>To achieve this I have to get the mac address from client ipv6 address.</p>
  
  <p>In ipv4 addresses I can achieve this using 
      ioctl(mac_arp_sock, SIOCGARP, &amp;areq);</p>
  
  <p>as ARP doest not work in IPv6 what is the best way to retrieve the mac address of peer machine just by knowing peer IPv6 address ?</p>